Skip to Content

Contributors

Re: Packaging

El vie, 08-12-2023 a las 17:32 +0000, Nils Coenen | NICO SOLUTIONS - ENGINEERING & IT escribió:

i am looking for a way to attach packaging products (storable, with selling price) to a sales order automatically, when a specific product is selected.


by Jairo Llopis - 01:30 - 11 Dec 2023

Reference

  • Packaging

    Dear OCA’ers,

    i am looking for a way to attach packaging products (storable, with selling price) to a sales order automatically, when a specific product is selected.

    I already checked the sale_attach_product of the sales_workflow repo, but this doesnt seem to cover the needs in this case. It adds the same quantity of the parent product.

     

    I also checked the product-pack repo. But the flow seems to be the opposite way. You can select a pack in the sales order, which adds the pack components to the SO.

     

    What i want to achieve… Add a product „Product 1“ to sales order (e.g. quantity of 20).

    Automatic addition of the packaging product „Packaging Product“ to the sales order (quantity = quantity of Product 1 / variable then round up, so in this case e.g. 20/6=3,33 -> 4).

    Ideally this is related only to selected delivery methods or route. So for example: When the delivery is done by the company itself, the packaging product should be apllied to the sales order. If the delivery is performed by a shipping provider, the mechanism should not apply.

     

    I will go ahead checking the stock-logistics-warehouse repo. But if there is something helpful crossing your minds, feel free to share these thoughts…

     

    Cheerio

    Nils

     

    -- 

    NICO SOLUTIONS - ENGINEERING & IT 
    Dr.-Ruckert-Str. 
    1G 
    28865 Lilienthal 
    Deutschland (Germany) 
    Ust.-Idnr. (VAT-ID): DE341437044 

     


    by Nils Coenen - 06:31 - 8 Dec 2023