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

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 

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

please update question with related code

Tác giả

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

That is why I added the screenshot

Câu trả lời hay nhấ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

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

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

Tác giả

Done that was simple thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
1475
0
thg 7 23
25
1
thg 12 24
1916
1
thg 12 23
1957
0
thg 11 23
1862