fix: codacy fixes

This commit is contained in:
Himanshu Warekar
2019-04-17 12:42:00 +05:30
parent 2b54cee4aa
commit 308ae1f155
4 changed files with 3 additions and 8 deletions

View File

@@ -421,9 +421,9 @@ def make_purchase_invoice(source_name, target_doc=None):
if frappe.get_single("Fetch Payment Terms").fetch_payment_terms == 1:
fields["Payment Schedule"] = {
"doctype": "Payment Schedule",
"add_if_empty": True
}
"doctype": "Payment Schedule",
"add_if_empty": True
}
doc = get_mapped_doc("Purchase Order", source_name, fields, target_doc, postprocess)