Merge pull request #7654 from rohitwaghchaure/lead_tax_issue

[Fix] Set default tax on quotation when it's making from the lead
This commit is contained in:
Nabin Hait 2017-02-09 11:43:22 +05:30 committed by GitHub
commit e27a0d25bc

View File

@ -155,6 +155,9 @@ def make_quotation(source_name, target_doc=None):
}
}}, 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