中国本土应用
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.

30 lines
1.3KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="base.module_category_wecom_suites_settings" model="ir.module.category">
  4. <field name="description">Helps you manage your WeCom.</field>
  5. <field name="sequence">1</field>
  6. </record>
  7. <record id="group_wecom_settings_user" model="res.groups">
  8. <field name="name">Officer</field>
  9. <field name="category_id" ref="base.module_category_wecom_suites_settings"/>
  10. <field name="implied_ids" eval="[(6, 0, [ref('base.group_user')])]"/>
  11. <field name="comment">The user will be able to approve document created by employees.</field>
  12. </record>
  13. <record id="group_wecom_settings_manager" model="res.groups">
  14. <field name="name">Administrator</field>
  15. <field name="comment">The user will have access to the wecom configuration as well as statistic reports.</field>
  16. <field name="category_id" ref="base.module_category_wecom_suites_settings"/>
  17. <field name="implied_ids" eval="[(4, ref('group_wecom_settings_user'))]"/>
  18. <field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
  19. </record>
  20. <data noupdate="1">
  21. <record id="base.default_user" model="res.users">
  22. <field name="groups_id" eval="[(4,ref('group_wecom_settings_manager'))]"/>
  23. </record>
  24. </data>
  25. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1