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

Use Babel for currency formating; fix and improve tests #20

Merged
merged 6 commits into from
Jan 9, 2017

Conversation

PetrDlouhy
Copy link
Collaborator

  • This PR fixes bug Setting locale can have unanticipated side effects #19 by using babel (http://babel.pocoo.org) to format currency strings.
  • It also fixes problem with replacing ",00" to ",-" which does not work for english comma separated thousands. Now it is applied only with czech locale.
  • The compatibility with Python 2 is restored
  • Tests are improved to test also contents of the generated PDF files and generating with 'en' locale.

@PetrDlouhy
Copy link
Collaborator Author

@creckx This PR contains very important fixes of InvoiceGenerator. Can you please pull?

@PetrDlouhy
Copy link
Collaborator Author

@creckx Could you please pull and make new release of PyPI package?

@rbas rbas merged commit 2afefc4 into by-cx:master Jan 9, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants