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
                
            
        
        
            
                4754
                
                    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  | 17549 | ||
|  | 2 lip 22  | 4326 | ||
|  | 2 lip 22  | 2726 | ||
|  | 0 maj 22  | 2657 | 
 
                        
If you are getting an error after using store=True then you should upgrade your module. this will resolve your issue