mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 11:38:32 +00:00
fix: copy all child fields to item variant
This commit is contained in:
@@ -255,7 +255,7 @@ class Item(Document):
|
||||
|
||||
# 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"):
|
||||
|
||||
Reference in New Issue
Block a user