diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-06-17 09:54:46 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-06-17 09:54:46 +0700 |
| commit | b0241e8449224c67cccee154fb25d784d3d36c1c (patch) | |
| tree | 82cd15ad0cf8d7e8348d5ed8c516bf7e507844d9 | |
| parent | a80565682063e718fc55c90e4243b9d5b2432285 (diff) | |
(andri) lepas readonly pada shipping SO yang telah di confirm
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index fbca3705..d0442677 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -305,14 +305,12 @@ </field> <field name="select_shipping_option" position="attributes"> <attribute name="attrs"> - {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', - ['cancel','draft'])]} + {'readonly': [('state', 'in', ['cancel', 'done'])]} </attribute> </field> <field name="carrier_id" position="attributes"> <attribute name="attrs"> - {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', - ['cancel', 'draft'])]} + {'readonly': [('state', 'in', ['cancel', 'done'])]} </attribute> </field> <field name="payment_term_id" position="attributes"> |
