diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-07-15 11:52:33 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-07-15 11:52:33 +0700 |
| commit | 0198b0a0683cc7db1241ec9b7184c2cb608ba049 (patch) | |
| tree | 0c1b46a12fe1960eb9c8f577877b7d92d1a138f3 /indoteknik_custom/views/purchase_order.xml | |
| parent | 7f4510f2459e16b7b3f1828f736ec84bc7ea97dc (diff) | |
(andri) fix edit unit price PO
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 2 |
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': ['&', ('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"> |
