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.

26 lines
875 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo noupdate="1">
  7. <record id="agreement_rule" model="ir.rule">
  8. <field name="name">Agreement multi-company</field>
  9. <field name="model_id" ref="model_agreement"/>
  10. <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
  11. </record>
  12. <record id="group_use_agreement_type" model="res.groups">
  13. <field name="name">Use agreement type</field>
  14. <field name="category_id" ref="base.module_category_hidden"/>
  15. </record>
  16. <record id="group_use_agreement_template" model="res.groups">
  17. <field name="name">Use agreement template</field>
  18. <field name="category_id" ref="base.module_category_hidden"/>
  19. </record>
  20. </odoo>