Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Packaging

by
NICO SOLUTIONS - ENGINEERING & IT
, Nils Coenen
- 08/12/2023 18:29:56

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 

 

Follow-Ups

  • Avatar

    Re: Packaging

    by
    NICO SOLUTIONS - ENGINEERING & IT
, Nils Coenen
    - 12/12/2023 10:21:44 - 0
  • Avatar

    Re: Packaging

    by
    Moduon Team, S. L., Jairo Llopis
    - 11/12/2023 13:27:19 - 0