Skip to content
Snippets Groups Projects
Commit ab8c4bc8 authored by Luis González's avatar Luis González
Browse files

[FIX] import_xml: Error when using uid attribute on function tag


When defining a function tag containing the uid attribute, the following error is raised:
`AssertionError: Element odoo has extra content`

That attribute is parsed correctly on python, but it's missing from the RELAX NG validator.

This commit adds the missing entry to the validator.

closes odoo/odoo#50283

X-original-commit: f9a5818c
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 85540e6b
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@
<!-- doesn't look like it has any use? -->
<rng:optional><rng:attribute name="id" /></rng:optional>
<rng:optional><rng:attribute name="context" /></rng:optional>
<rng:optional><rng:attribute name="uid" /></rng:optional>
<rng:optional>
<rng:choice>
<rng:attribute name="eval" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment