← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 804434] [NEW] stock_past desactualizado en SQL queries?

 

Public bug reported:

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

** Affects: openerp-spain
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/804434

Title:
  stock_past desactualizado en SQL queries?

Status in OpenERP Spanish Localization Project:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-spain/+bug/804434/+subscriptions


Follow ups

References