diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-10-15 11:37:03 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-28 14:15:53 +0000 |
| commit | bbbfca2d97290abf8b77173c7d2c9c935d00ce14 (patch) | |
| tree | 7f2f25a4af621575a3e59c5be07971e7767fcdba /doc/reference/javascript_reference.rst | |
| parent | eccfdd5512375099d578ccd686fdd71a8cdcec93 (diff) | |
[FIX] web, tools: static inheritance supports replace in debug mode
Have a parent template
Have a child, in extension inherit mode of the parent
The child has a xpath like
`<xpath expr="." position="replace" />`
Before this commit, there was a crash.
That was because the Comment
(which indicates which templates modified the parent)
was taken as the replacer node
instead of the actual content of the xpath
After this commit, there is no crash, and it works as expected
closes odoo/odoo#39453
X-original-commit: 02d790e1d21b78395e489f57bf30c82f728cbee6
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
