[fix] frappe.format_value

This commit is contained in:
Anand Doshi 2014-08-05 13:49:29 +05:30
parent 9a828ec481
commit d5e288330e

View file

@ -617,9 +617,9 @@ def get_test_records(doctype):
else:
return []
def format_value(value, df, doc=None, currency=None, as_html=False):
def format_value(value, df, doc=None, currency=None):
import frappe.utils.formatters
return frappe.utils.formatters.format_value(value, df, doc, currency=currency, as_html=as_html)
return frappe.utils.formatters.format_value(value, df, doc, currency=currency)
def get_print_format(doctype, name, print_format=None, style=None, as_pdf=False):
from frappe.website.render import build_page