summaryrefslogtreecommitdiff
path: root/addons/l10n_sg
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-08-18 09:15:11 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-18 09:27:05 +0200
commitbaef529cbd9daf1f53dcdd8e4fe9ba5dbabd52c2 (patch)
treed3618f85f836df9382e153c3e93988ed2e34e055 /addons/l10n_sg
parent89a4774c21b9187ada4b9c317fe3b5a756b0abf4 (diff)
[FIX] web_editor: keep all debug values for FieldTextHtml
Commit 89a4774c21b9187ada4b9c317fe3b5a756b0abf4 changed the kwargs debug value of the FieldTextHtml controller to let it be equal to "assets" instead of True or False. The problem is that an empty string was considered True before the commit and False afterwards. In fact, the original code was wrong and the debug value should equal the already processed kwargs debug value in the HttpRequest object. Indeed, the kwargs.debug value is equal to the URL value while the request.debug value is already processed and is only one of the 3 values: None, True or "assets".
Diffstat (limited to 'addons/l10n_sg')
0 files changed, 0 insertions, 0 deletions