Skip to content

[19.0][ADD] purchase_order_line_price_unit_digits: new module#3114

Open
chienandalu wants to merge 1 commit into
OCA:19.0from
moduon:19.0-purchase_order_line_price_unit_digits
Open

[19.0][ADD] purchase_order_line_price_unit_digits: new module#3114
chienandalu wants to merge 1 commit into
OCA:19.0from
moduon:19.0-purchase_order_line_price_unit_digits

Conversation

@chienandalu

Copy link
Copy Markdown
Member

From this change odoo/odoo#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.

cc @moduon MT-15119

please review @Shide @EmilioPascual

@OCA-git-bot OCA-git-bot added series:19.0 mod:purchase_order_line_price_unit_digits Module purchase_order_line_price_unit_digits labels Jun 24, 2026

@EmilioPascual EmilioPascual left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Code Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_order_line_price_unit_digits Module purchase_order_line_price_unit_digits series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants