Skip to content

Commit

Permalink
Merge PR OCA#686 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Sep 29, 2024
2 parents 34a58bc + 89c2364 commit dc9c48e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions queue_job/migrations/15.0.1.1.0/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@


def migrate(cr, version):
with api.Environment.manage():
env = api.Environment(cr, SUPERUSER_ID, {})
_logger.info("Computing exception name for failed jobs")
_compute_jobs_new_values(env)
env = api.Environment(cr, SUPERUSER_ID, {})
_logger.info("Computing exception name for failed jobs")
_compute_jobs_new_values(env)


def _compute_jobs_new_values(env):
Expand Down

0 comments on commit dc9c48e

Please sign in to comment.