-
-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] stock_move_auto_assign_auto_release: Release release_ready pick…
…ings 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
- Loading branch information
1 parent
18c4152
commit 6eb9c8f
Showing
6 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
11 changes: 8 additions & 3 deletions
11
stock_move_auto_assign_auto_release/data/queue_job_function_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* Laurent Mignon <laurent.mignon@acsone.eu> | ||
* Michael Tietz (MT Software) <mtietz@mt-software.de> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters