Al 30/06/12 20:44, En/na Jorge Rodríguez ha escrit:
Gracias por su ayuda:

Desde la terminal de la consola (Ubuntu-GNU/Linux), arranqué Tryton-Neso, y al instalar un módulo me salió en la consola el siguiente mensaje:

ERROR:ir:Invalid xml view:
<string>:2:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute select for element field <string>:3:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute select for element field <string>:4:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute select for element field <string>:6:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute select for element field <string>:7:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute select for element field
<tree string="Order Points">
                        <field name="product" select="1"/>
                        <field name="location" select="1"/>
                        <field name="type" select="1"/>
                        <field name="company"/>
                        <field name="min_quantity" select="2"/>
                        <field name="max_quantity" select="2"/>
                        <field name="unit"/>
                    </tree>
ERROR:convert:Error while parsing xml file:
In tag record: model ir.ui.view with id order_point_view_tree.

Según entiendo lo que ocurre es que no están definidos todavía productos, localización, tipo, compañía, mínimo y máximo y las unidad que requiere para visualizar datos...será que estoy interpretando bien el mensaje de error?

No exactamente. Ciertamente, la vista tree para los order points està mal, pero el error fíjate que te lo da al principio "Invalid attribute select for element field" y aparece 5 veces. El problema es que el atributo select que lo tienes puesto en 5 campos (product, location, type, min_quantity y max_quantity) ya no se usa en la v2.4 y los deberías eliminar de la vista. select servía para indicar si un campo se usaba como filtro (búsqueda) de registros (1 para búsqueda normal y 2 para búsqueda extendida), y a partir de la v2.4 se puede buscar por cualquier campo y usado operadores lógicos en cualquier objeto.

Jordi

--
Jordi Esteve
Consultor Zikzakmedia SL
[email protected]
Mòbil 679 170 693

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
Tèl 93 890 2108

--
[email protected] mailing list

Responder a