summaryrefslogtreecommitdiff
path: root/addons/website_theme_install/models/ir_module_module.py
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2018-12-28 12:14:33 +0000
committerSébastien Theys <seb@odoo.com>2019-01-09 12:54:46 +0000
commit6b85cbc8444c9de7b042ddd5ca0a236e2cb89d35 (patch)
treef77851e3aa14cd21be788062819bc03e3a39e222 /addons/website_theme_install/models/ir_module_module.py
parent9ba8dedbf58935128bf42cd02d7f4feaf8aeb21a (diff)
[FIX] website: fix viewref to not raise when raise_if_not_found=False
`ref` could raise even if raise_if_not_found was False on `viewref`, now we prevent that, and rely only on the exception on `viewref`. Also, when not set to raise, the method could return None instead of a recorset. PR: #29753
Diffstat (limited to 'addons/website_theme_install/models/ir_module_module.py')
0 files changed, 0 insertions, 0 deletions