v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 3880
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Discuss (mail)
Lines of code 191
Technical Name stock_mts_mto_rule
LicenseAGPL-3
Websitehttps://github.com/OCA/stock-logistics-warehouse
Versions 14.0 8.0 9.0 10.0 11.0 12.0 13.0 15.0 16.0
You bought this module and need support? Click here!

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.

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.

Known issues / Roadmap

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.

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
For the 14 version
by
Carbotecnia S.A. de C.V.
on 5/31/21, 5:37 PM

Hello, this module will be available for v14?


very good module
by
Muhammad Eltyar
on 3/9/20, 5:56 AM

there's just one thing missing in last step, it should check Reordering Rules if this items for Minimum & Maximum Quantity to add it to purchase order. it will be perfect if you modify it.


Good morning, is it possible to have the Stock MTS+MTO Rule for Odoo v14?
by
Ivano Persico
on 12/26/20, 12:26 PM



Stuck!
by
Dennis Ndegwa
on 6/17/20, 3:42 PM

For the life of me I can't figure out why I keep getting the exception "Can't find MTS Rule on the warehouse". This happens when I try to add the rule inside the warehouse. We already have manufacture and buy routes under the warehouse and they are working fine. The Odoo version is Odoo 10 Enterprise. Please help. What am I missing?


answer
by
Mindaugas
on 1/17/20, 6:06 AM

if you need to creat MO, not PO, you need to check 2 routes. Manufacture+MTO+MTS


ODOO13
by
janarthanan
on 12/14/19, 10:42 AM

Hi Team, When ODOO13 version will be available?


by
Nasik
on 11/23/19, 4:02 AM

How can I make it work with manufacture and not buy? So that it generates a MO instead of PO when stock gets to 0