summaryrefslogtreecommitdiff
path: root/addons/auth_signup/views/res_config_settings_views.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/auth_signup/views/res_config_settings_views.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/auth_signup/views/res_config_settings_views.xml')
-rw-r--r--addons/auth_signup/views/res_config_settings_views.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/addons/auth_signup/views/res_config_settings_views.xml b/addons/auth_signup/views/res_config_settings_views.xml
new file mode 100644
index 00000000..080f9481
--- /dev/null
+++ b/addons/auth_signup/views/res_config_settings_views.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+
+ <record id="res_config_settings_view_form" model="ir.ui.view">
+ <field name="name">res.config.settings.view.form.inherit.auth.signup</field>
+ <field name="model">res.config.settings</field>
+ <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="//div[@id='access_rights']" position="after">
+ <div class="col-12 col-lg-6 o_setting_box"
+ id="login_documents"
+ title=" To send invitations in B2B mode, open a contact or select several ones in list view and click on 'Portal Access Management' option in the dropdown menu *Action*.">
+ <div class="o_setting_left_pane">
+ </div>
+ <div class="o_setting_right_pane">
+ <label for="auth_signup_uninvited"/>
+ <div class="text-muted">
+ Let your customers log in to see their documents
+ </div>
+ <div class="mt8">
+ <field name="auth_signup_uninvited" class="o_light_label" widget="radio" required="True"/>
+ </div>
+ <div class="content-group" attrs="{'invisible': [('auth_signup_uninvited','=','b2b')]}">
+ <div class="mt8">
+ <button type="object" name="open_template_user" string="Default Access Rights" icon="fa-arrow-right" class="btn-link"/>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-12 col-lg-6 o_setting_box" id="enable_password_reset">
+ <div class="o_setting_left_pane">
+ <field name="auth_signup_reset_password"/>
+ </div>
+ <div class="o_setting_right_pane">
+ <label string="Password Reset" for="auth_signup_reset_password"/>
+ <div class="text-muted">
+ Enable password reset from Login page
+ </div>
+ </div>
+ </div>
+ </xpath>
+ </field>
+ </record>
+
+</odoo>