This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.


Warehouses are designed for physical locations from which you can deliver to the customer and to which you receive raw materials. Then when you buy products from a supplier you should take account of which Warehouse you use for this purchase. This also enables the end user to not have to choose from a list of locations but simply a real warehouses.

Use the menu Stock Management ‣ Configuration ‣ Warehouses then click New to configure a new warehouse.

A warehouse is defined by a link between three locations:

  • The Location Stock field shows the place of products available for delivery to a customer direct from this warehouse. Availability is given by all the products in that location and any child locations.

  • The Location Input field shows where ordered products are received from a supplier to that warehouse. It can be the same as the stock location if, for example, you want to do a quality control operation on your incoming raw materials.

  • The Location Output field (called Output in the demonstration database) is designed as a buffer zone in which you store all the items that have been picked but not yet delivered to a customer. You're strongly advised not to put this location within the stock hierarchy but instead at a level higher or the same.


    Warehouse parameters

You can also set an address for the warehouse. This address should ideally be an address for your company. Once the warehouse has been defined it can be used in:

  • 最小库存规则,

  • 供应商订单,

  • 客户订单 (用在 POS的定义,关联到一个仓库).

Automatic procurement

Several methods of automatically procuring products can be carried out by OpenERP:

  • the workflow used by products that have the procurement mode Make to Order,

  • using minimum stock rules for Make to Stock products,

  • using the master production schedule for Make to Stock products.

The two last methods are described below.

Minimum stock rules

To automatically make stock replenishment proposals, you can use minimum stock rules. To do this use the menu Stock Management ‣ Automatic Procurements ‣ Minimum Stock Rules.

The rule is the following: if the virtual stock for the given location is lower than the minimum stock indicated in the rule, the system will automatically propose a procurement to increase the level of virtual stock to the maximum level given in the rule.


List of minimum stock rules


Conflict resolution

You may find that draft production or procurement orders don't happen correctly. That can happen if the system is badly configured (for example if you've forgotten to set the supplier on a product).

To check this, look at the list of procurements in the exception state in the menu Stock Management ‣ Automatic Procurements ‣ Exceptions Procurements. More detail on handling these exceptions is given in 生产制造.

It's important to underline that the rule is based on virtual quantities and not just on real quantities. It then takes account of the calculation of orders and receipts to come.

Take the following example:

  • Products in stock: 15

  • Products ordered but not delivered: 5

  • Products in manfacture: 2

The rules defined are:

  • Minimum stock: 13

  • Maximum stock: 25.

Once the rules have been properly configured the purchasing manager only needs to look at the list of orders for confirmation with the supplier using the menu Purchase Management ‣ Purchase Orders ‣ Requests for Quotation.

Note that the procurement doesn't require that you buy from a supplier. If the product has a Supply method of Produce the scheduler will generate a production order and not a supplier order.

You can also set multiple quantities in the minimum stock rules. If you set a multiple quantity of 3 the system will propose procurement of 15 pieces not the 13 it really needs. In this case it automatically rounds the quantity upwards.

In a minimum stock rule, when you indicate a warehouse it suggests a stock location by default in that warehouse. You can change that location by default when the scheduler completes, by location and not by warehouse.