Merge pull request #17390 from ashish-greycube/develop_copy_payment_schedule_from_quot_to_SO

fix: copy_payment_schedule_from_quot_to_SO
This commit is contained in:
Rushabh Mehta 2019-06-21 09:19:20 +05:30 committed by GitHub
commit 41721fe1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,10 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
"Sales Team": {
"doctype": "Sales Team",
"add_if_empty": True
},
"Payment Schedule": {
"doctype": "Payment Schedule",
"add_if_empty": True
}
}, target_doc, set_missing_values, ignore_permissions=ignore_permissions)