Hello everybody, I have a Function field into a model that emulates an
Integer field.

duration =
fields.Function(fields.Integer(string='Duration',readonly=True,depends
= ['start','stop'],on_change_with =
['start','stop']),'compute_duration')

into the tree view i set the sum attribute

<field name="duration" sum="tot hours"/>

The string 'tot hours' appears at the bottom of the view with no sum

tot hours: -

I also tried to force the widget setting widget="integer" but without
success

any idea?

thanks

-- 
[email protected] mailing list

Reply via email to