mirror of
https://bitbucket.org/presik/trytonpsk-dash_sale.git
synced 2023-12-14 05:22:58 +01:00
minor fix
This commit is contained in:
parent
d35a96c7fe
commit
c3dcbf11d5
1 changed files with 2 additions and 1 deletions
3
sale.py
3
sale.py
|
@ -418,7 +418,8 @@ class Sale(metaclass=PoolMeta):
|
|||
|
||||
description = args.get('description', '')
|
||||
comment = args.get('comment', '')
|
||||
today = date.today()
|
||||
date_ = datetime.now() - timedelta(hours=5)
|
||||
today = date(date_.year, date_.month, date_.day)
|
||||
to_create = {
|
||||
'consumer': args['consumer']['id'],
|
||||
'source': args['source']['id'],
|
||||
|
|
Loading…
Reference in a new issue