fix: fetch item_tax_template values if fields with fetch_from exisit

This commit is contained in:
Smit Vora
2023-12-17 13:59:22 +05:30
parent a14e7f0e84
commit 24ae45ce84
3 changed files with 6 additions and 0 deletions

View File

@@ -640,6 +640,7 @@ class AccountsController(TransactionBase):
args["doctype"] = self.doctype
args["name"] = self.name
args["child_doctype"] = item.doctype
args["child_docname"] = item.name
args["ignore_pricing_rule"] = (
self.ignore_pricing_rule if hasattr(self, "ignore_pricing_rule") else 0