[FIX] account: don't return recordset on action_post

Fixes #65706

closes odoo/odoo#66258

X-original-commit: 398751954ef1735bfb2757328189cf57f8beeb1c
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
wan
2021-02-16 12:06:18 +00:00
parent e2cc2c3ce2
commit ce2115966c
+2 -1
View File
@@ -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