diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-09-27 10:41:02 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-09-27 13:13:38 +0200 |
| commit | d8f0837f94b3de63db34bcf835c672e271b20733 (patch) | |
| tree | 627e17d4ad4b4a978df041843ffe0d7a3bb97ecd /addons/website/controllers/web_editor.py | |
| parent | 1da9ed30c2fb0aa32f491068dd977ee23733557e (diff) | |
[FIX] website: last_website_so_id is website dependent
Before this commit, if you use this field outside of a controller website,
it will fail because this field depend of request.website that is only set
on controller of type website.
Now we return False if we call try to use this field outside of the website.
Eg: call get_current_pricelist in json
Diffstat (limited to 'addons/website/controllers/web_editor.py')
0 files changed, 0 insertions, 0 deletions
