diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-08 13:15:49 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-08 13:15:49 +0700 |
| commit | 0decf98d37963ebb770538aeb288341080653a2c (patch) | |
| tree | bef6275db9c220686870e50d259ec48ca93f585a /indoteknik_custom/views | |
| parent | b977df58492c18fbe0501e9e02cdee24c5e5176d (diff) | |
| parent | d259006021bcbda554aa8fc78e6ab2dae20a3ac4 (diff) | |
Merge branch 'odoo-production' of bitbucket.org:altafixco/indoteknik-addons into odoo-production
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 8 |
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"> { |
