summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-11-02 09:43:08 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-11-02 09:43:08 +0700
commit625f48b6a44e32a4881ed61c53ecf1f8a6b3ca87 (patch)
treec932a29d33d4ee39d6ef40d0f372e7e49a43ed9c /indoteknik_custom/views
parent6fdaee1c7b6557dc2e61ac7b5c1172d285ea7421 (diff)
Picking code will generate on validate (stock.picking)
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/stock_picking.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 3b150f34..d53bf5b5 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -65,7 +65,8 @@
<field name="driver_arrival_date"/>
<field name="delivery_tracking_no"/>
<field name="driver_id"/>
- <field name="picking_code"/>
+ <field name="picking_code" attrs="{'invisible': [['picking_code', '=', False]]}"/>
+ <field name="picking_code" string="Picking code (akan digenerate ketika sudah di-validate)" attrs="{'invisible': [['picking_code', '!=', False]]}"/>
</group>
</group>
</page>