How I can add a group by to related field in Odoo v14 ,15 ?
Cette question a été signalée
1
Répondre
5927
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
0
sept. 23
|
41 | ||
|
|
4
mars 23
|
19083 | ||
|
|
2
juil. 22
|
5558 | ||
|
|
2
juil. 22
|
3598 | ||
|
|
0
mai 22
|
3764 |
If you are getting an error after using store=True then you should upgrade your module. this will resolve your issue