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