fix: Change enquiry_from to opportunity_from in multiple files

This commit is contained in:
deepeshgarg007
2019-04-16 08:53:29 +05:30
parent 3b78a018aa
commit d333d2e6eb
9 changed files with 10 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ def make_sample_data(domains, make_dependent = False):
def make_opportunity(items, customer):
b = frappe.get_doc({
"doctype": "Opportunity",
"enquiry_from": "Customer",
"opportunity_from": "Customer",
"customer": customer,
"opportunity_type": _("Sales"),
"with_items": 1