Merge pull request #49702 from ljain112/disabled-item-tax-template

fix: do not fetch disabled item tax template
This commit is contained in:
rohitwaghchaure
2025-10-07 10:55:00 +05:30
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -2950,6 +2950,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
valid_from: ["<=", doc.transaction_date || doc.bill_date || doc.posting_date],
item_group: item.item_group,
base_net_rate: item.base_net_rate,
disabled: 0,
};
if (doc.tax_category) filters["tax_category"] = doc.tax_category;