summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-15 13:20:58 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-15 13:20:58 +0700
commitf3fc6d3d1a4c5ac0b287e3bb7e1163b99393c728 (patch)
tree10512f61983acfef166995f527afdfc7a4ddf802 /indoteknik_custom/views/purchase_order.xml
parent847579fd0b1a846e89646ad270a920d124abaa5a (diff)
(andri) fix
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index fa8d40d5..dae23eed 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -164,7 +164,7 @@
</field>
<field name="order_line" position="attributes">
- <attribute name="attrs">{'readonly': ['&amp;', ('state', 'in', ['purchase', 'done', 'cancel']), ('has_active_invoice', '=', True)]}</attribute>
+ <attribute name="attrs">{'readonly': ['|', ('state', 'in', ['purchase', 'done', 'cancel']), ('has_active_invoice', '=', True)]}</attribute>
</field>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_unit']" position="attributes">