summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/tukar_guling_po.xml
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-30 11:23:02 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-30 11:23:02 +0700
commit6d5435fffa97486b78fd871ed3859acd45830793 (patch)
treeff2279f344f7e1c5b8f217dbfd3b24c865e11e43 /indoteknik_custom/views/tukar_guling_po.xml
parent55235e9521593311d4e0b4d5dc0e23d7563cf4ac (diff)
<miqdad> rev po done
Diffstat (limited to 'indoteknik_custom/views/tukar_guling_po.xml')
-rw-r--r--indoteknik_custom/views/tukar_guling_po.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml
index 26c0a0d4..accf7dbc 100644
--- a/indoteknik_custom/views/tukar_guling_po.xml
+++ b/indoteknik_custom/views/tukar_guling_po.xml
@@ -29,6 +29,7 @@
<field name="return_type" string="Return Type"/>
<field name="state" widget="badge"
decoration-info="state in ('draft', 'approval_purchase', 'approval_finance','approval_logistic')"
+ decoration-warning="state == 'approved'"
decoration-success="state == 'done'"
decoration-muted="state == 'cancel'"
/>
@@ -60,7 +61,7 @@
attrs="{'invisible': [('state', '!=', 'cancel')]}"
confirm="Are you sure you want to reset this record to draft?"/>
<field name="state" widget="statusbar" readonly="1"
- statusbar_visible="draft,approval_purchase,approval_logistic,approval_finance,done"/>
+ statusbar_visible="draft,approval_purchase,approval_logistic,approval_finance,approved,done"/>
</header>
<sheet>
<div class="oe_button_box">