Set WholeSaleUnit to altUnit if Extra1 is not set. Fix webUserName.

This commit is contained in:
Marcus Lindvall 2019-09-05 15:26:18 +02:00
parent 0af38e286e
commit ee902ee733
3 changed files with 33 additions and 16 deletions

View file

@ -57,7 +57,7 @@ class Order():
# Save the information in the order object
# Boolean argument deceides if order has contact person, and should be set 'registered'
order.save(invoice_possible)
order.save(invoice_possible, web_user_name)
return order