[FIX] base: enforce tree view on change.password.wizard

No view is available for the mobile form of change.password.wizard. The
default behavior of the framework is to generate one using the backend
model. This result on showing some hidden fields to the user, some of
them (like in this case `Wizard Id`) is impossible to fill in.

opw-3027797

closes odoo/odoo#107911

X-original-commit: 0860ba8538793c081358105238946ebc0d2015e5
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Jordan D.(Joda)
2022-12-14 14:20:01 +01:00
parent 252f7f5f82
commit 5c219ec80e
+1 -1
View File
@@ -24,7 +24,7 @@
<field name="model">change.password.wizard</field>
<field name="arch" type="xml">
<form string="Change Password">
<field name="user_ids"/>
<field mode="tree" name="user_ids"/>
<footer>
<button string="Change Password" name="change_password_button" type="object" class="btn-primary" data-hotkey="q"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />