summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/stock_picking.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 7748b652..5671c9f0 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -172,6 +172,7 @@
<field name="is_bu_iu"/>
<field name="is_so_fiktif" readonly="1"/>
<field name="is_rev_tg" invisible="1" />
+ <field name="tukar_guling_id" invisible="1" />
<field name="approval_status" attrs="{'invisible': [('is_bu_iu', '=', False)]}"/>
<field name="date_doc_kirim" attrs="{'readonly':[('invoice_status', '=', 'invoiced')]}"/>
<field name="summary_qty_operation"/>
@@ -360,11 +361,12 @@
<widget name="web_ribbon"
title="Administrasi"
bg_color="bg-danger"
- attrs="{'invisible': [('is_rev_tg', '=', False)]}"/>
+ attrs="{'invisible': ['|', ('tukar_guling_id','=',False), ('is_rev_tg','=', False)]}"/>
+
<widget name="web_ribbon"
title="Perlu Dikirim"
bg_color="bg-success"
- attrs="{'invisible': [('is_rev_tg', '=', True)]}"/>
+ attrs="{'invisible': ['|', ('tukar_guling_id','=',False), ('is_rev_tg','=', True)]}"/>
</xpath>
</field>
</record>