[IMP] contract_queue_job: black, isort, prettier

This commit is contained in:
Yannis Burkhalter
2022-11-16 14:15:13 +01:00
committed by OCA-git-bot
parent 0b428bab73
commit 63dcf0ecf4
4 changed files with 10 additions and 3 deletions

View File

@@ -8,9 +8,8 @@
instead of creating all invoices in one transaction""", instead of creating all invoices in one transaction""",
"version": "12.0.1.1.0", "version": "12.0.1.1.0",
"license": "AGPL-3", "license": "AGPL-3",
"author": "ACSONE SA/NV," "author": "ACSONE SA/NV," "Odoo Community Association (OCA)",
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/contract", "website": "https://github.com/OCA/contract",
"depends": ['contract', 'queue_job'], "depends": ["contract", "queue_job"],
"maintainers": ["sbejaoui"], "maintainers": ["sbejaoui"],
} }

View File

@@ -2,6 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models from odoo import api, models
from odoo.addons.queue_job.job import job from odoo.addons.queue_job.job import job
QUEUE_CHANNEL = "root.CONTRACT_INVOICE" QUEUE_CHANNEL = "root.CONTRACT_INVOICE"

View File

@@ -0,0 +1 @@
../../../../contract_queue_job

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)