Skip to Content
Menú
This question has been flagged
2 Respostes
8437 Vistes

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.

Avatar
Descartar

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?

Autor

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"

Best Answer

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.

Avatar
Descartar
Autor

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.

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.

Best Answer

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 .

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 24
2385
2
de set. 16
35239
0
de març 15
3104
1
de març 15
3804
2
de març 15
6381