Stock MTS+MTO Rule

Stock MTS+MTO Rule

by Contaura LLC · original work by Akretion, OCA
stock_mts_mto_rule
$ 29.00

Add a MTS+MTO route

1.0

One purchase covers every version. Already bought it? Sign in.

Stock MTS+MTO Rule

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.

Technical namestock_mts_mto_rule
Module version12.0.1.0.2
Tulio versions1.0
CategoryInventory
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsAkretion, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Requires (Tulio core)stock
Lines of code398
Downloads0
Released12/06/2026
12.0.1.0.2 Tulio 1.0 · 12/06/2026