Skip to content

Commit

Permalink
fix: copy all child fields to item variant
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Oct 25, 2023
1 parent 7c1b990 commit 5deba1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/item/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def update_template_tables(self):

# add item taxes from template
for d in template.get("taxes"):
self.append("taxes", {"item_tax_template": d.item_tax_template})
self.append("taxes", d)

# copy re-order table if empty
if not self.get("reorder_levels"):
Expand Down

0 comments on commit 5deba1b

Please sign in to comment.