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

Decimal places inconsistency #188

Open
Pacu2 opened this issue Jul 17, 2018 · 1 comment
Open

Decimal places inconsistency #188

Pacu2 opened this issue Jul 17, 2018 · 1 comment

Comments

@Pacu2
Copy link
Contributor

Pacu2 commented Jul 17, 2018

decimal_places should be equal to decimal places of the default currency, instead of being harcoded
similar is done in Saleor:

https://github.com/mirumee/saleor/blob/master/saleor/settings.py#L292
https://github.com/mirumee/saleor/blob/master/saleor/discount/models.py#L59-L61

@WhyNotHugo
Copy link
Member

It should likely be configurable.

However, making it configurable means that migrations might be non-trivial to implement properly, so this is likely not an easy issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants