Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
6227 Переглядів

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.

Related Posts Відповіді Переглядів Дія
3
бер. 22
9701
0
бер. 23
1952
1
січ. 25
2797
1
січ. 21
3827
3
січ. 23
29457