diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-12 15:39:41 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-12 15:39:41 +0700 |
| commit | 0e3fb3afe5d7d73b2f5b55e51297f122c3dd6a39 (patch) | |
| tree | 7ae56ba9644279992ea98f4a654259e8d5f244f9 /indoteknik_custom/views/stock_picking.xml | |
| parent | d67b6738618cacc7d3cc8cf96736c8f709ed077a (diff) | |
<Miqdad> fix ccm
Diffstat (limited to 'indoteknik_custom/views/stock_picking.xml')
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 6 |
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> |
