summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-22 19:51:47 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-22 19:51:47 +0700
commit158c89a5048669f46d561aef3505042cc8c68a37 (patch)
tree3fc14c01db0efed6a32060c0ca4276432c0cf011 /indoteknik_custom/views
parent1de8ad79dd0f0832dd14de9c1d004884f153bec4 (diff)
<miqdad> change approval flow
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/tukar_guling.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index 6b3492ae..95f36090 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -28,12 +28,12 @@
<field name="operations" string="Operations"/>
<field name="return_type" string="Return Type"/>
<field name="state" widget="badge"
- decoration-info="state in ('draft', 'approval_sales', 'approval_logistic','approval_finance')"
+ decoration-info="state in ('draft', 'approval_sales', 'approval_finance','approval_logistic')"
decoration-success="state == 'done'"
decoration-muted="state == 'cancel'"
/>
<field name="ba_num" string="Nomor BA"/>
- <field name="date_done" string="Approved Date"/>
+ <field name="date_logistic" string="Approved Date"/>
</tree>
</field>
</record>
@@ -77,6 +77,7 @@
<group>
<group>
<field name="date" string="Date" readonly="1"/>
+ <field name="partner_id" readonly="1"/>
<field name="return_type" attrs="{'readonly': [('state', 'not in', 'draft')]}"/>
<field name="operations"
attrs="{'readonly': [('state', 'not in', 'draft')]}"/>
@@ -86,8 +87,8 @@
<field name="ba_num" string="Nomor BA"/>
<field name="notes"/>
<field name="date_sales" readonly="1"/>
+ <field name="date_finance" readonly="1"/>
<field name="date_logistic" readonly="1"/>
- <field name="date_done" readonly="1"/>
</group>
</group>
<notebook>