@@ -101,6 +101,7 @@ Configuration
101101 ``--http-interface `` or ``localhost `` if unset
102102 - ``ODOO_QUEUE_JOB_HTTP_AUTH_USER=jobrunner ``, default empty
103103 - ``ODOO_QUEUE_JOB_HTTP_AUTH_PASSWORD=s3cr3t ``, default empty
104+ - ``QUEUE_JOB__NO_DELAY=1 ``, disables the queue for testing purposes
104105 - Start Odoo with ``--load=web,queue_job `` and ``--workers `` greater
105106 than 1. [1 ]_
106107
@@ -121,6 +122,7 @@ Configuration
121122 port = 443
122123 http_auth_user = jobrunner
123124 http_auth_password = s3cr3t
125+ queue_job__no_delay =True # disables the queue
124126
125127 - Confirm the runner is starting correctly by checking the odoo log
126128 file:
@@ -447,7 +449,8 @@ running Odoo**
447449When you are developing (ie: connector modules) you might want to bypass
448450the queue job and run your code immediately.
449451
450- To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment.
452+ To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment, or
453+ include queue_job\_ _no_delay=True in your Odoo server configuration.
451454
452455**Bypass jobs in tests **
453456
@@ -565,7 +568,8 @@ calling ``jobs_tester.perform_enqueued_jobs()`` in your test.
565568When you are developing (ie: connector modules) you might want to bypass
566569the queue job and run your code immediately.
567570
568- To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment.
571+ To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment, or
572+ include queue_job\__no_delay=True in your Odoo server configuration.
569573
570574Warning
571575
0 commit comments