Skip to content

Avoid selling non-integer quantities of a Unit of Measure category

License

Notifications You must be signed in to change notification settings

Alliantum/odoo_no_fractions

Repository files navigation

Alliantum

Avoid UoM Fractions

Beta License: AGPL-3 Alliantum/odoo_no_fractions

Sometimes is a problem when you or any of your employee casually sells parts of one of your products that are supposed to be just sold in a “single block” (even maybe, if internally is possible for you to move parts of that product). That can be annoying if happen too often and maybe you don’t notice it on time. So that’s where this module can be helpful, making it easy to avoid selling parts of products to your customers that uses certain categories of Units of Measure.

Table of contents

Configuration

To configure this module, you just need to go to Inventory / Configuration / UoM Categories, and there select the UoM Category that you want to avoid selling in fractions. Once inside, check the box Avoid Sell Fractions.

Alliantum

Usage

To use this module, after having configured it, you can go to a SO a try to sell a product, using fractions for the UoM Category that you just configured:

You should then receive a warning while you’re editing those quantities to sell, and even if you continue and try to save your changes, and exception will be raised, and will not be possible to save the current SO (or Invoice).

Alliantum

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 smashing it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Alliantum

Contributors

Other credits

The development of this module has been financially supported by:

Maintainers

This module is maintained by Alliantum.

Alliantum

Alliantum, is a company whose mission is to support the widespread use of Odoo by others companies, and collaborate in the development of new Odoo features.

This module is part of the Alliantum/odoo_public_modules project on GitHub.

You are welcome to contribute. To learn how please visit https://github.com/Alliantum/odoo_public_modules.