[FIX] base: make the "New password" column visible in Safari

In a Safari or with GNOME web browser:
- Run a Odoo server without the password policy app
- Go to Settings->User->Select an user
- Click on the action menu and "Change Password"

Current Behaviour
-----------------
The "New password" column have a width of 0.

Expected Behaviour
------------------
The "New password" column is shown.

This commit sets a min width to the new password column to avoid this
weird shenanigan from Safari of setting the width to 0. After some
reverse engineering of understanding why Safari does that I was not able
to find why.

closes odoo/odoo#145930

Task-id: 3573558
X-original-commit: 0dbb0938a90ee0155684bd5bdc7f50f0a9434b9d
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>
Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>
This commit is contained in:
fdardenne
2023-12-12 23:08:58 +00:00
parent 803b4ac29a
commit 2ec26f9c3a
+1 -1
View File
@@ -40,7 +40,7 @@
<tree string="Users" editable="bottom" create="false" delete="false">
<field name="user_id" invisible="1"/>
<field name="user_login" force_save="1"/>
<field name="new_passwd" password="True"/>
<field name="new_passwd" password="True" width="20px"/>
</tree>
</field>
</record>