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
