odoo/odoo#162750

Created by fw-bot
Merged at aeadd065e869a5cd6b971d6d458ba9d8e1edcc1c

Statuses:

label
odoo-dev:saas-16.3-16.0-15.0-see-record-shadowed-error-lul-DAVs-fw-bis-Z0Wr-fw
head
525339fe3732941a6c4bd19e0072a2aaaec293d6
merged
2 years 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: #162568