mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[ADD] stock_move_auto_assign_auto_release: moves auto release on automatic move assign
This commit is contained in:
committed by
Thierry Ducrest
parent
237924ec50
commit
b32c5e15ee
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<record id="channel_stock_auto_release" model="queue.job.channel">
|
||||
<field name="name">stock_auto_release</field>
|
||||
<field name="parent_id" ref="queue_job.channel_root" />
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<record
|
||||
id="job_function_product_product_moves_auto_release"
|
||||
model="queue.job.function"
|
||||
>
|
||||
<field name="model_id" ref="product.model_product_product" />
|
||||
<field name="method">moves_auto_release</field>
|
||||
<field name="channel_id" ref="channel_stock_auto_release" />
|
||||
<field name="retry_pattern" eval="{1: 1, 5: 5, 10: 10, 15: 30}" />
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user