-
- Downloads
[IMP] web: adapt the kanban "Remove" button label
Remove button is shown when the view of our field is in kanban mode.
When our field is one2many it will delete the record and when our field is
many2one it will remove the record.
So many times user get confuse that they are deleting the record or removing
the record.
So to clear out the confusion this commit changes the label of remove to
to delete if the field is one2many.
A test was added to ensure this ux change.
Task-3185967
closes odoo/odoo#118702
Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com>
Showing
- addons/web/static/src/views/fields/relational_utils.js 5 additions, 1 deletionaddons/web/static/src/views/fields/relational_utils.js
- addons/web/static/src/views/fields/relational_utils.xml 4 additions, 1 deletionaddons/web/static/src/views/fields/relational_utils.xml
- addons/web/static/tests/views/fields/one2many_field_tests.js 36 additions, 0 deletionsaddons/web/static/tests/views/fields/one2many_field_tests.js
Loading
Please register or sign in to comment