[ADD] stock_move_auto_assign_auto_release: moves auto release on automatic move assign

This commit is contained in:
Laurent Mignon (ACSONE)
2022-11-22 12:17:10 +01:00
committed by Thierry Ducrest
parent 237924ec50
commit b32c5e15ee
19 changed files with 920 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>