summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-05-26 09:33:56 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-05-26 09:33:56 +0700
commitce4c8c6b5e8b61877a66b483f46c1c808f10a8b1 (patch)
tree1672520b36bb0f11d37a7876ed991e59a33d45fe /indoteknik_custom/views/sale_order.xml
parent8fefc2e71c5e8a9f040f2fe6c9310b20cd88db3f (diff)
parent64c86581b469e962789ea6a7ea45c17ed020fe9a (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into odoo-backup
# Conflicts: # indoteknik_custom/models/sale_order_line.py
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml15
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>