addons14/project_timesheet_time_control/models/account_analytic_line.py
def _duration(self, start, end):
        """Compute float duration between start and end."""
        try:
            return (end - start).total_seconds() / 3600
        except TypeError:
            return 0
Compute float duration between start and end.
Compute float duration between start and end.
Compute float duration between start and end .
def _duration(self, start, end):
        try:
            return (end - start).total_seconds() / 3600
        except TypeError:
            return 0
def _duration ( self , start , end ) : try : return ( end - start ) . total_seconds ( ) / 3600 except TypeError : return 0
Compute float duration between start and end.
Compute float duration between start and end .
"""Compute float duration between start and end."""
self
start
end