Odoo Help

Welcome!

This community 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.

1

Product Variant in Open ERP 7

By
Srini
on 4/4/13, 12:41 AM 4,637 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

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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
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 .

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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