c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02945
[Bug 672362] Re: Error duplicating a product
Hello,
Our R&D Teams are focused on the latest OpenERP version, and this issue does not seem to affect it.
Could you try with the latest development version (for example v6.0RC1 available on openerp.com), and reopen the bug if it is still present in it?
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Invalid
--
Error duplicating a product
https://bugs.launchpad.net/bugs/672362
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Invalid
Bug description:
After upgrading to openerp server 5.15, when I try to duplicate a product, I get the following error:
Environment Information :
System : Linux-2.6.35-23-generic-i686-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Operating System Release : 2.6.35-23-generic
Operating System Version : #36-Ubuntu SMP Tue Oct 26 17:03:18 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 5.0.12
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/netsvc.py", line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/addons/product_variant_multi/product_variant.py", line 191, in copy
return super(product_product, self).copy(cr, uid, id, default, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/addons/product/product.py", line 548, in copy
context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3210, in copy
self.copy_translations(cr, uid, id, new_id, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3186, in copy_translations
target_obj.copy_translations(cr, uid, old_child, new_child, context=context)
(.... cut many duplicated lines)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3186, in copy_translations
target_obj.copy_translations(cr, uid, old_child, new_child, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3186, in copy_translations
target_obj.copy_translations(cr, uid, old_child, new_child, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3179, in copy_translations
old_record, new_record = self.read(cr, uid, [old_id, new_id], [field_name], context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 2229, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 2336, in _read_flat
res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 2229, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 2376, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/fields.py", line 425, in get
ids2 = obj.pool.get(self._obj).search(cr, user, [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3049, in search
(qu1, qu2, tables) = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3028, in _where_calc
e = expression.expression(args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/expression.py", line 71, in __init__
if not reduce(lambda acc, val: acc and (self._is_operator(val) or self._is_leaf(val)), exp, True):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/expression.py", line 71, in <lambda>
if not reduce(lambda acc, val: acc and (self._is_operator(val) or self._is_leaf(val)), exp, True):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/expression.py", line 37, in _is_operator
return isinstance(element, (str, unicode)) and element in ['&', '|', '!']
RuntimeError: maximum recursion depth exceeded while calling a Python object
References