summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/stock_picking.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/stock_picking.xml')
-rw-r--r--indoteknik_custom/views/stock_picking.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index e1d9bd1f..1bb7174e 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -20,6 +20,8 @@
<field name="sj_return_date" optional="hide"/>
<field name="date_reserved" optional="hide"/>
<field name="state_reserve" optional="hide"/>
+ <field name="linked_out_picking_id" optional="hide"/>
+ <field name="linked_manual_bu_out" optional="hide"/>
<field name="state_packing" widget="badge" decoration-success="state_packing == 'packing_done'"
decoration-danger="state_packing == 'not_packing'" optional="hide"/>
<field name="final_seq"/>
@@ -171,6 +173,8 @@
<field name="invoice_status"/>
<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"/>
@@ -356,6 +360,27 @@
title="FIKTIF"
bg_color="bg-danger"
attrs="{'invisible': [('is_so_fiktif', '=', False)]}"/>
+ <widget name="web_ribbon"
+ title="Administrasi"
+ bg_color="bg-danger"
+ attrs="{
+ 'invisible': [
+ '|','|',
+ ('tukar_guling_id', '=', False),
+ ('is_rev_tg', '=', False),
+ ('picking_type_id', 'not in', [29, 30])
+ ]}"/>
+
+ <widget name="web_ribbon"
+ title="Perlu Dikirim"
+ bg_color="bg-success"
+ attrs="{
+ 'invisible': [
+ '|','|',
+ ('tukar_guling_id', '=', False),
+ ('is_rev_tg', '=', True),
+ ('picking_type_id', 'not in', [29, 30])
+ ]}"/>
</xpath>
</field>
</record>