mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
fix: codacy fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user