OdooWiki OCA HUB

Sale Order Product Recommendation with Default Packaging

sale_order_product_recommendation_packaging_default folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module extends the functionality of sale order product recommendations to support gathering and specifying product packaging and to allow you to input that info directly from the recommendations wizard.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When using the recommended products wizard on a sale order, you can now choose a sales packaging and the number of packages for each recommended line, and that packaging information is carried over to the sale order line.

This module adds packaging columns to the product recommendation wizard that appears on sale orders. Users with the packaging feature enabled see a Packaging field and a Packaging Qty. field next to the quantity on each recommended line, both in the list and in the line form.

  • The packaging list only shows packagings marked for sales and belonging to the selected product.
  • When a recommended quantity is entered, Odoo automatically picks the most suitable sales packaging and computes how many packages that quantity represents, rounding according to the product's unit of measure.
  • Changing the packaging or the number of packages automatically recalculates the total units to include.
  • When the recommendation is applied to the sale order, the chosen packaging and package quantity are written onto the new or updated sale order line, so the order keeps the packaging detail.

It works together with the product recommendation wizard and the default packaging features, and it is installed automatically when those are present. It touches the recommendation line model sale.order.recommendation.line and the wizard view sale.order.recommendation.

Models and fields (1)
  • sale.order.recommendation.line · extends an existing modelproduct_packaging_id (Packaging), product_packaging_qty (Packaging Qty.)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

If found, this module will be installed automatically if you have these other 2 modules installed on a database:

  • sale_order_product_recommendation, which creates a product recommendations wizard.
  • sale_packaging_default, which allows setting and using a default product packaging for the sale workflow.

To configure this module, you need to:

  • Go to Sales > Configuration > Settings.
  • Enable Product Catalog > Product Packagings.
  • Save.

To know how to use this module, follow the usage instructions of sale_order_product_recommendation.

If your database uses product packagings, you should be able to see and use 2 new columns in the recommendations wizard:

  • Packaging
  • Packaging Qty.
info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.