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

I have created a custom field that shows the currency based on the company. This works fine, except when doing a group by by product, my goal is that in the grouping it also shows the currency or currencies as follows: EUR, USD, etc. I think it has to do with the read_group function, however I can't customize it in a way that solves my case.


아바타
취소

You can use store=True to show computed fields in search filter (group by).

베스트 답변

When you group by product, do you want to show the groups based on currency field?

아바타
취소
작성자

When I group by product I want the currency field to appear to me and for it not only to appear when I enter the different lines of each product.

베스트 답변

Hi,

Is it a non stored compute field or related field ? If so, make it stored and try. Just set store=True along with field declaration.

Thanks

아바타
취소
작성자

The field is a related field, however if I add store true this does not solve my problem.

관련 게시물 답글 화면 활동
3
3월 22
10093
0
3월 23
2147
1
1월 25
3064
1
1월 21
3987
3
1월 23
29725