Default From To

This commit is contained in:
2026-06-07 07:02:18 +02:00
parent 846c2d6a93
commit 24b4e00080
5 changed files with 76 additions and 17 deletions

View File

@@ -25,6 +25,8 @@
</field>
<field name="r_vessel" width="130" optional="1"/>
<field name="r_operator" width="130" optional="1"/>
<field name="r_bl_date" width="90" optional="1"/>
<field name="r_bl_number" width="110" optional="1"/>
<field name="r_shipping_status" widget="badge" string="Shipping status" badge_colors="shipped:#16a34a,unshipped:#ef4444,planned:#06b6d4,scheduled:#f59e0b" width="120"/>
<field name="r_lot_status"/>
<field name="r_lot_av" width="80" optional="1" tree_invisible="1"/>

View File

@@ -3,11 +3,13 @@
<label name="shipment"/>
<field name="shipment"/>
<label name="shipment_in"/>
<field name="shipment_in"/>
<field name="shipment_in" context="{'lot_shipping_planned_from_location': Eval('planned_from_location'), 'lot_shipping_planned_to_location': Eval('planned_to_location')}"/>
<label name="shipment_out"/>
<field name="shipment_out"/>
<label name="shipment_internal"/>
<field name="shipment_internal"/>
<field name="planned_from_location" invisible="1"/>
<field name="planned_to_location" invisible="1"/>
<label name="full"/>
<field name="full"/>
<label name="quantity"/>