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.

19 lines
562 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2016 LasLabs Inc.
  4. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
  5. -->
  6. <odoo>
  7. <record id="res_users_pass_history_rule" model="ir.rule">
  8. <field name="name">Res Users Pass History Access</field>
  9. <field name="model_id" ref="password_security.model_res_users_pass_history"/>
  10. <field name="groups" eval="[(4, ref('base.group_user'))]"/>
  11. <field name="domain_force">[
  12. ('user_id', '=', user.id)
  13. ]</field>
  14. </record>
  15. </odoo>