summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-11-13 09:51:01 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-11-13 09:51:01 +0700
commitc4e07cfcd682f5f22a1337571fa96bb60ea39c16 (patch)
tree79e2ad003f1650abbc766a73bbb39478a5e9fdd5 /indoteknik_custom/views/sale_order.xml
parentd71a8ead26eaf1d44da38b94b1a114f97f407bd8 (diff)
parentffec5d50ef5be0bea5dd9a658b54d053ed67344b (diff)
Merge branch 'production' into feature/fulfillment_v2
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 02531966..ca27c2ed 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -29,7 +29,7 @@
<field name="create_date" invisible="1"/>
<field name="shipping_cost_covered" attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-15'), ('create_date', '=', False)]}"/>
<field name="shipping_paid_by" attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-15'), ('create_date', '=', False)]}"/>
- <field name="delivery_amt"/>
+ <field name="delivery_amt" attrs="{'readonly': [('state', 'in', ['sale', 'cancel', 'done'])]}"/>
<field name="fee_third_party"/>
<field name="total_percent_margin"/>
<field name="type_promotion"/>