diff options
| author | Simon Lejeune <sle@openerp.com> | 2016-12-01 21:09:46 +0100 |
|---|---|---|
| committer | Olivier Dony <odony@users.noreply.github.com> | 2016-12-02 12:24:51 +0100 |
| commit | 12e36a66f23d79623ef9f96b67406d7e9c5e7fe1 (patch) | |
| tree | 51a7e19005de07e969594f9a2a55e17d7a01700a /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 9dd5bd93498bc57e5e1febf19119bb98cdd9b3d7 (diff) | |
[FIX] qweb: render a child view with its xmlid
QWeb's get_template:
* remove the fallback that returned the entire result of IRQweb's
`load` if no match was made between the t-name of the first children
of this result and the template to render
* When get_template receives an etree, directly return it and don't
try to find a matching t-name in it. The loader was not called but
a matching was trying to be made, now that we removed the fallback
a lot of tests that were relying on passing etree didn't work
anymore.
IRQweb's load now return consistently the full result of IrUiView's
`read_templace` when asked to load an id or an xmlid. We make a special
case to patch the result if asked with an id or with a child view so
that the "t-name" of one of the first children of what we return is
always what QWeb is looking for.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
