20434b5c7a80bed83a85560ffef0ece8912ec7d6
If the decimal separator of the currently selected language is a comma, exporting data in an xlsx would use a wrong float format Steps to reproduce: 1. Install Invoicing 2. Go to Settings > Languages, add 'French / Français' language and switch to it 3. Go to Facturation > Fournisseurs > Factures 4. Export the data (there should be at least one amount with a decimal part) 5. The decimal part of the amounts is not displayed Solution: Always use the same decimal separator to print in the xlsx as we can only use a dot as a decimal separator (the comma is used as the thousand separator). The value will then be displayed to the user according to his OS regional settings (see https://xlsxwriter.readthedocs.io/format.html#number-formats-in-different-locales) Problem: When using a comma for the float format, we actually specify the format of the integral part of the number (the thousands) without displaying the decimal part (which is represented with the dot) opw-2965984 closes odoo/odoo#102255 X-original-commit: 21efa4f18266a5c5c57157035c2357ed3e147a69 Signed-off-by: Julien Castiaux <juc@odoo.com> Signed-off-by: Guillaume Merlin (megu) <megu@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%