fix(packed_item): ensure proper names for ref integrity (#37597) (cherry picked from commit fb0ec74d086085160fbcca9ccfffb6966673e0cb) Co-authored-by: David Arnold <dgx.arnold@gmail.com>
This commit is contained in:
parent
8b3c4a948c
commit
9aa29f55d9
@ -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