Skip to content

Commit

Permalink
Fix bad syntax in query
Browse files Browse the repository at this point in the history
the query is not correct because of semicolon
  • Loading branch information
flotho authored Sep 23, 2019
1 parent 01be3dd commit 784d5f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def migrate(env, version):
openupgrade.logged_query(
cr, """
UPDATE hr_employee
SET service_hire_date = initial_employment_date;
SET service_hire_date = initial_employment_date
WHERE initial_employment_date IS NOT NULL;
"""
)

0 comments on commit 784d5f3

Please sign in to comment.