Skip to content

Conversation

@anhe-odoo
Copy link
Contributor

Task Description

When importing a chart from odoo to a spreadsheet, we check by default the "humanize numbers" option to make big and small numbers readable. Unfortunately, the way we make them "more readable" is not the same as in odoo chart view. This PR aims to change two behaviors :

  1. The really big numbers are now shown as scientific notation
  2. We reduce the number of digits for decimal parts.

To make sure very small positive numbers are still representable, they are also shown as scientific notation when |number| < 0.01.

Related Task

Task Description

When importing a chart from odoo to a spreadsheet, we check by default
the "humanize numbers" option to make big and small numbers readable.
Unfortunately, the way we make them "more readable" is not the same as
in odoo chart view. This PR aims to change two behaviors :
1. The really big numbers are now shown as scientific notation
2. We reduce the number of digits for decimal parts.

To make sure very small positive numbers are still representable, they
are also shown as scientific notation when |number| < 0.01.

Related Task

Task: 5435022
@robodoo
Copy link
Collaborator

robodoo commented Jan 6, 2026

Pull request status dashboard

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants