I have custom model, when I'm trying to make grouping only 'name' is grouped. On grouping by any other custom field odoo makes groups with zero count in tree view, something like this:
<field_1> (0)
<field_2> (0)
...
<field_n> (0)
I've written search view with 'group_by' filters in context, but the result is the same - groups with zero count.
It should be something simple I'm not considering.
Any suggestion?