跳至内容
菜单
此问题已终结
2 回复
9164 查看


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? 


形象
丢弃
编写者

thhank you for your support 

its working...

最佳答案

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.

形象
丢弃