Add physical lot + Link

This commit is contained in:
2026-06-22 16:00:55 +02:00
parent a880535bc4
commit 95dba725a8

View File

@@ -1,32 +1,65 @@
<form col="4"> <form col="12"
<label name="quantity"/> col_widths="1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr">
<field name="quantity"/>
<label name="unit"/>
<field name="unit"/>
<newline/>
<label name="unlink_remainder"/>
<field name="unlink_remainder"/>
<newline/>
<field name="transport_missing" invisible="1"/> <field name="transport_missing" invisible="1"/>
<label name="create_new_shipment"/>
<field name="create_new_shipment"/> <group id="physical_lot_summary" colspan="12" col="6"
<label name="shipment_supplier"/> panel="summary" xalign="0" yalign="0"
<field name="shipment_supplier"/> col_widths="min-content,160px,min-content,140px,min-content,60px">
<label name="transport_from_location"/> <label name="quantity"/>
<field name="transport_from_location"/> <field name="quantity"/>
<label name="transport_to_location"/> <label name="unit"/>
<field name="transport_to_location"/> <field name="unit"/>
<label name="shipment_bl_number"/> <label name="unlink_remainder"/>
<field name="shipment_bl_number"/> <field name="unlink_remainder"/>
<label name="shipment_bl_date"/> </group>
<field name="shipment_bl_date"/>
<label name="shipment_in"/> <group id="physical_lot_transport" string="Transport"
<field name="shipment_in"/> colspan="12" col="1" panel="card" icon="tryton-link"
<label name="shipment_internal"/> xalign="0" yalign="0" col_widths="1fr">
<field name="shipment_internal"/> <group id="physical_lot_transport_choice" colspan="1" col="4"
<label name="shipment_out"/> xalign="0" yalign="0"
<field name="shipment_out"/> col_widths="min-content,1fr,min-content,180px">
<newline/> <label name="shipment_in"/>
<label name="lots"/> <field name="shipment_in"/>
<field name="lots" mode="tree" view_ids="purchase_trade.lot_view_tree_sequence5" colspan="4"/> <label name="create_new_shipment"/>
<field name="create_new_shipment"/>
</group>
<group id="physical_lot_transport_route" colspan="1" col="4"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<label name="transport_from_location"/>
<field name="transport_from_location"/>
<label name="transport_to_location"/>
<field name="transport_to_location"/>
</group>
<group id="physical_lot_transport_creation" colspan="1" col="6"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr,min-content,160px">
<label name="shipment_supplier"/>
<field name="shipment_supplier"/>
<label name="shipment_bl_number"/>
<field name="shipment_bl_number"/>
<label name="shipment_bl_date"/>
<field name="shipment_bl_date"/>
</group>
<group id="physical_lot_linked_transport" colspan="1" col="4"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<label name="shipment_internal"/>
<field name="shipment_internal"/>
<label name="shipment_out"/>
<field name="shipment_out"/>
</group>
</group>
<group id="physical_lot_lines" string="Physical lots"
colspan="12" col="1" panel="card" icon="tryton-archive"
xalign="0" yalign="0" col_widths="1fr">
<field name="lots" mode="tree"
view_ids="purchase_trade.lot_view_tree_sequence5"
colspan="1"/>
</group>
</form> </form>