How I can add a group by to related field in Odoo v14 ,15 ?
此问题已终结
1
回复
6019
查看
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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
0
9月 23
|
41 | ||
|
|
4
3月 23
|
19187 | ||
|
|
2
7月 22
|
5725 | ||
|
|
2
7月 22
|
3717 | ||
|
|
0
5月 22
|
3855 |
If you are getting an error after using store=True then you should upgrade your module. this will resolve your issue