Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8193 Visualizzazioni

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
Abbandona

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?

Autore

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"

Risposta migliore

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
Abbandona
Autore

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.

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 24
1765
2
set 16
34955
0
mar 15
2870
1
mar 15
3518
2
mar 15
6381