@@ -105,6 +105,7 @@ Configuration
105105 ``--http-interface `` or ``localhost `` if unset
106106 - ``ODOO_QUEUE_JOB_HTTP_AUTH_USER=jobrunner ``, default empty
107107 - ``ODOO_QUEUE_JOB_HTTP_AUTH_PASSWORD=s3cr3t ``, default empty
108+ - ``QUEUE_JOB__NO_DELAY=1 ``, disables the queue for testing purposes
108109 - Start Odoo with ``--load=web,queue_job `` and ``--workers `` greater
109110 than 1. [1 ]_
110111
@@ -125,6 +126,7 @@ Configuration
125126 port = 443
126127 http_auth_user = jobrunner
127128 http_auth_password = s3cr3t
129+ queue_job__no_delay =True # disables the queue
128130
129131 - Confirm the runner is starting correctly by checking the odoo log
130132 file:
@@ -451,7 +453,8 @@ running Odoo**
451453When you are developing (ie: connector modules) you might want to bypass
452454the queue job and run your code immediately.
453455
454- To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment.
456+ To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment, or
457+ include queue_job\_ _no_delay=True in your Odoo server configuration.
455458
456459**Bypass jobs in tests **
457460
@@ -569,7 +572,8 @@ calling ``jobs_tester.perform_enqueued_jobs()`` in your test.
569572When you are developing (ie: connector modules) you might want to bypass
570573the queue job and run your code immediately.
571574
572- To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment.
575+ To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment, or
576+ include queue_job\__no_delay=True in your Odoo server configuration.
573577
574578Warning
575579
0 commit comments