Odoo Community Association

Purchase order line price unit digits

Beta License: LGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

Legacy purchase order line rounding in screen.

Table of contents

Use Cases / Context

From this change https://github.com/odoo/odoo/pull/243987 , price_unit in purchase order lines has a minimum display digits instead of a rounding in screen as it used to be. This is for compatibility issues with Peppol.

For the cases this isn’t needed, the new behavior is quite anoying, as prices computed from the pricelists or currency conversions often throw quite a bunch of decimals (e.g.: 10.000023), which is ok for accuracy sake but is terrible for ux.

Known issues / Roadmap

  • If you rely in the off-screen price computation, this could lead to minor rounding issues (although nothing didn’t exist previosly to the upstream change).

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

  • Moduon

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 maintainers:

chienandalu rafaelbn

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

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