[FIX] auth_signup: allow to (re)set signup template user in settings
If it is unsetted there is currently no way to set it back unless putting directly the ID in the ir.config_parameter table. Let us therefore allow people to reset their template user for signup.
This commit is contained in:
@@ -19,7 +19,11 @@
|
||||
<field name="auth_signup_uninvited" widget="radio" required="True"/>
|
||||
</div>
|
||||
<div class="content-group" attrs="{'invisible': [('auth_signup_uninvited','=','b2b')]}">
|
||||
<div class="mt16">
|
||||
<div class="mt16" groups="base.group_no_one"
|
||||
attrs="{'invisible': [('auth_signup_template_user_id', '!=', False)]}">
|
||||
Copy access rights from <field name="auth_signup_template_user_id"/>
|
||||
</div>
|
||||
<div class="mt16" attrs="{'invisible': [('auth_signup_template_user_id', '=', False)]}">
|
||||
<button type="object" name="open_template_user" string="Default Access Rights" icon="fa-arrow-right" class="btn-link"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user