2014-09-18 13:26 GMT+02:00 Oscar Tark <[email protected]>:

> 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.
>

If API change, you need change code.

More frustrating is need migrate database each version. Tryton solve this
feature.


> 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
>

I know this module! ;)

Simply: widget password is "sha" in 3.0, not "password".

More info:

http://hg.tryton.org/trytond/file/1f25a12b7928/CHANGELOG#l31
http://hg.tryton.org/trytond/rev/011b342d37aa?revcount=240

-- 
Raimon

Reply via email to