From 423ecca077059acdc609e8ad261abe088e13e1cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Mar 2022 22:31:21 +0100 Subject: [PATCH] Permit to edit amount for manual payment in processing Payment processed manually can have mistakes in the amount. So by going back to processing, the user can edit the amount. issue11176 review387791003 --- payment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/payment.py b/payment.py index 4a19d49e76..17796ab6b7 100644 --- a/payment.py +++ b/payment.py @@ -266,6 +266,7 @@ class Payment(metaclass=PoolMeta): return move @classmethod + @ModelView.button @Workflow.transition('processing') @cancel_clearing_move def proceed(cls, payments):