diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-08-20 18:08:19 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-08-20 18:08:19 +0200 |
| commit | 235ed4b2c1099720a6d5cfc5ada920f19fcef315 (patch) | |
| tree | 2ddc3ae85462fe3cc6e70f9598958797695d12ff /addons/web_editor/controllers/main.py | |
| parent | c3734ec5b622085a36e94bee36f92daabbae3e34 (diff) | |
| parent | 9ad5f26b3fb98cd14527de80d19bf6554a6981e2 (diff) | |
[MERGE] forward port branch saas-12 up to 9ad5f26
Diffstat (limited to 'addons/web_editor/controllers/main.py')
| -rw-r--r-- | addons/web_editor/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/controllers/main.py b/addons/web_editor/controllers/main.py index 324b3caf564..972d2b5e27d 100644 --- a/addons/web_editor/controllers/main.py +++ b/addons/web_editor/controllers/main.py @@ -33,7 +33,7 @@ class Web_Editor(http.Controller): res_id=res_id, field=field, datarecord=json.loads(kwargs['datarecord']), - debug='debug' in kwargs) + debug=request.debug) for k in kwargs: if isinstance(kwargs[k], basestring) and kwargs[k].isdigit(): |
