mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
[fix] Wrong company's default tax fetch (#11927)
This commit is contained in:
committed by
Nabin Hait
parent
3fe59b4443
commit
505661b5c0
@@ -232,7 +232,7 @@ def make_quotation(source_name, target_doc=None):
|
||||
quotation.conversion_rate = exchange_rate
|
||||
|
||||
# get default taxes
|
||||
taxes = get_default_taxes_and_charges("Sales Taxes and Charges Template")
|
||||
taxes = get_default_taxes_and_charges("Sales Taxes and Charges Template", quotation.company)
|
||||
if taxes.get('taxes'):
|
||||
quotation.update(taxes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user