summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-15 11:52:33 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-15 11:52:33 +0700
commit0198b0a0683cc7db1241ec9b7184c2cb608ba049 (patch)
tree0c1b46a12fe1960eb9c8f577877b7d92d1a138f3 /indoteknik_custom/views/purchase_order.xml
parent7f4510f2459e16b7b3f1828f736ec84bc7ea97dc (diff)
(andri) fix edit unit price PO
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 dae23eed..fa8d40d5 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': ['|', ('state', 'in', ['purchase', 'done', 'cancel']), ('has_active_invoice', '=', True)]}</attribute>
+ <attribute name="attrs">{'readonly': ['&amp;', ('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">