Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latvian num2words ...how to fix? #142

Closed
MatissJekabsons opened this issue Dec 3, 2017 · 3 comments
Closed

Latvian num2words ...how to fix? #142

MatissJekabsons opened this issue Dec 3, 2017 · 3 comments

Comments

@MatissJekabsons
Copy link

Expected Behaviour

Kopā: EUR 1.21
Summa vārdos: Viens Eiro un Divdesmit Viens cents

Actual Behaviour

Kopā: EUR 1.21
Summa vārdos: Viens Eiros un Divdesmit Viens cents

Steps to reproduce

  • Make an invoice for customer with latvian language
  • Print an invoice for this customer

For now i found only this one issue, that there is one unneeded letter "s"
Is it possible to write word Euros without s in the end? As i understood, then this is default Odoo translation in Odoo core?

Bes regards and Thx for yor time.

@shulcsm
Copy link
Contributor

shulcsm commented Dec 5, 2017

Can't reproduce. Probably something to do with odoo or old version.
num2words==0.5.6

>>> from num2words import num2words
>>> num2words(1.21, lang='lv', to='currency')
'viens eiro, divdesmit viens cents'

@erozqba
Copy link
Collaborator

erozqba commented Jan 6, 2018

@MatissJekabsons could you verify if it works OK with the latest version of num2words?

@mrodriguezg1991
Copy link
Contributor

@MatissJekabsons is his still an issue or we can close it?

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

No branches or pull requests

4 participants