fix: Fetch customer into Delivery Note from Pick List
This commit is contained in:
parent
8e9f3e4645
commit
0f27be2fac
@ -300,6 +300,7 @@ def create_delivery_note(source_name, target_doc=None):
|
||||
set_delivery_note_missing_values(delivery_note)
|
||||
|
||||
delivery_note.pick_list = pick_list.name
|
||||
delivery_note.customer = pick_list.customer if pick_list.customer else None
|
||||
|
||||
return delivery_note
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user