Commit Graph

6 Commits

Author SHA1 Message Date
OCA-git-bot
3f671e2316 [BOT] post-merge updates 2023-11-02 10:24:10 +00:00
OCA-git-bot
39c834f6ea [UPD] README.rst 2023-09-03 17:22:50 +00:00
OCA-git-bot
70c5c21e72 [UPD] README.rst 2022-11-04 15:59:43 +00:00
OCA-git-bot
14b9a3c0de [UPD] README.rst 2022-11-03 15:07:32 +01:00
Tran Thanh Phuc
feb70a55e4 [MIG] stock_move_auto_assign: Migration to 14.0 2022-11-03 15:07:32 +01:00
Guewen Baconnier
be3b4b2857 Add stock_move_auto_assign
Automatically check availability of stock moves when a move is set to "done".

It uses queue jobs to verify the availability in order to have a minimal impact
on the user operations.

The conditions to trigger the check are:

* A move is marked as done
* The destination locations of the move lines are internal
* The move doesn't have successors in a chain of moves

At this point, jobs are generated:

* One job per product
* Any move waiting for stock in a parent (or same) location of the internal
  destination locations from the done move has its availability checked

Only one job is generated for an identical set of (product, locations).
2022-11-03 15:07:32 +01:00