Skip to content
Snippets Groups Projects
Commit 5f082f87 authored by Sébastien Theys's avatar Sébastien Theys Committed by fw-bot
Browse files

[FIX] base: correctly define `arch` as depending on context


Computed fields that depend on the context now have to be declared as such.

To reproduce the issue:
- go on the form view of any view
- update the arch of the view
- save
- click on action "reset view architecture"
- select hard reset
- no diff is shown

Expected: a diff should be shown

`arch_base` depends on `arch`, so even though no current flow actually uses it
when the context is changed, update its `depends_context` as well to be safe.

closes odoo/odoo#38536

Pr: #37363
X-original-commit: be658bb8
Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
parent f294ccdb
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