Skip to content

Commit

Permalink
Merge pull request #339 from Tecnativa/9.0-project_timesheet_time_con…
Browse files Browse the repository at this point in the history
…trol-ou

[IMP] project_timesheet_time_control: OpenUpgrade migration script
  • Loading branch information
dreispt committed Nov 22, 2017
2 parents e8204d7 + 1f3f96d commit f94fe82
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Tecnativa - Pedro M. Baeza
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html


from openerp.addons.project_timesheet_time_control import post_init_hook


def migrate(cr, version):
"""Fill correct date time also on migrations from module
project_work_time_control.
"""
if not version:
return
post_init_hook(cr, None)

0 comments on commit f94fe82

Please sign in to comment.