コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
6250 ビュー

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
9764
0
3月 23
2000
1
1月 25
2839
1
1月 21
3843
3
1月 23
29493