Odoo Help

1

Product Variant in Open ERP 7

By
Srini
on 4/4/13, 12:41 AM 5,265 views

Hi,

I installed product-variant addon from "bzr branch lp:openerp-product-variant". It shows as installed. After I install this addon my Product create screen get error.

Can any one suggest me how to reslove this issue.

Its on top priority for us to fix this issue as roll out date for us is approaching fast.

That branch is 'Development' not 'Mature' so I am guessing it is not ready yet. Also, what do you mean by 'error'? What kind of error? Have you searched the web for the text of the error?

Bista Solutions US, Ray Carnes
on 4/4/13, 12:46 AM

More information about the error (Invalid XML) posted in duplicate at http://help.openerp.com/question/9593/error-while-installing-product-variant-multi-advanced-addon/

Bista Solutions US, Ray Carnes
on 4/4/13, 1:04 AM

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' ---------------------This is the error I see in the last line of "OpenERP Server Error"

Srini
on 4/4/13, 1:05 AM
1
Ray Carnes
On 4/4/13, 1:08 AM

base.group_extended is a group from 6.1 that no longer exists at 7.0.

I am now more certain that this branch is not ready to be installed with 7.0 because the XML is looking for something that can't exist at version 7.0.

Thanks for the answer. Ray can you please let me know if I can work on resolving this issue and let me know where to get started. P.S. I am new to openerp and I am basically a java developer.

Srini
on 4/4/13, 1:12 AM

You can start with updating the inherited views so they match the new parent view definition in the product module at 7.0. It requires you to compare the product views in 6.1 and 7.0 it is trying to inherit and replace the anchors that used to exist at 6.1 with ones that exist at 7.0. There could be more to do. You might be better off contacting the maintainer on Launchpad to see what plans they have to finish the migration to 7.0 and how you can help.

Bista Solutions US, Ray Carnes
on 4/4/13, 1:21 AM
0
samir Guesmi
On 5/6/13, 1:31 PM

hi guys

in your product_view.xml

change this ( with Italic ) <group col="2" colspan="2" groups="base.group_extended" position="replace"> .. .. .. .. </group>

by this :

<xpath expr="/form/sheet/notebook/page/group/group/field[@name='variants']" position="before">

.. .. ..

</xpath>

:) ENJOY .

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 4/4/13, 12:41 AM
Seen: 5265 times
Last updated: 3/16/15, 8:10 AM