c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33238
[Bug 859649] Re: Save "New" supplier payment failed
Hello,
According to comment #2 I am closing this issue.
Thanks
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
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/859649
Title:
Save "New" supplier payment failed
Status in OpenERP Addons (modules):
Invalid
Bug description:
I'm using 6.0.2 web Client.
At Accounting->Supplier Payment, where i create a new supplier payment by clicking the New Button.
After i input all necessary fields and click the "Save" button then below exception occured.
** I even click "Save and Edit" or "Validate" button the result is the same --unable to save payment record
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/osv/orm.py", line 3692, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/opt/openerp/server/bin/osv/orm.py", line 3786, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
File "/opt/openerp/server/bin/osv/fields.py", line 795, in get
res = self._fnct(cr, obj._table, ids, name, self._arg, context)
File "/opt/openerp/server/bin/addons/account_voucher/account_voucher.py", line 810, in _compute_balance
currency_pool = self.pool.get('res.currency')
File "/opt/openerp/server/bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/server/bin/sql_db.py", line 237, in __getattr__
return getattr(self._obj, name)
AttributeError: 'cursor' object has no attribute 'pool'
Thanks a lot
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/859649/+subscriptions
References