commit | ade06f940c9658afdd8e5b4630db08ca78a11cf7 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Feb 02 17:15:05 2017 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Mon Feb 06 12:14:09 2017 +0530 |
tree | d2d3a5ce724cd5da501ea86546401b71b3a8c393 | |
parent | 10eb123b49be71442b03d8e7bd28e68b10255011 [diff] |
[Fix] Set default tax on quotation when it's making from the lead
diff --git a/erpnext/crm/doctype/lead/lead.py b/erpnext/crm/doctype/lead/lead.py index 411f597..9d64177 100644 --- a/erpnext/crm/doctype/lead/lead.py +++ b/erpnext/crm/doctype/lead/lead.py
@@ -154,6 +154,9 @@ } }}, target_doc) target_doc.quotation_to = "Lead" + target_doc.run_method("set_missing_values") + target_doc.run_method("set_other_charges") + target_doc.run_method("calculate_taxes_and_totals") return target_doc