summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-11 12:00:56 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-11 12:00:56 +0700
commitaded9892296ef3b4fd76b743081206eb89167857 (patch)
treeb22d3cd05acb1ede024329979a568fd9ed9b3fac /indoteknik_custom/views
parent506f561cbebcc4677b37aaba52493eb174bcfd30 (diff)
<Miqdad> req sgr bg denise
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/shipment_group.xml6
-rw-r--r--indoteknik_custom/views/stock_picking.xml1
2 files changed, 6 insertions, 1 deletions
diff --git a/indoteknik_custom/views/shipment_group.xml b/indoteknik_custom/views/shipment_group.xml
index c3f79bda..e348867c 100644
--- a/indoteknik_custom/views/shipment_group.xml
+++ b/indoteknik_custom/views/shipment_group.xml
@@ -7,6 +7,7 @@
<tree default_order="create_date desc">
<field name="number"/>
<field name="partner_id"/>
+ <field name="partner_ids" widget="many2many_tags" optional="hide"/>
<field name="carrier_id"/>
<field name="total_colly_line"/>
</tree>
@@ -42,9 +43,12 @@
<group>
<group>
<field name="number" readonly="1"/>
+ <field name="is_multi_partner" readonly="1"/>
</group>
<group>
- <field name="partner_id" readonly="1"/>
+ <field name="partner_id" readonly="1" attrs="{'invisible': [('is_multi_partner', '=', True)]}"/>
+ <field name="partner_ids" readonly="1" widget="many2many_tags" attrs="{'invisible': [('is_multi_partner', '=', False)]}"/>
+ <field name="driver" attrs="{'invisible': [('carrier_id', '!=', 1)]}"/>
<field name="carrier_id" readonly="1"/>
<field name="total_colly_line" readonly="1"/>
</group>
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 9aa0581c..9cd63e25 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -245,6 +245,7 @@
<field name="responsible"/>
<field name="carrier_id"
attrs="{'invisible': [('select_shipping_option_so', '=', 'biteship')]}"/>
+ <field name="shipment_group_id"/>
<field name="biteship_id" invisible="1"/>
<field name="out_code" attrs="{'invisible': [['out_code', '=', False]]}"/>
<field name="picking_code" attrs="{'invisible': [['picking_code', '=', False]]}"/>