hi!, working with inherited screens i discovered that when i change from text to design view code is automatically modified and repeats componentes tags without any user intervention.

Original xml inherited screen:

hi!, working with inherited screens i discovered that when i change from text to design view code is automatically modified and repeats componentes tags without any user intervention.

Original xml inherited screen:

Hi, its inherited from other two screens, these are the files in order from the base screen:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
caption="msg://editorCaption"
class="com.company.caerp.web.comprobante.ComprobanteEdit"
messagesPack="com.company.caerp.web.comprobante">
<dialogMode height="600"
width="800"/>
<layout expand="mainSplit"
spacing="true">
<split id="mainSplit"
orientation="horizontal"
pos="80"
width="100%">
<scrollBox id="scrollBox"
height="100%"
margin="true"
spacing="true">
<vbox id="scrollBoxInfo"
margin="true"
spacing="true"/>
</scrollBox>
<vbox height="100%"
margin="true"
spacing="true">
<groupBox id="procActionsBox"
caption="msg://Procesos"
height="100%"
icon="COG"
orientation="vertical"
showAsPanel="true"
spacing="true"
stylename="well">
<frame id="procActionsFrame"
screen="procActionsFrame"
width="AUTO"/>
</groupBox>
</vbox>
</split>
<frame id="windowActions"
screen="editWindowActions"/>
</layout>
</window>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
class="com.company.caerp.web.comprobante.ExtComprobanteClienteEdit" datasource="comprobanteDs"
extends="com/company/caerp/web/comprobante/comprobante-edit.xml">
<dsContext>
<datasource id="comprobanteDs" class="com.company.caerp.entity.ComprobanteCliente"
view="comprobante-cliente-view"/>
<collectionDatasource id="depositoesDs" class="com.company.caerp.entity.Deposito" view="_minimal">
<query><![CDATA[select e from caerp$Deposito e]]></query>
</collectionDatasource>
<collectionDatasource id="unidadNegociosDs" class="com.company.caerp.entity.UnidadNegocio" view="_minimal">
<query><![CDATA[select e from caerp$UnidadNegocio e]]></query>
</collectionDatasource>
<collectionDatasource id="monedasDs" class="com.company.caerp.entity.Moneda" view="_minimal">
<query><![CDATA[select e from caerp$Moneda e]]></query>
</collectionDatasource>
<collectionDatasource id="cotizacionsDs" class="com.company.caerp.entity.Cotizacion" view="_minimal">
<query><![CDATA[select e from caerp$Cotizacion e]]></query>
</collectionDatasource>
<collectionDatasource id="articuloesDs" class="com.company.caerp.entity.Articulo" view="_base">
<query><![CDATA[select e from caerp$Articulo e]]></query>
</collectionDatasource>
<collectionDatasource id="sucursalsDs" class="com.company.caerp.entity.Sucursal" view="sucursal-view">
<query><![CDATA[select e from caerp$Sucursal e]]></query>
</collectionDatasource>
</dsContext>
<layout>
<split id="mainSplit">
<scrollBox id="scrollBox">
<vbox id="scrollBoxInfo" margin="false">
<grid spacing="true" width="100%">
<columns count="1"/>
<rows>
<row>
<label icon="LIST" stylename="h2 bold" value="Informacion General:"/>
</row>
<row>
<vbox spacing="true">
<fieldGroup id="fieldgroup_3" datasource="comprobanteDs" fieldCaptionWidth="160px">
<column width="250px">
<field property="fecha"/>
</column>
</fieldGroup>
<fieldGroup id="fieldGroup" datasource="comprobanteDs" fieldCaptionWidth="160px">
<column width="250px">
<field property="sucursal"/>
</column>
<column width="250px">
<field property="unidadNegocio" required="true"/>
</column>
<column width="250px">
<field property="deposito" required="true"/>
</column>
</fieldGroup>
<fieldGroup id="fieldGroup_Cliente" datasource="comprobanteDs"
fieldCaptionWidth="160px">
<column width="250px">
<field property="cliente" required="true"/>
</column>
</fieldGroup>
<fieldGroup id="fieldGroup_FPago" datasource="comprobanteDs"
fieldCaptionWidth="160px">
<column width="250px">
<field caption="msg://Forma de Pago" property="fpago"/>
</column>
<column width="250px">
<field property="moneda"/>
</column>
</fieldGroup>
<fieldGroup id="fieldgroup_5" datasource="comprobanteDs" fieldCaptionWidth="160px">
<column width="380px">
<field property="observacion" rows="3"/>
</column>
</fieldGroup>
</vbox>
</row>
</rows>
</grid>
</vbox>
<tabSheet id="tabSheetMain" stylename="framed">
<tab id="itemsTab" caption="msg://Items">
<frame id="itemsFrame" screen="comprobante-item-articulo-frame"/>
</tab>
<tab id="asociadosTab" caption="msg://Comprobantes Asociados" spacing="true">
<frame id="asociadosFrame" screen="comprobante-asociado-frame"/>
</tab>
</tabSheet>
</scrollBox>
</split>
</layout>
</window>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
class="com.company.caerp.web.comprobante.ExtComprobanteTransferenciaClienteEdit"
extends="com/company/caerp/web/comprobante/ext-comprobante-cliente-edit.xml">
<layout/>
</window>
Please set id attribute for row tag of grid tag in ext-comprobante-cliente-edit.xml.
If you create a screen that can be overridden, please set id for tags wherever possible.