Skip to content

Commit 11de52b

Browse files
committed
Merge PR #762 into 17.0
Signed-off-by sbidoul
2 parents ed84f76 + 46b0d8f commit 11de52b

File tree

3 files changed

+12
-23
lines changed

3 files changed

+12
-23
lines changed

queue_job/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "Job Queue",
5-
"version": "17.0.1.3.0",
5+
"version": "17.0.1.3.1",
66
"author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)",
77
"website": "https://github.com/OCA/queue",
88
"license": "LGPL-3",

queue_job/migrations/17.0.1.2.0/pre-migration.py

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
2+
from openupgradelib import openupgrade
3+
4+
5+
@openupgrade.migrate()
6+
def migrate(env, version):
7+
# Remove cron garbage collector
8+
openupgrade.delete_records_safely_by_xml_id(
9+
env,
10+
["queue_job.ir_cron_queue_job_garbage_collector"],
11+
)

0 commit comments

Comments
 (0)