Browse Source

Merge pull request #693 from LasLabs/bugfix/9.0/674-password_security-invalid_leaf

[9.0][FIX] password_security: Fix history rule
pull/522/merge
Moises Lopez - https://www.vauxoo.com/ 8 years ago
committed by GitHub
parent
commit
154cf14033
  1. 4
      password_security/security/res_users_pass_history.xml

4
password_security/security/res_users_pass_history.xml

@ -7,9 +7,9 @@
<odoo>
<record model="ir.rule" id="res_users_pass_history_rule">
<record id="res_users_pass_history_rule" model="ir.rule">
<field name="name">Res Users Pass History Access</field>
<field name="model_id" ref="base.model_ir_sequence"/>
<field name="model_id" ref="password_security.model_res_users_pass_history"/>
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
<field name="domain_force">[
('user_id', '=', user.id)

Loading…
Cancel
Save