summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/views/sale_order.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 94073fd7..b160d9b1 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -20,8 +20,8 @@
</button>
<field name="payment_term_id" position="after">
<field name="create_date" invisible="1"/>
- <field name="shipping_cost_covered" attrs="{'required': [('create_date', '&gt;', '2023-06-15')]}"/>
- <field name="shipping_paid_by" attrs="{'required': [('create_date', '&gt;', '2023-06-15')]}"/>
+ <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="fee_third_party"/>
<field name="total_percent_margin"/>