mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos.git
synced 2023-12-14 07:13:02 +01:00
minor fix
This commit is contained in:
parent
eed7f2acb0
commit
9cfde8b094
1 changed files with 2 additions and 2 deletions
4
sale.py
4
sale.py
|
@ -418,8 +418,8 @@ class Sale(metaclass=PoolMeta):
|
|||
def process_sale_pos(cls, sale):
|
||||
# We must set directly state and amounts cache because is faster
|
||||
cls.write([sale], {
|
||||
# 'state': 'processing',
|
||||
'state': 'confirmed',
|
||||
'state': 'processing',
|
||||
# 'state': 'confirmed',
|
||||
'untaxed_amount_cache': sale.untaxed_amount,
|
||||
'tax_amount_cache': sale.tax_amount,
|
||||
'total_amount_cache': sale.total_amount
|
||||
|
|
Loading…
Reference in a new issue