Reload screen after creating purchase from purchase request

This way the user see that the selected purchase requests have been purchased
as they are no longer in the draft tab.
This commit is contained in:
Cédric Krier committed 2023-02-09 11:06:42 +01:00
1 parent 1f398f071e
commit 147140ebd1
1 file changed
+3
@@ -556,6 +556,9 @@ class CreatePurchase(Wizard):
compute_qty(r.uom, r.quantity, unit, round=False)
for r in requests)
def end(self):
return 'reload'
class HandlePurchaseCancellationException(Wizard):
'Handle Purchase Cancellation Exception'