Remove @job decorator

Following changes in https://github.com/OCA/queue/pull/274
This commit is contained in:
Guewen Baconnier
2021-01-28 16:21:21 +01:00
committed by Hai Lang
parent 11deadb394
commit aec61b5aed
4 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record
id="job_function_product_product_moves_auto_assign"
model="queue.job.function"
>
<field name="model_id" ref="product.model_product_product" />
<field name="method">moves_auto_assign</field>
<field name="channel_id" ref="channel_stock_auto_assign" />
<field name="retry_pattern" eval="{1: 1, 5: 5, 10: 10, 15: 30}" />
</record>
</odoo>