Merge pull request #38644 from barredterra/fix-attribute-error
fix: attribute error
This commit is contained in:
commit
c41cbb3e29
@ -572,8 +572,8 @@ def get_item_tax_template(args, item, out):
|
||||
item_tax_template = _get_item_tax_template(args, item_group_doc.taxes, out)
|
||||
item_group = item_group_doc.parent_item_group
|
||||
|
||||
if args.child_doctype and item_tax_template:
|
||||
out.update(get_fetch_values(args.child_doctype, "item_tax_template", item_tax_template))
|
||||
if args.get("child_doctype") and item_tax_template:
|
||||
out.update(get_fetch_values(args.get("child_doctype"), "item_tax_template", item_tax_template))
|
||||
|
||||
|
||||
def _get_item_tax_template(args, taxes, out=None, for_validate=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user