Community mailing list archives

[9.0] Domain force

Sergio Corato
- 01/26/2016 07:43:15
Hi all,
I'm trying to create a rule with a domain_force in timesheet view (timesheet widget), but domain is not correctly valuated (below rule), does anyone have an idea why?


<record id="account_timesheet_rule" model="ir.rule">
<field name="name">Account analytic timesheet portal</field>
<field name="model_id" ref="analytic.model_account_analytic_account"/>
<field name="groups" eval="[(4, ref('my_module.group_portal_timesheet'))]"/>
<field name="domain_force">[('message_follower_ids','in',[])]</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_unlink" eval="True"/>
<field name="perm_create" eval="True"/>

Sergio Corato
Product Manager
SimplERP srl