diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-27 13:11:17 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-27 13:11:17 +0700 |
| commit | c6c59089732d912d9bc9c8a95028ddb1addcfb5a (patch) | |
| tree | ae9c89be5398c8fc2fb3761c3202917b2698285d | |
| parent | b9b91b0e8a37ca96748304afea83812884b4811e (diff) | |
fix source so
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 3b5bc4c5..9ff000e7 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -58,6 +58,8 @@ </xpath> <field name="source_id" position="attributes"> <attribute name="domain">[('id', 'in', [32, 59, 60, 61])]</attribute> + <attribute name="attrs">{'required':['|',('create_date', '>', '2023-07-30'), ('create_date', '=', False)]} + </attribute> </field> <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_total']" position="after"> <field name="vendor_id" attrs="{'readonly': [('parent.approval_status', '=', 'approved')]}"/> |
