← Back to team overview

openerp-india team mailing list archive

[Bug 918155] [NEW] error account_move_line._query_get

 

Public bug reported:

Environment Information : 
System : Linux-2.6.37.6-0.9-desktop-x86_64-with-SuSE-11.4-x86_64
OS Name : posix
LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID:	SUSE LINUX
Description:	openSUSE 11.4 (x86_64)
Release:	11.4
Codename:	Celadon
Operating System Release : 2.6.37.6-0.9-desktop
Operating System Version : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.7.0
OpenERP-Client Version : 6.1rc1
Last revision No. & ID :2023 openerp@xxxxxxxxxxxxxxxxxxxxx-20120118083133-wwi16avrslrutald
Traceback (most recent call last):
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
    result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 175, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3395, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3506, in _read_flat
    res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/fields.py", line 1052, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/srv/openerp/instances/trunk/openobject-addons/account/account.py", line 290, in __compute
    aml_query = self.pool.get('account.move.line')._query_get(cr, uid, context=context)
AttributeError: 'account_move_line' object has no attribute '_query_get'

** 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/918155

Title:
  error account_move_line._query_get

Status in OpenERP Addons (modules):
  New

Bug description:
  Environment Information : 
  System : Linux-2.6.37.6-0.9-desktop-x86_64-with-SuSE-11.4-x86_64
  OS Name : posix
  LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
  Distributor ID:	SUSE LINUX
  Description:	openSUSE 11.4 (x86_64)
  Release:	11.4
  Codename:	Celadon
  Operating System Release : 2.6.37.6-0.9-desktop
  Operating System Version : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.7.0
  OpenERP-Client Version : 6.1rc1
  Last revision No. & ID :2023 openerp@xxxxxxxxxxxxxxxxxxxxx-20120118083133-wwi16avrslrutald
  Traceback (most recent call last):
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
      result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 175, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3395, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 3506, in _read_flat
      res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/fields.py", line 1052, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/srv/openerp/instances/trunk/openobject-addons/account/account.py", line 290, in __compute
      aml_query = self.pool.get('account.move.line')._query_get(cr, uid, context=context)
  AttributeError: 'account_move_line' object has no attribute '_query_get'

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


Follow ups

References