Merge pull request #40137 from ljain112/fix-tax-breakup
fix: default taxable value for item not found in item list
This commit is contained in:
commit
36a0569df2
@ -1029,7 +1029,7 @@ def get_itemised_tax_breakup_data(doc):
|
|||||||
for item_code, taxes in itemised_tax.items():
|
for item_code, taxes in itemised_tax.items():
|
||||||
itemised_tax_data.append(
|
itemised_tax_data.append(
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
{"item": item_code, "taxable_amount": itemised_taxable_amount.get(item_code), **taxes}
|
{"item": item_code, "taxable_amount": itemised_taxable_amount.get(item_code, 0), **taxes}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user