summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-08-06 09:25:09 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-08-06 09:25:09 +0700
commit10d0e2bf639b31e58fd0d80a61062aa3ddc8f041 (patch)
treefd92b9538c820e1419154a43f19bea1090d62465 /indoteknik_custom/views/sale_order.xml
parentfcd98b0f038cfa1653b8b12df77750253ebd7a68 (diff)
parentc42bdba2996d85d328897e42e7a1d86001b3a14d (diff)
<hafid> change delivered api
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index e8f41ca3..868bce7b 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -355,8 +355,9 @@
</field>
<field name="payment_term_id" position="attributes">
<attribute name="attrs">
- {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in',
- ['cancel', 'draft'])]}
+ {'readonly': ['|', ('approval_status', 'in', ['pengajuan1', 'pengajuan2', 'approved']),
+ ('state', 'not in',
+ ['cancel', 'draft'])]}
</attribute>
</field>