fix: fetch payment terms

This commit is contained in:
Himanshu Warekar
2019-04-03 16:53:19 +05:30
parent fb48686d82
commit 5ba438af80

View File

@@ -416,6 +416,10 @@ def make_purchase_invoice(source_name, target_doc=None):
"Purchase Taxes and Charges": { "Purchase Taxes and Charges": {
"doctype": "Purchase Taxes and Charges", "doctype": "Purchase Taxes and Charges",
"add_if_empty": True "add_if_empty": True
},
"Payment Schedule": {
"doctype": "Payment Schedule",
"add_if_empty": True
} }
}, target_doc, postprocess) }, target_doc, postprocess)