You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
877 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="res.groups" id="group_afreport">
  5. <field name="name">Account Financial Report</field>
  6. </record>
  7. <record id="ir_rule_same_company" model="ir.rule">
  8. <field name="name">See AFR Reports of My Own Company</field>
  9. <field model="ir.model" name="model_id" ref="model_afr"/>
  10. <field name="perm_read" eval="True"/>
  11. <field name="perm_write" eval="True"/>
  12. <field name="perm_create" eval="True"/>
  13. <field name="perm_unlink" eval="True"/>
  14. <field eval="False" name="global"/>
  15. <field name="domain_force">[('company_id','=',user.company_id.id)]</field>
  16. <field name="groups" eval="[(4,ref('account_financial_report.group_afreport'))]"/>
  17. </record>
  18. </data>
  19. </openerp>