2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
<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-xs-12 col-md-6 o_setting_box" title="If unchecked, only invited users may sign up.">
|
|
|
|
<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="mt16">
|
|
|
|
<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-xs-12 col-md-6 o_setting_box">
|
|
|
|
<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>
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|