minor fix
This commit is contained in:
parent
079cffd315
commit
f81124e5dc
2
sale.py
2
sale.py
|
@ -414,7 +414,7 @@ class Sale(metaclass=PoolMeta):
|
||||||
'kind': args['kind'],
|
'kind': args['kind'],
|
||||||
'delivery': delivery,
|
'delivery': delivery,
|
||||||
'shop': shop.id,
|
'shop': shop.id,
|
||||||
'position': args['position'],
|
'position': args.get('position', ''),
|
||||||
'payment_method': args['payment_method'],
|
'payment_method': args['payment_method'],
|
||||||
'warehouse': shop.warehouse.id,
|
'warehouse': shop.warehouse.id,
|
||||||
'salesman': user.employee,
|
'salesman': user.employee,
|
||||||
|
|
Loading…
Reference in New Issue