Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make quotation against lead's company name #9188

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

manassolanki
Copy link
Contributor

@@ -151,7 +151,7 @@ def make_quotation(source_name, target_doc=None):
"doctype": "Quotation",
"field_map": {
"name": "lead",
"lead_name": "customer_name",
"lead_name": "company_name",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In quotation, there is no field called "company_name".

The correct fix will be, remove the line "lead_name": "customer_name",. set_missing_values does the mapping correctly.

@nabinhait nabinhait merged commit 95ca531 into frappe:develop Jun 14, 2017
mbauskar pushed a commit to mbauskar/erpnext that referenced this pull request Jun 21, 2017
mbauskar added a commit that referenced this pull request Jun 21, 2017
make quotation against lead company name (#9188)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants