Skip to content
Snippets Groups Projects
Commit f115ecfd authored by stcc-odoo's avatar stcc-odoo Committed by MerlinGuillaume
Browse files

[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: default avatarFrancois Georis (fge) <fge@odoo.com>
parent c6072b54
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment