summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-01-08 05:28:28 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-01-08 05:28:28 +0000
commitd259006021bcbda554aa8fc78e6ab2dae20a3ac4 (patch)
treef7c1b195347c02a532bc8e342aa640e74b62737c /indoteknik_custom/views
parent02d27a0e871dd4949c9382000843cd35dd3db3f8 (diff)
parentdfeb874b7b9d938b8c8863645d9b21830d1628dc (diff)
Merged in CR/SO-set-to-draft (pull request #259)
<iman> update code so reset to draft
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 703b4d49..3539dbf3 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -107,6 +107,14 @@
{'readonly': [('state', 'in', ('done','cancel'))]}
</attribute>
</xpath>
+ <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree" position="inside">
+ <field name="desc_updatable" invisible="1"/>
+ </xpath>
+ <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='name']" position="attributes">
+ <attribute name="attrs">
+ {'readonly': [('desc_updatable', '=', False)]}
+ </attribute>
+ </xpath>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_unit']" position="attributes">
<attribute name="attrs">
{