[FIX] web: show warning instead of failing silently
Steps to reproduce:
- Install Accounting
- Accounting > Accounting > Journal Items
- Select all items using the checkbox
- Change account to another value
- Click "OK" on the confirmation dialog
Issue:
The system fails to change the account field on the records. This issue occurs because the JavaScript code catches an RPCError when attempting
to write the values to the database but ignores it. Although this
behavior is intended, it leaves the user without any feedback
throughout the process.
Solution:
Add a danger notification with the error message when the write
operation fails.
opw-3354646
closes odoo/odoo#128736
Signed-off-by:
Francois Georis (fge) <fge@odoo.com>
Loading
Please register or sign in to comment