From ce2115966cb3bf1ef3919505128bb3b2d53fe103 Mon Sep 17 00:00:00 2001 From: wan Date: Mon, 8 Feb 2021 16:08:12 +0000 Subject: [PATCH] [FIX] account: don't return recordset on action_post MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #65706 closes odoo/odoo#66258 X-original-commit: 398751954ef1735bfb2757328189cf57f8beeb1c Signed-off-by: Laurent Smet Signed-off-by: William André (wan) --- addons/account/models/account_move.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 4b89de2566c..d11e7bada18 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -2545,7 +2545,8 @@ class AccountMove(models.Model): return action def action_post(self): - return self._post(soft=False) + self._post(soft=False) + return False def js_assign_outstanding_line(self, line_id): ''' Called by the 'payment' widget to reconcile a suggested journal item to the present