addons14/project_timesheet_time_control/hooks.py
def post_init_hook(cr, registry):
    """Put the date with 00:00:00 as the date_time for the line."""
    cr.execute(
        """UPDATE account_analytic_line
        SET date_time = to_timestamp(date || ' 00:00:00',
                                     'YYYY/MM/DD HH24:MI:SS')
        WHERE date(date_time) != date
        """
    )
Put the date with 00:00:00 as the date_time for the line.
Put the date with 00:00:00 as the date_time for the line.
Put the date with 00 : 00 : 00 as the date_time for the line .
def post_init_hook(cr, registry):
    cr.execute(
        """UPDATE account_analytic_line
        SET date_time = to_timestamp(date || ' 00:00:00',
                                     'YYYY/MM/DD HH24:MI:SS')
        WHERE date(date_time) != date
        """
    )
def post_init_hook ( cr , registry ) : cr . execute ( """UPDATE account_analytic_line
        SET date_time = to_timestamp(date || ' 00:00:00',
                                     'YYYY/MM/DD HH24:MI:SS')
        WHERE date(date_time) != date
        """ )
Put the date with 00:00:00 as the date_time for the line.
Put the date with 00 : 00 : 00 as the date_time for the line .
"""Put the date with 00:00:00 as the date_time for the line."""
cr
registry