Skip to content
Snippets Groups Projects
Commit c2725791 authored by Xavier ALT's avatar Xavier ALT
Browse files

[FIX] auth_password_policy: keep current policy on update


On update/upgrade we should keep current password policy if its
already set

closes odoo/odoo#137228

Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
parent 38ba033c
No related branches found
No related tags found
No related merge requests found
<odoo>
<record model="ir.config_parameter" id="minlength">
<data noupdate="1">
<record model="ir.config_parameter" id="minlength" forcecreate="True">
<field name="key">auth_password_policy.minlength</field>
<field name="value" type="int">8</field>
</record>
</data>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment