diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2025-05-23 09:57:19 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2025-05-23 09:57:19 +0700 |
| commit | 1ce12e1b817079a1fd74c892a880bd8efff72e41 (patch) | |
| tree | 3ebf33463948b5bd7be15b18450f36227ad7cac9 /indoteknik_custom/views/sale_order.xml | |
| parent | cc6e4b9e48752ee54b42db2c16fae7cd5d5af1c4 (diff) | |
| parent | d27999cacee59a115ae3c6c46542c2e20cfe176b (diff) | |
Merge branch 'odoo-backup' into cr/purchasing_job_manufacturing_order
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index ad6bc11c..a599a7b8 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -96,11 +96,11 @@ <attribute name="invisible">1</attribute> </field> <field name="user_id" position="after"> - <field name="hold_outgoing" readonly="1"/> - <field name="date_hold" readonly="1" widget="datetime"/> - <field name="date_unhold" readonly="1" widget="datetime"/> - <field name="helper_by_id" readonly="1"/> - <field name="compute_fullfillment" invisible="1"/> + <field name="hold_outgoing" readonly="1" /> + <field name="date_hold" readonly="1" widget="datetime" /> + <field name="date_unhold" readonly="1" widget="datetime" /> + <field name="helper_by_id" readonly="1" /> + <field name="compute_fullfillment" invisible="1" /> </field> <field name="tag_ids" position="after"> <field name="eta_date_start"/> @@ -303,9 +303,8 @@ </field> <field name="payment_term_id" position="attributes"> <attribute name="attrs"> - {'readonly': ['|', ('approval_status', 'in', ['pengajuan1', 'pengajuan2', 'approved']), - ('state', 'not in', - ['cancel', 'draft'])]} + {'readonly': [('approval_status', '=', 'approved'), ('state', 'not in', + ['cancel', 'draft'])]} </attribute> </field> |
