Hello,
I have a security file (./security/crm_request_security.xml) with the next code:
<record id="crm_rule_all_lead_crm_ticket_platforms" model="ir.rule">
<field name="name">All Leads On CRM Ticket Platforms</field>
<field ref="crm.model_crm_lead" name="model_id"/>
<field name="domain_force">[(1,'=',1)]</field>
<field name="groups" eval="[(4, ref('group_crm_ticket_platforms_coordinator'))]"/>
</record>
I wish to change the domain_force field through a function from Python, it is posible?
Thanks!