Skip to content

[18.0][ADD] web_view_monetary_format#3524

Open
yostashiro wants to merge 1 commit into
OCA:18.0from
qrtl:18.0-add-web_pivot_monetary_format
Open

[18.0][ADD] web_view_monetary_format#3524
yostashiro wants to merge 1 commit into
OCA:18.0from
qrtl:18.0-add-web_pivot_monetary_format

Conversation

@yostashiro
Copy link
Copy Markdown
Member

In standard Odoo, pivot views format all monetary fields with the same number of
decimal places, regardless of the currency associated with each record. For example,
Japanese Yen (JPY) values that should display as whole numbers (e.g. "1,000") are shown
with unnecessary decimals (e.g. "1,000.00").

This module patches the pivot view to respect the currency_digits attribute of
monetary fields so that each cell is formatted according to its currency's rounding
precision.

Note: This module does not need to be migrated to Odoo 19, as the core now covers this
functionality.

@qrtl QT6653

@OCA-git-bot OCA-git-bot added series:18.0 mod:web_view_monetary_format Module web_view_monetary_format labels Apr 25, 2026
@yostashiro yostashiro force-pushed the 18.0-add-web_pivot_monetary_format branch from f32ec76 to 2acc0aa Compare April 25, 2026 14:55
Copy link
Copy Markdown

@SanamiK SanamiK left a comment

Choose a reason for hiding this comment

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

Functional review. LGTM.

Image

Copy link
Copy Markdown
Contributor

@nobuQuartile nobuQuartile left a comment

Choose a reason for hiding this comment

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

LGTM: Functional review

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants