Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
10458 Zobrazení

Hello, I use Odoo 12 enterprise.

In Sale module, there is sale report dashboard. In that dashboard there is field named "Sales Total" with value 100G (I guess it supposed to be Gillion). My question is how to change G with other symbol? I want to change G (Gillion) with B (Billion). Also change language preference doesn't make change.

Thank you.

(Sorry I can give a screenshot, the upload image button is not work for me.)

Avatar
Zrušit
Autor Nejlepší odpověď

I found that Odoo use standard SI prefixes https://en.wikipedia.org/wiki/Metric_prefix​​ so is no need to change the suffix.

But, if we need to change suffix we can achieve that with override function human_number() in addons/web/static/src/js/core/utils.js

Avatar
Zrušit
Nejlepší odpověď

The steps as following

  1. Go to accounting >> Configurations >> setting

  2. Scroll down and Activate Multicurrency option, then click on save.

  3. Activate developer mode from Setting >> Developer mode (down right on the screen)

  4. Go back to accounting app and under Configurations, a new option will be available Configurations >> Currency, choose it.

  5. Click on the currency you want to change its symbol then choose edit.

and voila you can change any symbol for any currency and its rate as well for conversion.

Avatar
Zrušit
Autor

Thanks for the answer, but my question is not about change currency symbol, it's about change format large number like thousand = k, million = M, billion = G. So, I want to change billion format from G to B

Nejlepší odpověď

htrdjjn jgfdj

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 19
3820
2
srp 23
2138
0
úno 21
3117
0
lis 20
2082
0
led 20
4144