I added a boolean field in my search view. When i grouped it, instead of the field name it shows true. I want remove the true showing in the filter view. I added string="field label" and name="field label" both are not working.
Then i listed and take search view, still shows wrongly.
Please suggest a method to search perfectly a boolean field.
How can i solve this?
For Eg:
'temporary_employees' : fields.boolean('Temporary Employees'),
<group string="Temporary Employees">
<filter string="Temporary Employees" icon="terp-gtk-select-all" domain="['&',('temporary_employees', '=', True)]" context="{'group_by':'temporary_employees'}"/>
</group>
When i take group by of the above field, search name shows as True/false instead of Temporary Employees.
When we give filter string="Temporary Employees", group by name will shows the corresponding string name,right?But for boolean field it showing true/false in kanban view and in tree view showing checkbox. How can i get the dting in the group by?
Hello Rosery, what do you want to do exactly ? Are you willing to make a similar filter as the 'customer' 'supplier' in Partners search view ? If not, could you post some example of what you want to do ?Regards
Please check the updated question