stock_past desactualizado en SQL queries?
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
Changed in openerp-spain: | |
status: | New → Won't Fix |
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.