minor fix

This commit is contained in:
Nabin Hait 2015-05-16 12:14:39 +05:30
parent 3d7793dae3
commit 1fe50120a3

View File

@ -342,6 +342,8 @@ def get_default_taxes_and_charges(master_doctype):
@frappe.whitelist()
def get_taxes_and_charges(master_doctype, master_name):
if not master_name:
return
from frappe.model import default_fields
tax_master = frappe.get_doc(master_doctype, master_name)