mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos.git
synced 2023-12-14 07:13:02 +01:00
fix workflow_to_end
This commit is contained in:
parent
2a0a25ea0e
commit
1ac5b5cb15
1 changed files with 6 additions and 3 deletions
3
sale.py
3
sale.py
|
@ -595,9 +595,12 @@ class Sale(metaclass=PoolMeta):
|
|||
if _sale:
|
||||
sale = _sale
|
||||
cls.post_invoices(sale)
|
||||
try:
|
||||
cls.do_stock_moves([sale])
|
||||
cls.do_reconcile([sale])
|
||||
cls.update_state([sale])
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
|
|
Loading…
Reference in a new issue