Problem with product_variant_multi

Asked by michela piloni on 2013-02-13

I have downloaded the module product_variant_multi 7.0.1.0 , but when i install it and i try to open a product i have this error:
------------------------------------------------------------------------------------------------------------------------------------
OpenERP Server Error

Client Traceback (most recent call last):
  File "/data/store/openerp/web/addons/web/http.py", line 195, in dispatch
    response["result"] = method(self, **self.params)
  File "/data/store/openerp/web/addons/web/controllers/main.py", line 1079, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/data/store/openerp/web/addons/web/controllers/main.py", line 1071, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/data/store/openerp/web/addons/web/session.py", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/data/store/openerp/web/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/data/store/openerp/web/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/data/store/openerp/web/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/data/store/openerp/openerp/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/data/store/openerp/openerp/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/data/store/openerp/openerp/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/data/store/openerp/openerp/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/data/store/openerp/openerp/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/data/store/openerp/openerp/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/data/store/openerp/addons/stock/product.py", line 438, in fields_view_get
    res = super(product_product,self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
  File "/data/store/openerp/openerp/openerp/osv/orm.py", line 2235, in fields_view_get
    arch=apply_view_inheritance(cr, user, source, sql_res['id']),
  File "/data/store/openerp/openerp/openerp/osv/orm.py", line 2193, in apply_view_inheritance
    source = apply_inheritance_specs(source, view_arch, view_id)
  File "/data/store/openerp/openerp/openerp/osv/orm.py", line 2177, in apply_inheritance_specs
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/data/store/openerp/openerp/openerp/osv/orm.py", line 2070, in raise_view_error
    % (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'product_variant_multi.product_normal_variant_form_view' on model 'product.product': Element '<group col="2" colspan="2" groups="base.group_extended">' not found in parent view 'product.product_normal_form_view'
--------------------------------------------------------------------------------------------------------------------------------------------

Thanks

Michela

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Raphaël Valyi - http://www.akretion.com
Solved:
2013-02-13
Last query:
2013-02-13
Last reply:
2013-02-13

Hello Michela,

this module hasn't be migrated to OpenERP v7 yet. You should take (or ask some developer to do it) that branch https://code.launchpad.net/~product-core-editors/openerp-product-variant/extraction-70
And adapt it for OpenERP 7.0
At Akretion we may end up doing it, but without any time-frame warranty, most likely within a month or two.

Thanks Raphaël Valyi - http://www.akretion.com, that solved my question.

Hello Michela,

I actually worked a bit on this because for v7 I want to see some convergence between how we model varianted products and configurable products on OpenERP. So I actually made a fairly usable beta of the product_variant_multi module.
See the related merge proposal and branch:
https://code.launchpad.net/~akretion-team/openerp-product-variant/migr-v7-wip/+merge/148852
The merge isn't done yet cause it's not 100% clean yet as explained in the comments. You may still beta test the associated branch however.

Hope this helps.