You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only select elements known to define a records.
When building the XML tree that will be loaded, we use the `.append()`
which actually *move* the node.
The previous XPath expression matched any element having a corresponding
`id` attribute.
This conditions lead to a situation where the wanted record loose any
element having a matching `id`.
As show by the added test, updating the `web.login` template lead to
loading the following XML file:
```xml
<openerp><data>
<template id="web.login">
<...>
</template>
<input type="text" name="login" id="login"/>
</data></openerp>
```
Given that unknown tags are ignored, this error was silent.
Part of odoo/upgrade#5267
Courtesy-of: Arnaud Baes <[email protected]>
Courtesy-of: Paul Morelle <[email protected]>
Signed-off-by: Christophe Simonis (chs) <[email protected]>
0 commit comments