summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-12 10:35:34 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-12 10:35:34 +0700
commit7d7dafff9996f7ed7de731a6c1498a5ff72ebb89 (patch)
treec7745b735fcdd4177193652a53f982aa4e9bf61b /indoteknik_custom/views
parentb0037dfee3eb9c9a03de185dde9e46df95ea3cb9 (diff)
<Miqdad> cr logistic delivery date and flag revisi SO tukar guling
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>