fix: Fetch customer into Delivery Note from Pick List

This commit is contained in:
marination 2020-05-21 13:11:48 +05:30 committed by Nabin Hait
parent 8e9f3e4645
commit 0f27be2fac

View File

@ -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