mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_move_auto_assign_auto_release: Release release_ready pickings instead of moves
Instead of just releasing the release ready moves of a give product it now releases the whole transfer This ensures that a transfer with a release_policy=one gets not split
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<record
|
||||
id="job_function_product_product_moves_auto_release"
|
||||
id="job_function_product_product_pickings_auto_release"
|
||||
model="queue.job.function"
|
||||
>
|
||||
<field name="model_id" ref="product.model_product_product" />
|
||||
<field name="method">moves_auto_release</field>
|
||||
<field name="method">pickings_auto_release</field>
|
||||
<field name="channel_id" ref="channel_stock_auto_release" />
|
||||
</record>
|
||||
|
||||
<record id="job_function_stock_picking_auto_release" model="queue.job.function">
|
||||
<field name="model_id" ref="stock.model_stock_picking" />
|
||||
<field name="method">auto_release_available_to_promise</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