How I can add a group by to related field in Odoo v14 ,15 ?
To pytanie dostało ostrzeżenie
1
Odpowiedz
5925
Widoki
you can't apply groupby on field that is not store in database so first you store this fields by adding parametes store=True after this you can apply as well as other
I added store = True as an attribute
when I add the group by on this field I got an error when I click on any record or when I select a group by tab
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
wrz 23
|
41 | ||
|
|
4
mar 23
|
19083 | ||
|
|
2
lip 22
|
5558 | ||
|
|
2
lip 22
|
3596 | ||
|
|
0
maj 22
|
3763 |
If you are getting an error after using store=True then you should upgrade your module. this will resolve your issue