mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-19 17:30:01 +00:00
fix: recalculate totals after setting quotation conversion rate
This commit is contained in:
@@ -39,6 +39,7 @@ def make_quotation(source_name: str, target_doc: str | Document | None = None):
|
||||
target_doc.conversion_rate = get_exchange_rate(
|
||||
target_doc.currency, company_currency, target_doc.transaction_date, "for_selling"
|
||||
)
|
||||
target_doc.run_method("calculate_taxes_and_totals")
|
||||
|
||||
return target_doc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user