Products can be managed in several packaged forms. For example, if you sell batteries you can define the following packages for a given battery product:
Piece: a battery,
Blister Pack: a pack of 4 batteries,
Pack of 100 blisters: 400 batteries,
Palette: 40 packs for a total of 16,000 batteries.
OpenERP's package management enables you to sell the same product in several different forms. The salesperson could sell separately, one battery or a palette of batteries. In the order, you can select the default packaging type as a function of the quantities ordered.
For example, if the customer wants to buy 30,000 batteries, the salesperson can select the palette package. OpenERP will then propose to sell 32,000 batteries, which corresponds to two palettes. Or the salesperson can select 75 packs.
Доступные упаковки определяются в форме продукта, во вкладке Упаковки (Packaging). Первый элемент списка будет использоваться в качестве значения, предлагаемого по умолчанию.
Once a package has been defined on the order, OpenERP will throw up an alert if the ordered quantities do not correspond to the proposed packages. The quantity must be a multiple of the field Quantity by Package defined on the packaging form.
Do not confuse the management of packaging with the management of multiple units of measure. The Unit of Measure is used to manage the stock differently according to the various units. With packages, the stock is always managed by individual items, but information about the package to use is supplied to the storesperson along with that item.
Even if the effects are the same, the printed documents will be different. The two following operations have the same effect on stock movement levels, but will be printed differently on the sales order and the packing order as where quantities are concerned:
32 000 батареек, доставленные на двух палетах,
2 палеты батареек, без информации об упаковках.
If the customer wants to order a palette and 10 packs, the salesperson can put two order lines on the sales order using the same product with different units of measure.
It is sometimes more useful to define different products than to define several possible packages for the same product. A case of beer in a supermarket is a good example. A case holds 24 bottles, plus the empty case itself. The customer can buy bottles by the piece or a case of 24 bottles at one go.
You could define two packages for the Bottle of beer : PCE and case . But this representation does not let you manage the stock and price of empty cases. So you might instead prefer a Bill of Materials, defining and using three different products:
пустой ящик для пива,
ящик пива с 24 бутылками.
Вы также определяете спецификацию (см. ниже), которая описывает состав ящика пива с 24 бутылками:
Ящик с 24 бутылками пива: 1 ед.,
Бутылка пива: 24 ед.,
Пустой ящик для пива: 1 ед.
Each of these three products has a different price. The products Bottle of beer and Empty case of beer have a stock level that needs to be managed. The Case of 24 bottles of beer has no stock because, if you sell the product, OpenERP automatically moves the stock in two lines, one for the empty case and the other for the 24 individual bottles of beer. For more information on bills of materials, see chapter Defining your Master Data.