Browse Source

[FIX] base_comment_template: Change domain in rule according to company

myc-14.0-py3o
Víctor Martínez 4 years ago
parent
commit
1d8e552b70
  1. 2
      base_comment_template/security/security.xml

2
base_comment_template/security/security.xml

@ -6,7 +6,7 @@
<field name="model_id" ref="model_base_comment_template" />
<field name="global" eval="True" />
<field name="domain_force">
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
['|',('company_id','=',False),('company_id','in',company_ids)]</field>
</record>
</odoo>
Loading…
Cancel
Save