I'm trying to do the field "opt_out" invisible in partner.form but can't find the correct xml syntax.
Maybe someone could help me ?
Thanks in advance.
Here is the correct syntax :
<record model="ir.ui.view" id="res_partner_opt_out_form"> <field name="name">res.partner.opt.out.form</field> <field name="model">res.partner</field> <field name="inherit_id" ref="email_template.res_partner_opt_out_form"/> <field name="type">form</field> <field name="arch" type="xml"> <field name="opt_out" position="replace"> <field name="opt_out" invisible="1"/> </field> </field> </record>
Hope it will be usefull
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/30/13, 6:34 AM|
|Seen: 649 times|
|Last updated: 3/16/15, 8:10 AM|