Register all buttons are registered in ir.model.button
issue6389 review36621002
This commit is contained in:
@@ -48,6 +48,17 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.model.button" id="user_validate_email_button">
|
||||
<field name="name">validate_email</field>
|
||||
<field name="string">Validate E-mail</field>
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.button" id="user_reset_password_button">
|
||||
<field name="name">reset_password</field>
|
||||
<field name="string">Reset Password</field>
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.report" id="report_email_validation">
|
||||
<field name="name">Email Validation</field>
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="active"/>
|
||||
<label name="password"/>
|
||||
<field name="password" widget="password"/>
|
||||
<button name="reset_password" string="Reset Password" colspan="2"/>
|
||||
<button name="reset_password" colspan="2"/>
|
||||
<label name="email_valid"/>
|
||||
<field name="email_valid"/>
|
||||
<button name="validate_email" string="Validate E-mail" colspan="2"/>
|
||||
<button name="validate_email" colspan="2"/>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user