← Back to team overview

openerp-india team mailing list archive

[Bug 997616] Re: traceback when i clear an item in search of Inventory analysis

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/6.1
   Importance: Undecided
       Status: New

** Changed in: ocb-addons/6.1
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/997616

Title:
  traceback when i clear an item in search of Inventory analysis

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  New
Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  can be reproduced in runbot, trunk _all

  Go to "Reporting/ Warehouse/Inventory Analysis

  in the report, clear the search criteria "Filter: Product"

  traceback:

  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 914, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 951, in do_search_read
      records = Model.read(ids, fields or False, context)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 3409, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 3468, in _read_flat
      cr.execute(query, (tuple(sub_ids),))
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column report_stock_inventory.year does not exist
  LINE 1: SELECT report_stock_inventory."date",report_stock_inventory....
                                               ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/997616/+subscriptions


References