How to configure correctly queues

I am working on version 7.0 of tryton and I need to configure queues, I have noticed that when posting an invoice it executes the post() method twice, once when the button is pressed and once when the queue() method is executed, I’m not sure how it works.

I would like to disable the queues since generally the volume of invoices is low and when posting we do not need tryton to run a queue again.

I have read the documentation [0] but I don’t know how to configure it. An example would be very good for me.

I also don’t really know how this method works [1], any information would be quite useful.

[0] Task Queue — Tryton server

[1] https://foss.heptapod.net/tryton/tryton/-/blob/branch/default/modules/account_invoice/invoice.py?ref_type=heads#L1790

You disable the queue by not activating it in the configuration with [queue] worker = False.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.