You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Odoo version 14.0 transient models require access rights instead of
implicit access (see related odoo/odoo#43306). This can lead to access
errors in `custom_module_field_as_manual`, particularly in the upgrade
TestCrawler, leading to blocked upgrades.
To reproduce:
- have a v13 db with a custom menu which opens a custom model's view,
having a relational field (e.g. one2many) to a custom transient model,
and have existing records
- run the upgrade test prepare
- upgrade to v14
- run the upgrade test check, the TestCrawler will fail with an
AccessError
To fix that, create temporary access rights for custom transient models
while using the context manager.
upg-1157201
closes#8
Signed-off-by: Christophe Simonis (chs) <[email protected]>
0 commit comments