← Back to team overview

openerp-india team mailing list archive

[Bug 1119441] [NEW] [7.0] problem with reporting inventory analysis

 

Public bug reported:

when I delete "Product" filter i have this error:

OpenERP Server Error
Client Traceback (most recent call last):
  File "/home/openerp/openerpV7/openerp/addons/web/http.py", line 195, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/openerp/openerpV7/openerp/addons/web/controllers/main.py", line 1005, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/home/openerp/openerpV7/openerp/addons/web/controllers/main.py", line 1040, in do_search_read
    records = Model.read(ids, fields or False, req.context)
  File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/openerp/openerpV7/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/openerpV7/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openerpV7/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/openerp/openerpV7/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openerpV7/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openerpV7/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/openerp/openerpV7/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openerpV7/openerp/osv/orm.py", line 3606, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/openerp/openerpV7/openerp/osv/orm.py", line 3658, in _read_flat
    cr.execute(query, [tuple(sub_ids)] + rule_params)
  File "/home/openerp/openerpV7/openerp/sql_db.py", line 162, in wrapper
    return f(self, *args, **kwargs)
  File "/home/openerp/openerpV7/openerp/sql_db.py", line 227, 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....

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1119441

Title:
  [7.0] problem with reporting inventory analysis

Status in OpenERP Addons (modules):
  New

Bug description:
  when I delete "Product" filter i have this error:

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/openerp/openerpV7/openerp/addons/web/http.py", line 195, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/openerp/openerpV7/openerp/addons/web/controllers/main.py", line 1005, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/home/openerp/openerpV7/openerp/addons/web/controllers/main.py", line 1040, in do_search_read
      records = Model.read(ids, fields or False, req.context)
    File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/openerp/openerpV7/openerp/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp/openerpV7/openerp/netsvc.py", line 295, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp/openerpV7/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/openerpV7/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/openerp/openerpV7/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/openerpV7/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/openerpV7/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/openerp/openerpV7/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/openerpV7/openerp/osv/orm.py", line 3606, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/openerp/openerpV7/openerp/osv/orm.py", line 3658, in _read_flat
      cr.execute(query, [tuple(sub_ids)] + rule_params)
    File "/home/openerp/openerpV7/openerp/sql_db.py", line 162, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/openerpV7/openerp/sql_db.py", line 227, 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/openobject-addons/+bug/1119441/+subscriptions


Follow ups

References