This is the case when the product has the type kit.
This is the case when the component are defined on a product which the type service or goods because this just create sale lines as usual.
For kits, that will be managed by updating the unit price on the sale line.
For non-kits, as the additional lines are created after going to quotation, the user will need to go back to draft to edit the unit price of the new lines.
Iâm not sure I understood correctly the price thing. When selling books, we sometimes have:
Book volume 1 : ISBN1 : price1
Book volume 2 : ISBN2 : price2
Book set of two volumes : ISBN3 : price 3 < price2+price1
Stock for the kit (set of the two volumes) must be âadaptedâ from the real stocks of vol 1 and 2.
Is this price3 possible?
Is this module able to do this dynamic stock update?
Yes, you should set ISBN3 as âKitâ product type, set a list price for it and define as ISBN1 and ISBN2 as itâs components and then use ISBN3 on sale lines. Then tryton will:
Create an invoice using ISBN3 with the sale list price
Create a shipment for ISBN1 and ISBN2 with the required quantities to match the sale line quantity.
For computing the ISBN3 stock the stock of itâs componens will be used:
Thanks for this development.
I noted the following points:
Variant / components tab: Hide if the product type is not a kit
Product and variant form : hide the producible field.
The idea of product with components that are not kit is to sell them combined. So if you sale the product, you have to sell also the other components.
So when moving the sale to quotation, the components will be added automatically as new line on the sale. We will keep a link with the product on those line in order to remove them if we go back to draft.