django-payments icon indicating copy to clipboard operation
django-payments copied to clipboard

Decimal places inconsistency

Open Pacu2 opened this issue 6 years ago • 1 comments

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

Pacu2 avatar Jul 17 '18 07:07 Pacu2

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.

WhyNotHugo avatar Jan 04 '21 10:01 WhyNotHugo