stock_past desactualizado en SQL queries?

Bug #804434 reported by Alfonso Belloso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Spanish Localization Project
Won't Fix
Low
Unassigned

Bug Description

En el log del Openerp he visto estas entradas, y he localizado que pueden derivarse del módulo stock_past que tengo cargado. Podría cambiar las entradas correspondientes del fichero stock.py y poner %s donde ha visto que pone %d, pero como no entiendo de python y de SQL, no estoy seguro de hacerlo. Sería suficiente?

[2011-07-01 18:00:49,310][test] WARNING:sql:select warehouse_id from sale_shop where id=%d
[2011-07-01 18:00:49,310][test] WARNING:sql:SQL queries mustn't contain %d or %f anymore. Use only %s
[2011-07-01 18:00:49,311][test] WARNING:sql:select lot_stock_id from stock_warehouse where id=%d
[2011-07-01 18:00:49,311][test] WARNING:sql:SQL queries mustn't contain %d or %f anymore. Use only %s
[2011-07-01 18:00:49,418][test] WARNING:sql:select warehouse_id from sale_shop where id=%d
[2011-07-01 18:00:49,418][test] WARNING:sql:SQL queries mustn't contain %d or %f anymore. Use only %s
[2011-07-01 18:00:49,419][test] WARNING:sql:select lot_stock_id from stock_warehouse where id=%d
[2011-07-01 18:00:49,419][test] WARNING:sql:SQL queries mustn't contain %d or %f anymore. Use only %s

Revision history for this message
Jordi Esteve (www.zikzakmedia.com) (jesteve-zikzakmedia) wrote :

Si, seguramente sería suficiente. Pruébalo a ver que tal. Debería funcionar igual de bien sin que aparezcan los warnings.

Este módulo es para la v5 y no se ha portado a la v6, por lo que dudo que se esté manteniendo. De todos modos, si te funciona bien y subes un patch, yo lo aplico a la rama de la v5.

Changed in openerp-spain:
importance: Undecided → Low
Changed in openerp-spain:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.