summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/shipment_group.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-05-27 10:19:09 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-05-27 10:19:09 +0700
commitf0f414383b3bd34e6fce12e68e171014c08d2a55 (patch)
treef9eef4c1331f6507fadc680bdd801656ff9f8ea7 /indoteknik_custom/views/shipment_group.xml
parent431229f2a6f1203fbdfe470229e55da8ebd3ea01 (diff)
parentd3f530b94569059106164172485aaa9665e80709 (diff)
Merge branch 'odoo-backup' into CR/repeat-order
Diffstat (limited to 'indoteknik_custom/views/shipment_group.xml')
-rw-r--r--indoteknik_custom/views/shipment_group.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/indoteknik_custom/views/shipment_group.xml b/indoteknik_custom/views/shipment_group.xml
index e9eec41b..c3f79bda 100644
--- a/indoteknik_custom/views/shipment_group.xml
+++ b/indoteknik_custom/views/shipment_group.xml
@@ -7,6 +7,8 @@
<tree default_order="create_date desc">
<field name="number"/>
<field name="partner_id"/>
+ <field name="carrier_id"/>
+ <field name="total_colly_line"/>
</tree>
</field>
</record>
@@ -16,11 +18,10 @@
<field name="model">shipment.group.line</field>
<field name="arch" type="xml">
<tree editable="bottom">
- <field name="picking_id" required="1"/>
<field name="partner_id" readonly="1"/>
+ <field name="picking_id" required="1"/>
<field name="sale_id" readonly="1"/>
- <field name="shipping_paid_by" readonly="1"/>
- <field name="state" readonly="1"/>
+ <field name="total_colly" readonly="1"/>
</tree>
</field>
</record>
@@ -30,6 +31,13 @@
<field name="model">shipment.group</field>
<field name="arch" type="xml">
<form>
+ <header>
+ <button name="sync_api_shipping"
+ string="Sync API"
+ type="object"
+ attrs="{'invisible': [('carrier_id', 'not in', [151, 173])]}"
+ />
+ </header>
<sheet>
<group>
<group>
@@ -37,6 +45,8 @@
</group>
<group>
<field name="partner_id" readonly="1"/>
+ <field name="carrier_id" readonly="1"/>
+ <field name="total_colly_line" readonly="1"/>
</group>
</group>
<notebook>