2014-03-10 16:32 GMT-05:00 Sergi Almacellas Abellana <[email protected]>:
> > > On 10 de març de 2014 22:29:12 CET, Luis Deiana <[email protected]> > wrote: > >Buenas tardes, al actualizar los modulos y ejecutar el comando trytond > >-u > >all -d basededatos me tira el siguiente error: > > > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:31: > > > >DeprecationWarning: on_change argument is deprecated, use the depends > >decorator > > help='The goods are picked up by the customer before the sale, so no ' > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:205: > > > >DeprecationWarning: on_change_with argument is deprecated, use the > >depends > >decorator > > depends=['type', 'currency_digits']), 'get_unit_price_w_tax') > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:214: > > > >DeprecationWarning: on_change_with argument is deprecated, use the > >depends > >decorator > > depends=['type', 'currency_digits']), 'get_amount_w_tax') > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:195: > > > >DeprecationWarning: on_change_with argument is deprecated, use the > >depends > >decorator > > class SaleLine: > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:385: > > > >DeprecationWarning: on_change argument is deprecated, use the depends > >decorator > > on_change=['product', 'unit', 'quantity', 'sale'], required=True) > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:393: > > > >DeprecationWarning: on_change argument is deprecated, use the depends > >decorator > > depends=['product_uom_category'], required=True) > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:381: > > > >DeprecationWarning: on_change_with argument is deprecated, use the > >depends > >decorator > > class AddProductForm(ModelView): > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:398: > > > >DeprecationWarning: on_change_with argument is deprecated, use the > >depends > >decorator > > on_change_with=['product']), > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/sale.py:405: > > > >DeprecationWarning: on_change argument is deprecated, use the depends > >decorator > > depends=['unit_digits'], required=True) > >/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale_pos/device.py:17: > > > >DeprecationWarning: on_change argument is deprecated, use the depends > >decorator > > on_change=['shop']) > > Estas mezclando diferentes versiones de la api. > > El sale_pos esta preparado para correr con la version 3.0 de tryton > (actual estable) y estas corriendo el servidor en la version de desarrollo. > 3.1 actualmente. > > Si obtienes el servidor desde el repositorio de codigo, te recomiendo usar > la rama 3.0 > > Saludos! > > -- > Enviado desde mi teléfono Android con K-9 Mail. Disculpa mi brevedad > Tal vez sea porque la dependencia "sale_shop" está en la versión 3.1 https://bitbucket.org/zikzakmedia/trytond-sale_shop/src/8e28ec104555f0eb809dad9545beb744d31992bb/tryton.cfg?at=default#cl-2 ¿Qué sugieren hacer? Editar el tryton.cfg para forzarlo a trabajar con la 3.0 o hacer el clone desde un commit anterior: https://bitbucket.org/zikzakmedia/trytond-sale_shop/commits/cf03018283cabdf071631cd9b30022dd4d43618b?at=default
