diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-22 13:37:48 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-22 13:37:48 +0700 |
| commit | fe9056c55bc206a02e52b58baf1881271cf098f8 (patch) | |
| tree | 1f23143a23330d2c087e325cec0e46c5bd458b88 /fixco_custom/views/shipment_group.xml | |
| parent | 1f784b46500d347c6db76ef47161eac959243b1d (diff) | |
<Miqdad> count line in Shipment group
Diffstat (limited to 'fixco_custom/views/shipment_group.xml')
| -rw-r--r-- | fixco_custom/views/shipment_group.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/fixco_custom/views/shipment_group.xml b/fixco_custom/views/shipment_group.xml index 3edc432..4aae314 100644 --- a/fixco_custom/views/shipment_group.xml +++ b/fixco_custom/views/shipment_group.xml @@ -6,6 +6,7 @@ <field name="arch" type="xml"> <tree default_order="create_date desc"> <field name="number"/> + <field name="total_line" readonly="1"/> </tree> </field> </record> @@ -16,15 +17,15 @@ <field name="arch" type="xml"> <form> <header> - <button name="get_status" - string="Get Status" - type="object" - class="oe_highlight" + <button name="get_status" + string="Get Status" + type="object" + class="oe_highlight" /> - <button name="sync_product_to_picking_line" - string="Sync Picking Line" - type="object" - class="oe_highlight" + <button name="sync_product_to_picking_line" + string="Sync Picking Line" + type="object" + class="oe_highlight" /> </header> <sheet> @@ -38,6 +39,7 @@ <group> <group> <field name="number" readonly="1"/> + <field name="total_line" readonly="1"/> </group> </group> <notebook> @@ -51,7 +53,7 @@ <field name="order_reference" optional="hide"/> <field name="status"/> </tree> - </field> + </field> </page> <page string="Line"> <field name="shipment_line"> @@ -62,7 +64,7 @@ <field name="order_reference" optional="hide"/> <field name="picking_id"/> </tree> - </field> + </field> </page> </notebook> </sheet> @@ -83,7 +85,7 @@ <field name="receipt"/> </search> </field> - </record> + </record> <record id="shipment_group_action" model="ir.actions.act_window"> <field name="name">Shipment Group</field> |
