Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8194 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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?

Tác giả

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"

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Câu trả lời hay nhất

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 .

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
1765
2
thg 9 16
34955
0
thg 3 15
2870
1
thg 3 15
3518
2
thg 3 15
6381