diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-02-20 17:47:05 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-02-21 10:24:43 +0100 |
| commit | 446d4127d9549a7729186eda242ba13a8393f9e3 (patch) | |
| tree | 72ad55ccbb4f8f13a8c1214c4e2402949102f305 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 5140e19092cbb24b668a164d78810576f1a333eb (diff) | |
[FIX] mail: set view_id in mail/view only if we have one to specify
Currently if get_formview_id does not return a specific view id the
mail/view controller produces an url with view_id=False. Due to some
unknown reason it is not taken into account as False but as the
string False since some time. It generates a traceback and prevent
people from using the mail/view controller.
While finding why it seems to have changed we can avoid the issue by
setting the view_id only if set. It has no impact on the redirection
has the default for view is loaded as intended.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
