← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 874728] [NEW] stock location structure error

 

Public bug reported:

when double-clicking any of the locations showing the view menu:
   warehose> inventory control> structure location
shows the following error...

Environment Information :
System : Linux-2.6.38-11-generic-x86_64-with-Ubuntu-11.04-natty
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 11.04
Release:	11.04
Codename:	natty
Operating System Release : 2.6.38-11-generic
Operating System Version : #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : es_MX.UTF8
Python Version : 2.7.1+
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/openerp/instancias/produccion/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/instancias/produccion/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 2946, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 3066, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/openerp/instancias/produccion/server/bin/osv/fields.py", line 801, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/home/openerp/instancias/produccion/server/bin/addons/product/product.py", line 421, in _product_lst_price
    res[product.id] = product.list_price
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 292, in __getattr__
    return self[name]
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 205, in __getitem__
    field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 2946, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 3005, in _read_flat
    cr.execute(query, (tuple(sub_ids),))
  File "/home/openerp/instancias/produccion/server/bin/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/openerp/instancias/produccion/server/bin/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column does not exist product_product.project_id
LINE 1: ...ct.track_outgoing,product_product.product_tmpl_id,product_pr...
                                                              ^

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

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

Title:
  stock location structure error

Status in OpenERP Addons (modules):
  New

Bug description:
  when double-clicking any of the locations showing the view menu:
     warehose> inventory control> structure location
  shows the following error...

  Environment Information :
  System : Linux-2.6.38-11-generic-x86_64-with-Ubuntu-11.04-natty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty
  Operating System Release : 2.6.38-11-generic
  Operating System Version : #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : es_MX.UTF8
  Python Version : 2.7.1+
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/openerp/instancias/produccion/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp/instancias/produccion/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/instancias/produccion/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 2946, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 3066, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/home/openerp/instancias/produccion/server/bin/osv/fields.py", line 801, in get
      res = self._fnct(obj, cr, user, ids, name, self._arg, context)
    File "/home/openerp/instancias/produccion/server/bin/addons/product/product.py", line 421, in _product_lst_price
      res[product.id] = product.list_price
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 292, in __getattr__
      return self[name]
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 205, in __getitem__
      field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 2946, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/openerp/instancias/produccion/server/bin/osv/orm.py", line 3005, in _read_flat
      cr.execute(query, (tuple(sub_ids),))
    File "/home/openerp/instancias/produccion/server/bin/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/instancias/produccion/server/bin/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column does not exist product_product.project_id
  LINE 1: ...ct.track_outgoing,product_product.product_tmpl_id,product_pr...
                                                                ^

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


Follow ups

References