[FIX] auth_totp: "Disable TOTP" only available in list view
The action server is only available on view list. It is hard to find this. closes odoo/odoo#83455 X-original-commit: 2fa29557d048e43bc9ed0a9fc9047de203b0c4f0 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
This commit is contained in:
committed by
Xavier Morel
parent
0dc347370f
commit
eb0c5f2566
@@ -5,7 +5,6 @@
|
||||
<field name="name">Disable two-factor authentication</field>
|
||||
<field name="model_id" ref="base.model_res_users"/>
|
||||
<field name="binding_model_id" ref="base.model_res_users"/>
|
||||
<field name="binding_view_types">list</field>
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
action = records.action_totp_disable()
|
||||
|
||||
Reference in New Issue
Block a user