From 79131387a2ba00174364b7f7c7debb4ec9ad4934 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Mon, 19 Jul 2021 15:18:35 +0200 Subject: [PATCH] [DOC] describe how to write queue.job.function in case of function defined in abstract model --- queue_job/readme/USAGE.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/queue_job/readme/USAGE.rst b/queue_job/readme/USAGE.rst index 6c472eccf9..b595a9c595 100644 --- a/queue_job/readme/USAGE.rst +++ b/queue_job/readme/USAGE.rst @@ -43,6 +43,13 @@ they have different xmlids. On uninstall, the merged record is deleted when all the modules using it are uninstalled. +**Job function: model** + +If the function is defined in an abstract model, you can not write +```` +but you have to define a function for each model that inherits from the abstract model. + + **Job function: channel** The channel where the job will be delayed. The default channel is ``root``.