diff --git a/erpnext/accounts/report/sales_register/sales_register.py b/erpnext/accounts/report/sales_register/sales_register.py index 2b32fa9378..0e2821ac16 100644 --- a/erpnext/accounts/report/sales_register/sales_register.py +++ b/erpnext/accounts/report/sales_register/sales_register.py @@ -5,6 +5,7 @@ from __future__ import unicode_literals import frappe from frappe.utils import flt from frappe import msgprint, _ +from frappe.model.meta import get_field_precision from erpnext.accounts.doctype.accounting_dimension.accounting_dimension import get_accounting_dimensions def execute(filters=None): @@ -273,4 +274,4 @@ def get_mode_of_payments(invoice_list): for d in inv_mop: mode_of_payments.setdefault(d.parent, []).append(d.mode_of_payment) - return mode_of_payments \ No newline at end of file + return mode_of_payments