İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2483 Görünümler

I have a many2many field in my invoice, which i want to show in the QWEB invoice, I applied this FOREACH loop for that purpose


But it is showing like this in report

Everything is correct, I just want to delet this diamond.info 

Avatar
Vazgeç

please update question with related code

Üretici

I am unable to copy code,
It is showing just this when I copy the code,
- - ()

That is why I added the screenshot

En İyi Yanıt

Hi,

You have to check and see how the value is computed/added in the field diamond_weight . What is its type, how value is added in it etc

Thanks

Avatar
Vazgeç
Üretici

We have a Many2Many field in the product.template, I simply used the many2one product_id, available in account.move.line, and fetched the diamond_weight from product form,
From the above screenshot all is correct even the values (4.15 - - (BL) and (0.88 - VS-VVS - (F-G)) are fetched correctly, i just want to remove the diamond.info(40560) from both the lines

can you try by giving diamond_weight.name or diamond_weight.display_name and see if it makes any difference

Üretici

Done that was simple thank you

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 24
1475
0
Tem 23
25
1
Ara 24
1774
1
Ara 23
1807
0
Kas 23
1795