Skip to content

Commit

Permalink
Merge PR #2250 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Mar 23, 2020
2 parents 7f576a7 + 6a30e3a commit de9068b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions odoo/addons/base/migrations/11.0.1.3/pre-migration.py
Expand Up @@ -92,10 +92,9 @@ def fill_cron_action_server_pre(env):

def set_currency_rate_dates(env):
"""Set currency rate date by creation user timezone."""
openupgrade.add_fields(env, [
('name', 'res.currency.rate', 'res_currency_rate', 'date',
False, 'base'),
])
openupgrade.logged_query(
env.cr,
"ALTER TABLE res_currency_rate ADD COLUMN name DATE")
cr = env.cr
openupgrade.logged_query(
cr, """
Expand Down

0 comments on commit de9068b

Please sign in to comment.