Skip to Content

Contributors

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

Follow-Ups

  • Re: Packaging

    HI Jairo,

    thanks for your reply.

    Unfortunatly this does not cover the needs. When you enter a product to the sales order it only adds the packaging if the quantity of the product divided by the number of products inlcuded is an integer value. For example… a package with 6 is defined.

    In SO if you add 6 or 12 or 18 it adds the packaging. If you add 8 it will not add any packaging. And i want to have the package reusable.

     

    I will do some further testing. But anyway. Thanks for the input!

     

    All the best

    Nils

     

    -- 

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

     

     

    Von: jairo <notifications@odoo-community.org>
    Antworten an: Contributors <contributors@odoo-community.org>
    Datum: Montag, 11. Dezember 2023 um 13:32
    An: Contributors <contributors@odoo-community.org>
    Betreff: 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.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Nils Coenen - 10:26 - 12 Dec 2023
  • 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