Browse Source

Merge pull request #692 from LasLabs/bugfix/10.0/674-password_security-invalid_leaf

[10.0][FIX] password_security: Fix history rule
pull/702/head
Stefan Rijnhart (Opener) 8 years ago
committed by GitHub
parent
commit
5ad786ea04
  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