Closed
Description
Hello,
3 days ago the formatting for Currency fields public/js/frappe/form/formatters.js:107 was changed in commit 54fabab.
However, this change had a side effect. All the Currency fields where the precision is not set are now rounded to 0 decimals, instead of falling back to sysdefaults.currency_precision
.
Indeed, the precision
of a docfield is a Select, and thus Currency fields with no defined precision have a value of ""
(empty string). Thus using the null coalescing operator here is causing problems.
related to #21236
Metadata
Metadata
Assignees
Labels
No labels