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

Hi, I've a problem with the Product Label in OdooV8. When I try to print it for a product, the field <variant type="field" name="attribute_value_ids"/> shows me a text like "product.attribute.value" and the Database ID of the values, not the value of the attributes. How can I remove the text "product.attribute.value" and show the correct attributes value?

Thank you

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Please post the solution here! some expert dev

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

@Rainboows Can you post the solution for us?

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You have to iterate over attrinute_value_ids in loop and then print needed properties of it.

 

We can help you with Odoo

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

if i use attribute_value_ids.name in the xml it show me only the first variant. the problem is this, how can i iterate the attrinute_value_ids in the xsl and so show the property name for each variant?

@Rainboows, did you solved it? Can you share the solution? Thanks. @Marek, could you give us more details about the solution. Thanks

I see email from post but do not know what was the question.

Marek

2014-10-09 10:16 GMT+02:00 pakito <portaltemplate8590@mail.odoo.com>:

@Rainboows, did you solved it? Can you share the solution? Thanks. @Marek, could you give us more details about the solution. Thanks

--
pakito
Sent by Odoo Inc. using Odoo about Forum Post False

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

@Rainboows, did you solved it? Can you share the solution? Thanks.

@Marek, could you give us more details about the solution. Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3944
0
thg 7 15
4510
1
thg 11 22
3419
0
thg 6 21
5965
0
thg 3 21
2783