OdooWiki OCA HUB

Purchase Order Product Recommendation Secondary Unit

purchase_order_product_recommendation_secondary_unit folder_open OCA/purchase-workflow open_in_new
Purchases License: AGPL-3

This module adds secondary unit to the product recommendation wizard.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds secondary unit columns to the product recommendation wizard in purchase orders, so buyers can order recommended products in a second unit of measure and see the quantity converted automatically.

When you use the product recommendation wizard on a request for quotation, this module adds two extra columns: a secondary unit of measure and the quantity in that secondary unit. Both columns are only shown to users who have the Units of Measure feature enabled.

  • If the product has a default purchase secondary unit, the wizard fills it in automatically.
  • The quantity in the main unit is recalculated from the secondary quantity using the unit's conversion factor, and rounded up so you never order less than the recommended amount.
  • When the wizard lines are applied to the purchase order, the chosen secondary unit and its quantity are copied onto the order line.

The module only changes the recommendation wizard and its lines; it does not add new menus or reports. It relies on the existing product recommendation wizard and the secondary unit functionality already installed in Odoo.

Models and fields (2)
  • purchase.order.recommendation · extends an existing model
  • purchase.order.recommendation.line · new modelunits_included

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Create a new purchase order.
  • Assign its supplier.
  • Press Recommended Products button.
  • Now you can set the quantities to order from the secondary unit if it's available for that product.

No verified information in OCA: Installation, Configuration.

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.