Hi everybody,
I'm working with Odoo 10, I want to hide the form Edit button with my new field (compute field).
My code is:
<data>
<xpath expr="//field[@name='description']" position="before">
<field name="editable" invisible="1"/>
</xpath>
<xpath expr="//form[1]" position="attributes">
<attribute name="edit">[('editable','=',True)]</attribute>
</xpath>
</data>
But I got error when try to run the form, error regarding JSON value.
Did I made something wrong?
Thank you.