fix(packed_item): ensure proper names for ref integrity (#37597)
This commit is contained in:
parent
139a68fd0f
commit
fb0ec74d08
@ -759,6 +759,8 @@ def make_delivery_note(source_name, target_doc=None, kwargs=None):
|
||||
if target.company_address:
|
||||
target.update(get_fetch_values("Delivery Note", "company_address", target.company_address))
|
||||
|
||||
# set target items names to ensure proper linking with packed_items
|
||||
target.set_new_name()
|
||||
make_packing_list(target)
|
||||
|
||||
def condition(doc):
|
||||
|
Loading…
x
Reference in New Issue
Block a user