# 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).

Table of contents

- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Other credits
  - Maintainers

# Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

# Credits

## Authors

- Camptocamp

## Contributors

- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Phuc Tran Thanh <phuc@trobz.com>

## Other credits

The development of this module has been financially supported by:

- Camptocamp

## Maintainers

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.