|
@ -5,5 +5,16 @@ |
|
|
<field name="name">Account Financial Report</field> |
|
|
<field name="name">Account Financial Report</field> |
|
|
</record> |
|
|
</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> |
|
|
</data> |
|
|
</openerp> |
|
|
</openerp> |