fix workflow_to_end

This commit is contained in:
wilsongomez 2022-10-20 14:23:44 -05:00
parent 2a0a25ea0e
commit 1ac5b5cb15

View file

@ -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