Skip to Content
Menu
This question has been flagged
2 Replies
9123 Views


In Odoo-10 List view start time and end time data added using the below code

time = fields.Float(string='Start Time',required=True)
end_time = fields.Float(string='End Time',required=True)    These are my modal fields

<field name="time" widget="float_time" />
<field name="end_time" widget="float_time" />    These are my view fields

 and the problem is while using Groupby it shows total start time and total end time..

how can i solve this to avoid sum? 


Avatar
Discard
Author

thhank you for your support 

its working...

Best Answer

Hi, You can remove sum of total in group by in tree view by means of group_operator as follows:

time = fields.Float(string='Start Time',required=True, group_operator=False)

end_time = fields.Float(string='End Time',required=True,group_operator=False)

Thank you.

Avatar
Discard