diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-28 04:32:46 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-28 04:32:46 +0000 |
| commit | eacf53b314861bc797e1222d4b8d7ae9ef677040 (patch) | |
| tree | df96ab2b2e680c79edefb4a606f148845ace0cf8 /indoteknik_custom/views | |
| parent | e64105b97b5da3218e3dfbe5db4456b31f08ca73 (diff) | |
| parent | e361ce63e944fe8e64302c0eec07befaa9f3d563 (diff) | |
Merged in production (pull request #75)
Production
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index ae16f649..f7f9c0ea 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -58,7 +58,8 @@ </xpath> <field name="source_id" position="attributes"> <attribute name="domain">[('id', 'in', [32, 59, 60, 61])]</attribute> - <attribute name="required">1</attribute> + <attribute name="attrs">{'required':[('create_date', '>', '2023-07-30')]} + </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')]}"/> |
