c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08700
[Bug 690676] Re: current transaction is aborted, commands ignored until end of transaction block
Mile,
I have been trying to replicate the same error to help you out as you are using stable version.
But, unfortunately I see that replicating this at my end doesnt seem so easy.
I doubt that you have removed the UOM might have been removed by you.
Whatever the case may be, it would be helpful to you if you can attach the copy of your Database.
Thanks.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690676
Title:
current transaction is aborted, commands ignored until end of transaction block
Status in OpenObject Addons Modules:
Won't Fix
Bug description:
When trying to add new lines to sale order i get an error:
Environment Information :
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : hr_HR.cp1250
Python Version : 2.5.2
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/audittrail/audittrail.py", line 341, in execute
return fct_src(db, uid, passwd, model, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/base_module_record/base_module_record.py", line 38, in execute
res = super(recording_objects_proxy, self).execute(*args, **argv)
File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2230, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2377, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/fields.py", line 662, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/product/product.py", line 383, in _product_lst_price
uom = product.uos_id or product.uom_id
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 240, in __getattr__
return self[name]
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 190, in __getitem__
datas = self._table.read(self._cr, self._uid, ids, fffields, context=self._context, load="_classic_write")
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2230, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2303, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 123, in execute
res = self._obj.execute(query, params)
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
Steps:
1. Open new sale order
2. Insert partner and save sale order
3. Open form for adding lines/products
4. When pressing button for opening selection of products I get an error
References