Browse Source

[FIX] password_security: Fix history rule

* Switch security to be on correct model to fix OCA#674
pull/692/head
Dave Lasley 8 years ago
parent
commit
703e5beb06
No known key found for this signature in database GPG Key ID: 7DDBA4BA81B934CF
  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