Skip to content

Commit

Permalink
[14.0][MIG] - queue_job_subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
sbejaoui committed Sep 16, 2021
1 parent d0c6487 commit d9e0a72
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^base_export_async/|
^queue_job_subscribe/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
3 changes: 1 addition & 2 deletions queue_job_subscribe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Queue Job Subscribe",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"author": "Acsone SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/queue",
"summary": "Control which users are subscribed to queue job notifications",
"license": "AGPL-3",
"category": "Generic Modules",
"depends": ["queue_job"],
"data": ["views/res_users_view.xml"],
"installable": False,
}
6 changes: 3 additions & 3 deletions queue_job_subscribe/tests/test_job_subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def _create_failed_job(self):

def test_job_subscription(self):
"""
When a job is created, all user of group
queue_job.group_queue_job_manager are automatically set as
follower except if the flag subscribe_job is not set
When a job is created, all user of group
queue_job.group_queue_job_manager are automatically set as
follower except if the flag subscribe_job is not set
"""

#################################
Expand Down
1 change: 1 addition & 0 deletions setup/queue_job_subscribe/odoo/addons/queue_job_subscribe
6 changes: 6 additions & 0 deletions setup/queue_job_subscribe/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit d9e0a72

Please sign in to comment.