Tienes razon, pero me resulta extraño pq ejecute hg npull como siempre, no 
entiendo pq me actualiizo la version a la 3.1 ?

El lunes, 10 de marzo de 2014 18:29:12 UTC-3, Luis Deiana escribió:
>
> 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'])
>
>

Responder a