Browse Source

[MERGE][IMP][account_financial_report] New Rules to AFR module

pull/7/merge
Moises Lopez 12 years ago
parent
commit
ff7c5d75a5
  1. 11
      account_financial_report/security/security.xml

11
account_financial_report/security/security.xml

@ -5,5 +5,16 @@
<field name="name">Account Financial Report</field>
</record>
<record id="ir_rule_same_company" model="ir.rule">
<field name="name">See AFR Reports of My Own Company</field>
<field model="ir.model" name="model_id" ref="model_afr"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
<field eval="False" name="global"/>
<field name="domain_force">[('company_id','=',user.company_id.id)]</field>
<field name="groups" eval="[(4,ref('account_financial_report.group_afreport'))]"/>
</record>
</data>
</openerp>
Loading…
Cancel
Save