Skip to content

Latest commit

 

History

History
132 lines (96 loc) · 4.7 KB

File metadata and controls

132 lines (96 loc) · 4.7 KB
Odoo Community Association

Sale Product Multiple Qty

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

Sales Product Multiple Quantity

This module adds a Sales Multiple unit of measure on products.

When a Sales Multiple is set, sales order line quantities are automatically rounded UP to the nearest multiple of the selected unit of measure. This is useful for products that must be sold in fixed pack sizes (boxes, bundles, pallets, etc.).

The rounding is performed by converting the entered quantity to the Sales Multiple UoM, rounding the number of packs UP, and converting the result back to the order line UoM.

For example, with a Sales Multiple of Pack of 100:

  • ordering 15 packs of 5 units (75 units) is rounded to 20 packs (100 units);
  • ordering 55 packs of 5 units (275 units) is rounded to 60 packs (300 units).

If the Sales Multiple UoM is not divisible by the order line UoM, the rounded quantity may be fractional. It is the user's responsibility to configure compatible units of measure.

Table of contents

Usage

Usage

To use this module:

  1. Create one or more packaging UoMs (for example, Pack of 100), using the same reference unit as the product base UoM.
  2. On the product form, set the Sales Multiple field to the desired UoM.
  3. When entering quantities on a sales order line, the quantity is automatically rounded UP to the nearest valid multiple.

If no Sales Multiple is set on the product, no rounding is applied.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp SA

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

yankinmax

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.