Hello to all,
I am currently downgrading a module from Tryton 3.2 to 3.0.2, the reason is
that we have modules compatible with 3.0.0 that have been upgraded and the
developers are not available yet. Since Tryton is not backwards compatible
this can be very frustrating for us and the business as we need things done.
Onto the point. I have modified many files to follow the structure of 3.0.0
but when installing the module I get the following error for one of the XML
view files:
[Thu Sep 18 13:24:21 2014] ERROR:convert:Error while parsing xml file:
In tag record: model ir.ui.view with id prestashop_app_form.
<string>:20:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute
widget for element field
For this file:
<?xml version="1.0"?>
<!-- This file is part prestashop module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Prestashop APP" col="4">
<label name="name"/>
<field name="name"/>
<notebook>
<page string="General" id="general">
<label name="debug"/>
<field name="debug"/>
<label name="customer_default_group"/>
<field name="customer_default_group"/>
<separator id="languages" string="Languages" colspan="4"/>
<field name="languages" colspan="4"/>
</page>
<page string="Authentication" id="authentication">
<label name="uri"/>
<field name="uri" colspan="3"/>
<label name="key"/>
<field name="key" widget="password"/>
<button name="test_connection" string="Test Connection"
colspan="4"/>
</page>
<page string="Import" id="import">
<separator string="Store" colspan="4" id="store"/>
<button name="core_store" string="Import Prestashop Store"
colspan="4"/>
<separator string="Customer" colspan="4" id="customer"/>
<button name="core_customer_group" string="Import Customer
Group" colspan="4"/>
<separator string="Taxes" colspan="4" id="tax"/>
<button name="core_taxes" string="Import Taxes" colspan="4"/>
</page>
<page string="Countries" id="countries">
<separator string="Countries" colspan="4" id="countries"/>
<field name="prestashop_countries" colspan="4"/>
<button name="core_states" string="Import States" colspan="4"/>
</page>
</notebook>
<notebook>
<page string="Taxes" id="taxes">
<field name="prestashop_tax_rules_group" colspan="4"/>
<separator string="Default taxes" colspan="4"
id="default-taxes"/>
<label
string="Default taxes when create a new product and don't
have tax in Prestashop."
id="default-taxes-info"
yalign="0.0" xalign="0.0" xexpand="1"/>
<field name="default_taxes" colspan="4"/>
</page>
<page string="Websites" id="websites">
<field name="prestashop_websites"/>
</page>
</notebook>
</form>
This is the first Time I'm porting such a big module. Thanks in Advance!
Oscar Tark