How I can add a group by to related field in Odoo v14 ,15 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
4180
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
|
16831 | ||
|
2
lip 22
|
3699 | ||
|
2
lip 22
|
2226 | ||
|
0
maj 22
|
2007 |
If you are getting an error after using store=True then you should upgrade your module. this will resolve your issue