Skip to content

Commit

Permalink
[MIG] queue_job_batch, test_queue_job_batch: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amh-mw committed Jan 22, 2023
1 parent be22b7b commit 0f4b688
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 21 deletions.
9 changes: 7 additions & 2 deletions queue_job_batch/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Job Queue Batch",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/queue",
"license": "AGPL-3",
Expand All @@ -26,6 +26,11 @@
# views
"views/queue_job_views.xml",
"views/queue_job_batch_views.xml",
"views/assets_backend.xml",
],
"assets": {
"web.assets_backend": [
"queue_job_batch/static/src/js/systray.js",
"queue_job_batch/static/src/scss/systray.scss",
],
},
}
2 changes: 1 addition & 1 deletion queue_job_batch/models/queue_job_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def set_read(self):
notifications = []
channel = "queue.job.batch"
notifications.append([channel, {}])
self.env["bus.bus"].sendmany(notifications)
self.env["bus.bus"]._sendmany(notifications)
return res

@api.model
Expand Down
16 changes: 0 additions & 16 deletions queue_job_batch/views/assets_backend.xml

This file was deleted.

2 changes: 1 addition & 1 deletion queue_job_batch/views/queue_job_batch_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<field name="name">queue.job.batch.tree</field>
<field name="model">queue.job.batch</field>
<field name="arch" type="xml">
<tree string="Job Batches" create="false" delete="false">
<tree create="false" delete="false">
<field name="name" />
<field name="job_count" invisible="1" />
<field
Expand Down
2 changes: 1 addition & 1 deletion test_queue_job_batch/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Test Job Queue Batch",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/queue",
"license": "AGPL-3",
Expand Down

0 comments on commit 0f4b688

Please sign in to comment.