diff --git a/frappe/model/base_document.py b/frappe/model/base_document.py index 783e879bff..d8d7cedd5a 100644 --- a/frappe/model/base_document.py +++ b/frappe/model/base_document.py @@ -1109,7 +1109,8 @@ class BaseDocument: df = get_default_df(fieldname) if ( - df.fieldtype == "Currency" + df + and df.fieldtype == "Currency" and not currency and (currency_field := df.get("options")) and (currency_value := self.get(currency_field))