mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +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
|
# add item taxes from template
|
||||||
for d in template.get("taxes"):
|
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
|
# copy re-order table if empty
|
||||||
if not self.get("reorder_levels"):
|
if not self.get("reorder_levels"):
|
||||||
|
|||||||
Reference in New Issue
Block a user