diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/auth_password_policy_signup/views | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/auth_password_policy_signup/views')
| -rw-r--r-- | addons/auth_password_policy_signup/views/assets.xml | 9 | ||||
| -rw-r--r-- | addons/auth_password_policy_signup/views/signup_templates.xml | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/addons/auth_password_policy_signup/views/assets.xml b/addons/auth_password_policy_signup/views/assets.xml new file mode 100644 index 00000000..1f6f3714 --- /dev/null +++ b/addons/auth_password_policy_signup/views/assets.xml @@ -0,0 +1,9 @@ +<odoo> + <template id="assets_frontend" inherit_id="web.assets_frontend" name="Auth Signup Password Policy Assets"> + <xpath expr="." position="inside"> + <script type="text/javascript" src="/auth_password_policy_signup/static/src/js/signup_policy.js"></script> + <link rel="stylesheet" type="text/scss" href="/auth_password_policy_signup/static/src/scss/signup_policy.scss"/> + </xpath> + </template> + +</odoo> diff --git a/addons/auth_password_policy_signup/views/signup_templates.xml b/addons/auth_password_policy_signup/views/signup_templates.xml new file mode 100644 index 00000000..eb737b8a --- /dev/null +++ b/addons/auth_password_policy_signup/views/signup_templates.xml @@ -0,0 +1,8 @@ +<odoo> + <template id="fields" inherit_id="auth_signup.fields" + name="Password policy data for auth_signup"> + <xpath expr="//input[@name='password']" position="attributes"> + <attribute name="t-att-minlength">password_minimum_length</attribute> + </xpath> + </template> +</odoo> |
