Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
1178140d by Cédric Krier at 2023-02-09T11:06:42+01:00
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.
- - - - -
1 changed file:
- modules/purchase_request/purchase_request.py
Changes:
=====================================
modules/purchase_request/purchase_request.py
=====================================
@@ -556,6 +556,9 @@
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'
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/1178140d7803946cbf5a00e809839f344e2c0257
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/1178140d7803946cbf5a00e809839f344e2c0257
You're receiving this email because of your account on foss.heptapod.net.