Files
Odoo-Build/snippets/sale.view_order_form.edit_name.xml
T

7 lines
275 B
XML

<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//field[@name='name']" position="attributes">
<attribute name="readonly">0</attribute>
<attribute name="attrs">{'readonly': [('project_id', '=', False)]}</attribute>
</xpath>
</data>