ITA - Localizzazione valute per amount_to_text

l10n_it_amount_to_text
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/18.0/l10n_it_amount_to_text
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
COMMITTERS
COMMITTERSSergio Zanchetta, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES num2words>=0.5.12
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Il core di Odoo fornisce `amount_to_text`, il quale converte importi
numerici in testo ottenendo la lingua dal contesto fornito o dalle
impostazioni utente/partner, con alcune limitazioni.

Esempio: 45,75 €

  - Lingua utente "Inglese" → Forty-Five Euros and Seventy-Five Cents
  - Lingua utente "Italiano" → Quarantacinque Euros e Settantacinque
    Cents

L'unità/sottounità di valuta non viene tradotta e non viene gestita la
forma singolare. Inoltre tutte le parole possiedono l'iniziale
maiuscola, forma non corretta nella lingua italiana.

Questo modulo fornisce una base per tradurre le unità/sottounità di
valuta, adattando le parole alle regole della lingua italiana.

Vengono inoltre gestite le eccezioni per la forma singolare delle valute
EUR, USD, GBP e CNY.

Esempio: 1,01 €

  - La parte intera diventa "un euro", non "uno euro"
  - La parte decimale diventa "un centesimo", non "uno centesimi"

**English**

Odoo core provides `amount_to_text`, which converts numerical amounts to
text getting language from given context or user/partner setting, with
some limitations.

Example: 45,75 €

  - User Language 'English' -\> Forty-Five Euros and Seventy-Five Cents
  - User Language 'Italian' -\> Quaranta Euros e Settantacinque Cents

Currency unit/subunit is not translated and singular form is not
handled. Moreover all words are capitalized, which is incorrect in
italian language.

This module provides a base for translating currency unit/subunit
adapting words to italian language rules.

Singular form expections for EUR, USD, GBP and CNY currencies are
handled as well.

Example: 1,01 €

  - Integer part becomes "un euro", not "uno euro"
  - Decimal part becomes "un centesimo", not "uno centesimi"

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • amount_to_text(self, amount)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/16.0/l10n_it_amount_to_text
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
COMMITTERS
COMMITTERSSergio Zanchetta, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES num2words>=0.5.12
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Il core di Odoo fornisce `amount_to_text`, il quale converte importi
numerici in testo ottenendo la lingua dal contesto fornito o dalle
impostazioni utente/partner, con alcune limitazioni.

Esempio: 45,75 €

  - Lingua utente "Inglese" → Forty-Five Euros and Seventy-Five Cents
  - Lingua utente "Italiano" → Quarantacinque Euros e Settantacinque
    Cents

L'unità/sottounità di valuta non viene tradotta e non viene gestita la
forma singolare. Inoltre tutte le parole possiedono l'iniziale
maiuscola, forma non corretta nella lingua italiana.

Questo modulo fornisce una base per tradurre le unità/sottounità di
valuta, adattando le parole alle regole della lingua italiana.

Vengono inoltre gestite le eccezioni per la forma singolare delle valute
EUR, USD, GBP e CNY.

Esempio: 1,01 €

  - La parte intera diventa "un euro", non "uno euro"
  - La parte decimale diventa "un centesimo", non "uno centesimi"

**English**

Odoo core provides `amount_to_text`, which converts numerical amounts to
text getting language from given context or user/partner setting, with
some limitations.

Example: 45,75 €

  - User Language 'English' -\> Forty-Five Euros and Seventy-Five Cents
  - User Language 'Italian' -\> Quaranta Euros e Settantacinque Cents

Currency unit/subunit is not translated and singular form is not
handled. Moreover all words are capitalized, which is incorrect in
italian language.

This module provides a base for translating currency unit/subunit
adapting words to italian language rules.

Singular form expections for EUR, USD, GBP and CNY currencies are
handled as well.

Example: 1,01 €

  - Integer part becomes "un euro", not "uno euro"
  - Decimal part becomes "un centesimo", not "uno centesimi"

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • amount_to_text(self, amount)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/14.0/l10n_it_amount_to_text
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sergio Zanchetta - Associazione PNLug APS, Ecosoft Co. Ltd
COMMITTERS
COMMITTERSSergio Zanchetta, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES num2words
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • amount_to_text(self, amount)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-italy
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_it_amount_to_text: Migration to 19.0 (#5122)