diff --git a/frappe/model/db_schema.py b/frappe/model/db_schema.py index 9f6a38e4ca..d71bff45a4 100644 --- a/frappe/model/db_schema.py +++ b/frappe/model/db_schema.py @@ -575,7 +575,7 @@ def get_definition(fieldtype, precision=None, length=None): if size: if fieldtype in ["Float", "Currency", "Percent"] and cint(precision) > 6: - size = '18,9' + size = '21,9' if coltype == "varchar" and length: size = length