콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2166 화면

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 

아바타
취소

please update question with related code

작성자

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

That is why I added the screenshot

베스트 답변

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

아바타
취소
작성자

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

작성자

Done that was simple thank you

관련 게시물 답글 화면 활동
1
3월 24
1474
0
7월 23
25
1
12월 24
1199
1
12월 23
1473
0
11월 23
1549