odoo/odoo#197977

Created by fw-bot
Merged at 3f900d87e5366c89212066b1da916e5dec5c6b73

Statuses:

label
odoo-dev:saas-18.2-16.0-15.0-see-record-shadowed-error-lul-DAVs-fw-bis-406556-fw
head
b7614b4cbcf848801055cf107bf0bd61b73b1e1b
merged
8 months ago by BI, Lucas Lefèvre (lul)
odoo/odoo
16.0 #162568
saas-16.3 #162750
saas-16.4 #162758
17.0 #162759
saas-17.1 #162761
saas-17.2 #162764
saas-17.3 #167559
saas-17.4 #172826
18.0 #181457
saas-18.1 #191666
saas-18.2 #197977
saas-18.3
saas-18.4
19.0
master #164224

[FW][FIX] documents_spreadsheet: fix See record menu if not loaded

Steps to reproduce:

  • wrap a pivot function inside a IFERROR e.g. =IFERROR(PIVOT("1", "probability"), 42)
  • reload the spreadsheet
  • before the pivot is loaded (throttle the network in the dev tools): right click the cell
  • click on "See records" menu item => boom

task-3847477
X-original-commit: odoo/enterprise@31401c75baa4252917fe5d808be0abd5fc23a906


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #191666
Forward-Port-Of: #162568