← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 780242] [NEW] 5.0.15 product_variant_multi cant copy template anymore

 

Public bug reported:

When copying templates in v5.15 I get now the following error:

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 116, in copy
    return super(product_template, self).copy(cr, uid, id, default, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3225, in copy
    self.copy_translations(cr, uid, id, new_id, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/addons/product_variant_multi/product_variant.py", line 126, in copy_translations
    return super(product_product, self).copy_translations(cr, uid, old_id, new_id, context=context)
TypeError: super(type, obj): obj must be an instance or subtype of type

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

-- 
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/780242

Title:
  5.0.15 product_variant_multi cant copy template anymore

Status in OpenERP Modules (addons):
  New

Bug description:
  When copying templates in v5.15 I get now the following error:

  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 116, in copy
      return super(product_template, self).copy(cr, uid, id, default, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/osv/orm.py", line 3225, in copy
      self.copy_translations(cr, uid, id, new_id, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9010/addons/product_variant_multi/product_variant.py", line 126, in copy_translations
      return super(product_product, self).copy_translations(cr, uid, old_id, new_id, context=context)
  TypeError: super(type, obj): obj must be an instance or subtype of type


Follow ups

References