diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-05-07 03:35:28 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-05-07 03:35:28 +0000 |
| commit | dcd8ab2d0f48b7f4cfd0bb7233d5190158013e9e (patch) | |
| tree | f9f0d2c25742407a88b39b647e9f557d08058b04 | |
| parent | ab1c5cabe7bdcfb950a2d7201ce367eea49ad7f2 (diff) | |
| parent | d3df18ba29101fbce6a249915436d741a70ad810 (diff) | |
Merged in po-lock-and-logproduct (pull request #298)
(andri) tidak bisa edit data product jika sudah status PO (meskipun sudah di unlock)
| -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 d6ad2408..920268bc 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -140,7 +140,7 @@ </field> <field name="order_line" position="attributes"> - <attribute name="attrs">{'readonly': ['|', ('state', 'in', ['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"> |
