Skip to main content
Odoo Community Association

Stock MTS+MTO Rule

Mature License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runboat

This module add a Make To Stock + Make to Order Route.

If you choose the make to stock + make to order rule instead of the make to order route, the creation of a purchase order will depend on the virtual stock. There are 3 cases :

  1. The virtual stock of the product is 0
    => It will act exactly like the make to order route.
  2. The virtual stock is equal to the quantity ordered
    => It will act exactly like a make to stock route
  3. The virtual stock is more than 0 but less than ordered quantity
    => On part of the products will be taken from stock and a purchase order
    will be created for the rest. So it will act like both make to order and make to stock rule.

Example : We have a virtual stock of : 1 product A A sale Order is made for 3 products A. 2 Procurements will be created :

  1. 1 with a make to stock rule and a quantity of 1

  2. 1 with a make to order rule and a quantity of 2.

After validation, a purchase order with 2 products will be created.

Table of contents

Configuration

You have to select ‘Use MTO+MTS rules’ on the company’s warehouse form.

Known issues

If you cancel a delivery order and then recreate it from Recreate Delivery Order button in sale order form, then the stock level at the time of the Re-Creation won’t be taken into account. So if a purchase order was created when the sale order was first validated, a similar purchase order will be created during the Re-creation of the delivery order, even if not needed regarding the actual stock.

Usage

You have to select the mts+mto route on the product form. You should not select both the mts+mto route and the mto route.

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

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Release files for odoo-addon-stock-mts-mto-rule 18.0.1.0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-stock-mts-mto-rule 18.0.1.0.0.6
File Interpreter ABI Platform
odoo_addon_stock_mts_mto_rule-18.0.1.0.0.6-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_stock_mts_mto_rule-18.0.1.0.0.6-py3-none-any.whl

Download URL odoo_addon_stock_mts_mto_rule-18.0.1.0.0.6-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
253bc3e962278a624b1fcb253c350f185d8bdc517deafa014179c7c9387f93f7
BLAKE2b-256 checksum
How to use checksums
3adeafd6cc2e763cdf6a1e772725ea15c4a59cfa400c3012280baa4f1e7dc9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page