odoo/odoo#202303
Created by fw-bot
Merged
at 06c8864076ae47e2d53a510e4230845bd8254a6b
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-18.1-saas-17.4-form_in_dialog_shows_error-jpp-423741-fw
- head
- 11869dfa1b07ea7df3d76ae5c4649ea2dea4baac
- merged
- 7 months ago by JavaScript, Aaron Bohy (aab)
odoo/odoo | |
---|---|
saas-17.4 | #202222 |
18.0 | #202275 |
saas-18.1 | #202303 |
saas-18.2 | #202343 |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #202371 |
[FW][FIX] web: access error on dialog form view
- On a view with a company-dependent field with a
many2many_tags
widget, where theedit_tags
option is set totrue
; - Click on a tag;
- Change the company;
- Save the tag;
- Open the same tag again;
A traceback error is displayed. This error occurs because, since [1], when loading the form view the access errors are handled, the company is added to the selected companies and the record is reloaded. The issue is that this cannot be done with a dialog form view, not only is an unreachable action service function is called, but also the dialog is not reopened when reloading.
In this commit, we fix this by showing the access error.
Forward-Port-Of: #202222