diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-10-08 10:44:30 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-11 17:42:04 +0000 |
| commit | 5f082f87c5edd4bce335a444a8f417d0e7edb3db (patch) | |
| tree | 18b1d8107d8ea67e49e052cfa259791ec18a1f45 /addons/google_spreadsheet | |
| parent | f294ccdb032df7bec5271a426a924b0865a6c079 (diff) | |
[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: be658bb87a9e9dd84909e6e6d2cb9107b87a0d52
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/google_spreadsheet')
0 files changed, 0 insertions, 0 deletions
