mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] Process jobs 'validate_one_move' in a dedicated job channel
To avoid concurrent update when validating the account_move on ir_sequence, jobs must be processed one by one. Using a dedicated channel enable to isolate the processing of the 'validate_one_move' jobs from the root channel
This commit is contained in:
committed by
Artem Kostyuk
parent
bb62f533e0
commit
d0eb8597ef
@@ -28,6 +28,10 @@ from openerp.tools.translate import _
|
||||
from openerp.addons.connector.queue.job import job
|
||||
from openerp.addons.connector.session import ConnectorSession
|
||||
from openerp.addons.connector.queue.job import OpenERPJobStorage
|
||||
from openerp.addons.connector.connector import install_in_connector
|
||||
|
||||
# install the module in connector to register the job function
|
||||
install_in_connector()
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user