summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-12 13:48:45 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-12 13:48:45 +0700
commit21d01b83204677e3cf8d355b6198290b6dbb9d52 (patch)
tree6bf82db66666a3ebe56db44326189c7ebfc47f77 /indoteknik_custom/views
parentb615e3bc69910a6a495a72dc49309a80295486a0 (diff)
parent8996a5b127f4bb3bf8926d23b3e79d25de8ddc76 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_renca_find
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/stock_picking.xml5
-rw-r--r--indoteknik_custom/views/tukar_guling.xml3
2 files changed, 7 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index e1d9bd1f..eeb78f3b 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -171,6 +171,7 @@
<field name="invoice_status"/>
<field name="is_bu_iu"/>
<field name="is_so_fiktif" readonly="1"/>
+ <field name="is_rev_tg" attrs="{'invisible': [('is_rev_tg', '=', False)]}" readonly="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 +357,10 @@
title="FIKTIF"
bg_color="bg-danger"
attrs="{'invisible': [('is_so_fiktif', '=', False)]}"/>
+ <widget name="web_ribbon"
+ title="Revisi SO"
+ bg_color="bg-danger"
+ attrs="{'invisible': [('is_rev_tg', '=', False)]}"/>
</xpath>
</field>
</record>
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index 9dd31905..8cfb5680 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -85,6 +85,7 @@
attrs="{'readonly': [('state', 'not in', 'draft')]}"/>
<!-- <field name="origin" readonly="1"/>-->
<field name="origin_so" readonly="1"/>
+ <field name="rev_tukar_guling" attrs="{'invisible': [('return_type', '!=', 'tukar_guling')]}"/>
<field name="is_has_invoice" readonly="1"/>
</group>
<group>
@@ -133,4 +134,4 @@
</field>
</record>
</data>
-</odoo> \ No newline at end of file
+</odoo>