mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-24 04:26:38 +00:00
The Float control parses values with the field precision, falling back to the global float precision when the docfield declares none (frappe ControlFloat.parse / get_precision). On a site with float precision 2, a fetched UOM factor of 0.453592292 was written back to the model as 0.45, silently corrupting every derived quantity by 0.8 percent. A ratio must not inherit display precision meant for quantities, so declare the same precision 9 the UOM Conversion Factor master already uses on every transaction-level conversion_factor field.