تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
7 الردود
6055 أدوات العرض

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

 

الصورة الرمزية
إهمال
أفضل إجابة

Please post the solution here! some expert dev

الصورة الرمزية
إهمال
أفضل إجابة

@Rainboows Can you post the solution for us?

 

الصورة الرمزية
إهمال
أفضل إجابة

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

 

We can help you with Odoo

الصورة الرمزية
إهمال
الكاتب

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

أفضل إجابة

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

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3944
0
يوليو 15
4509
1
نوفمبر 22
3410
0
يونيو 21
5965
0
مارس 21
2782