minor fix
This commit is contained in:
parent
3d7793dae3
commit
1fe50120a3
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user