summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/tukar_guling_po.xml
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-31 09:51:55 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-31 09:51:55 +0700
commit145d15ceaf462f0b3533c441287a66410b7d12e6 (patch)
tree136490542c166282883533d59427a3afed094b0d /indoteknik_custom/views/tukar_guling_po.xml
parent60b037c72887d20e8cebd7f4a2439c546d16960b (diff)
parentd6bdde8fe63ff15ce8f3fee6bc5e8ae903fc78ce (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into reminder-tempo-v2
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">