fix: copy all child fields to item variant
This commit is contained in:
parent
7c1b990c55
commit
5deba1b6f9
@ -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"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user