Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Remplacer les points des réels par des virgules / replace float points with commas

By
Zaphirios
on 3/31/14, 12:48 PM 1,392 views

Bonjour,

Je viens vers vous après avoir épuré la plupart des forums sans trouver réponse et j'espere l'avoir ici :

J'ai installé un addon "Asgard" permettant l'export de données comptable et malheureusement mes réels ressortent avec des points et non des virgules.

Pourriez vous m'aider à modifier cela ? C'est assez péible de perdre des demi journée pour cela ..

En vous remerciant,

0
Bjorn
On 9/25/14, 10:42 AM

I re-ask the same question because I can't find where to "edit language" in Odoo 8... I just can't find the menu. :-/

 

OK, I found it : 

"First step > go to setting menu > users >  edit your user features and tick "Technical Features" > refresh your page ( CTRL+R - CTRL +F5 )

Then you will able to see import translation menu in setting  > translation"

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/31/14, 3:02 PM

Bonjour;

Decimal Point and thousand Separator (for French Language).

Edit you language (Editez votre Langue) French/Français as in the following picture:

Separateur Decimal

If necessary do the same for the English Language (Si necessaire, effectuer les mêmes modifications pour la langue Anglaise), cause it seems that some reports ignores the user languages and use the default language.

You can also modify your res_lang.py (../opener/addons/base/res/res_lang.py)file (Vous pouvez ausssi modifier votre fichier res_lang.py) as follow:

Comment 5 lines from line 214 to 218.

          formatted = decimal_point.join(parts)
 #             while seps:
 #                sp = formatted.find(' ')
 #                 if sp == -1: break
 #                 formatted = formatted[:sp] + formatted[sp+1:]
 #                 seps -= 1
    elif percent[-1] in 'diu':
        if grouping:

Remember, that for the last solution , you will loose your change after each update !!!

Thousand sep in Report

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 3/31/14, 12:48 PM
Seen: 1392 times
Last updated: 3/16/15, 8:10 AM