Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9429 Visualizzazioni


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
Abbandona
Autore

thhank you for your support 

its working...

Risposta migliore

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
Abbandona