Hi everyone,
I'm trying to customize the form with 'message_ids', I don't want the applicant automatic added as follower. So, I added the context parameter:
<record model="ir.ui.view" id="oit_crm_case_form_view_job">
<field name="name">Custom - Jobs - Recruitment Form</field>
<field name="model">hr.applicant</field>
<field name="inherit_id" ref="hr_recruitment.crm_case_form_view_job"/>
<field name="arch" type="xml">
<xpath expr="/form/div[1]/field[@name='message_ids']" position="attributes">
<attribute name="context">{'mail_post_autofollow':False}</attribute>
</xpath>
</field>
</record>
But, it does not work.
Does anyone can help?
Thank you