We have a product supplied in certain packaging (sand bag of 25 kg). We sell this sand in bags, not in weight.
We sell this product in its original packaging and others packaging (1 kg, 10 kg).
The unit sale price for 1 kg varies in function of the packaging, for example:
1 kg: 6 euros,
10 kg: 38 euros (3.8 euros/kg),
25 kg: 50 euros (2 euros/kg).
In a Tryton sale, we need:
to apply the price corresponding to a certain packaging;
indicate the quantity of the product in this certain packaging;
to show the packaging information in reports (sale, invoice, shipment).
Proposal
###UX
In the product form view, in general or sale tab, have a list of availables packagings; a packaging is a factor that multiplies the productâs UOM, and a price.
When we add a product in a sale, there is a field to select the packaging of the product. When we select a packaging the unit price is updated with packaging price.
In the documents (sale, invoice, shipment), we have one supplementary column indicating packaging.
Is it not better to implement a âsecond sale UOMâ which is from a different UOM category than the default UOM. Instead of introducing a new object âpackagingâ which will be confusing with the existing one from stock_package.
As this will result in the creation of many new UOM category, we should maybe also allow to constraint a category to a set of product because sand âbag of 25 kgâ is not the same as a cement âbag of 25 kgâ.
Why not?
For what I see from the *package modules, package is no more than a second unit of measure. And by naming it like that, it allows to have a more generic usage.
Also the name package is already used by stock_package module for a very different meaning.
We often see that the unit price is different by packaging but not linked to the factor/rate between secondary unit.
Sample : Product is stored in KG but sell in bag 10KG for 10⏠and bag 20kg for 15âŹ.
Or do you think the secondary unit could be used in list price ?
We also have this scenario. We have the same product sold in different âcontainersâ and their prices change, but the change in price is not a function of the quantity. The change in price is a function of the cost of the container.
For me when the price is not in relation with the quantity than it is no more one product but two different products because they are not more interchangeable (which conflict with the Tryton definition of product).
Of course you could manage both products as being produced from the same raw material.
Or if you do not want to deal with production, you can create two kit product composed from the same raw material.
We ended up going with 2 products and 3 BOMâs. 1 BOM for the ârawâ product and 1 BOM for each packaged product using the production_phantom_bom module