@@ -135,6 +135,7 @@ Configuration
135135 ``--http-interface `` or ``localhost `` if unset
136136 - ``ODOO_QUEUE_JOB_HTTP_AUTH_USER=jobrunner ``, default empty
137137 - ``ODOO_QUEUE_JOB_HTTP_AUTH_PASSWORD=s3cr3t ``, default empty
138+ - ``QUEUE_JOB__NO_DELAY=1 ``, disables the queue for testing purposes
138139 - Start Odoo with ``--load=web,queue_job `` and ``--workers `` greater
139140 than 1. [1 ]_
140141
@@ -155,6 +156,7 @@ Configuration
155156 port = 443
156157 http_auth_user = jobrunner
157158 http_auth_password = s3cr3t
159+ queue_job__no_delay =True # disables the queue
158160
159161 - Confirm the runner is starting correctly by checking the odoo log
160162 file:
@@ -481,7 +483,8 @@ running Odoo**
481483When you are developing (ie: connector modules) you might want to bypass
482484the queue job and run your code immediately.
483485
484- To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment.
486+ To do so you can set QUEUE_JOB\_ _NO_DELAY=1 in your environment, or
487+ include queue_job\_ _no_delay=True in your Odoo server configuration.
485488
486489**Bypass jobs in tests **
487490
@@ -599,7 +602,8 @@ calling ``jobs_tester.perform_enqueued_jobs()`` in your test.
599602When you are developing (ie: connector modules) you might want to bypass
600603the queue job and run your code immediately.
601604
602- To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment.
605+ To do so you can set `` QUEUE_JOB__NO_DELAY =1 `` in your environment, or
606+ include queue_job\__no_delay=True in your Odoo server configuration.
603607
604608Warning
605609
0 commit comments