mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Remove @job decorator
Following changes in https://github.com/OCA/queue/pull/274
This commit is contained in:
committed by
Hai Lang
parent
11deadb394
commit
aec61b5aed
12
stock_move_auto_assign/data/queue_job_function_data.xml
Normal file
12
stock_move_auto_assign/data/queue_job_function_data.xml
Normal 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>
|
||||
Reference in New Issue
Block a user