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

See the new Odoo user documentation.

See the new Odoo technical documentation.

进口 / 出口

Managing import / export with foreign companies can sometimes be very complex. Between a departure port and destination company, products can get stopped for several weeks at sea or somewhere in the numerous transportation stages and customs. To manage such deliveries efficiently it's important to:

  • know where your products are,

  • know when they're likely to arrive at their destination,

  • know your value in transit,

  • follow the development of the different steps.

Linked locations in OpenERP enable this all to be managed rather elegantly. You can use a structure like this:

  • 供应商

    • European Suppliers

    • Chinese Suppliers

  • In transit

    • Shanghai Port

    • Pacific Ocean

    • San Francisco Port

    • San Francisco Customs


The transit location are linked between themselves with a manual confirmation step. The internal stock move is validated at each port and customs arrival. OpenERP prepares all the linked moves automatically.



Companies that do import / export should install the module report_intrastat. This enables them to prepare the reports needed to declare product exports.

You can use the lead times between different locations to account for real delays. Your lead times and stock forecasts are calculated by OpenERP to estimate the arrival of incoming products so that you can respond to a customer's needs as precisely as possible.

You can also value the products in transit in your account depending on the chosen stock location configuration.

Rental locations

You can manage rental locations in OpenERP very simply using the same system of linked locations. Using the module stock_location you can set a return date for rental items sent to customer location after a certain rental period.

Then the set of real and virtual stocks is maintained daily in real time. The different operations such as delivery and receipt after a few days are automatically suggested by OpenERP which simplifies the work of data entry.

You then have the product list found in the customer locations and your own stock in your stock location. The list of goods receipts waiting is automatically generated by OpenERP using the location links.

The same principle is used for internal stock to generate the quality control for certain products.


The principle of linked locations is used to manage consigned products. You can specify that certain products should be returned to you a certain number of days after they have been delivered to customers.

When the products have been delivered OpenERP automatically creates goods receipts for the consigned product. The specified date is obviously approximate but enables you to forecast returns.