Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
6217 Weergaven

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.


Avatar
Annuleer

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

Beste antwoord

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

Avatar
Annuleer
Auteur

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.

Beste antwoord

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

Avatar
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
3
mrt. 22
9691
0
mrt. 23
1949
1
jan. 25
2779
1
jan. 21
3808
3
jan. 23
29454