<s<string>:4:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave

I have a question, it seems so…

i have a view let says

<form col="6">
<group  colspan="6" col="6">
	<label name="code"/>
	<field name="code"/>
	<label name="name"/>
	<field name="name"/>
	</group>	
	<field name="party"/>
	<field name="zz"/>
</form>

when i want to update my module is says

trytond.ir.ui.view.XMLError: Invalid XML for view “formo.zz (Form)”. - :4:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave
:4:0:ERROR:RELAXNGV:RELAXNG_ERR_ATTRVALID: Element group failed to validate attributes

so i erase col=“6” in form and the group. the module is upgraded, i reintroduce the col=“6” and the group and the module upgrade…

strange no ?

Hi have a look at:

https://docs.tryton.org/7.0/server/topics/views/index.html#group

A group must have name or id defined. That should solve your problem. At least it does it for me. The behavior without a id or name is sometimes quite weird. You get it running, but at some point the form views causes errors.

Regards Jakob

1 Like

tanks very much, i’ll take care about that …

and i think (i cannot do extensive test) that the views can act weird when there is a group with colspan and no col in the parent (form) tag.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.