diff options
| author | Romain Derie <rde@odoo.com> | 2019-02-27 15:58:21 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-03-29 18:56:47 +0000 |
| commit | e57f7734cacb89dd1a65a30b8f62fe919173659e (patch) | |
| tree | a9b602c37e72c2df00cb5b359944ebfc55827cb4 /addons/web/static/src/js/views/basic | |
| parent | da5ebdeccdc4fee10af315b5e4756e3dd0382c9a (diff) | |
[IMP] base, website: QWeb, raise the caller on unexisting t-call
Before this commit, when a t-call was calling an unexisting template, a QWeb
exception would be raised with the callee and not the caller as template.
That would be an issue since there was clean way to retrieve the view that did
the wrong t-call, for instance to be able to repair that view.
Now, in such a case the caller view will be returned.
That will avoid crapy code to retrieve the caller, eg searching on every Qweb
view archs.
Coming from #32009 (task-1943001)
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
