diff options
| author | Parth Choksi <pch@odoo.com> | 2019-04-26 09:58:59 +0000 |
|---|---|---|
| committer | Parth Choksi <pch@odoo.com> | 2019-05-07 07:04:34 +0000 |
| commit | 8776306e80639f5fd8a857e7b1fb0b6801040683 (patch) | |
| tree | edb6b57ddd14aa0db269c1bcbe59e05df4652ea7 /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 52b49425250fa8cfa530818a226bb610de0d6f18 (diff) | |
[FIX] digest: using greaterthan and lessthan builtins
Before this commit, when you send a digest template to the user,
the user would receive a blank mail(without any content).
And while rendering the template we were getting the following error:
jinja2.exceptions.TemplateSyntaxError: unexpected char '&' at 4039
This was due to the changes made in commit:
https://github.com/odoo/odoo/commit/a7ac71ed4404aa2630619c331d725f4f545626f8#diff-705145eec648d5ef61b7b4060ae96b9dR8
In this instead of using CDATA, there was a change of the field type to 'html' and thus there were issues of parsing for jinja.
Now after this commit, we will be using builtins of jinja:
- 'greaterthan' instead of '>'
- 'lessthan' instead of '<'
Task-1918364
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
