[FIX] mail: Make a correct xpath to insert opt-out on res.partner view
The current xpath in inserting the opt-out in the sub-kanban view for the child_ids. The new xpath is inserting these two fields in the intended location.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='user_id']" position="after">
|
||||
<xpath expr="//page[@name='sales_purchases']//field[@name='user_id']" position="after">
|
||||
<field name="opt_out" string="Mailing Opt-Out" groups="base.group_no_one"/>
|
||||
<field name="message_bounce" groups="base.group_no_one"/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user