summaryrefslogtreecommitdiff
path: root/addons/account/models/account_move.py
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2021-02-16 09:39:34 +0000
committerwan <wan@odoo.com>2021-02-16 09:40:34 +0000
commitc068fe01455f280fd1bd4d3ed29823e3136306d5 (patch)
treecf4e9c24c4336538cd921b3ebf925ae9a2ed46bc /addons/account/models/account_move.py
parent9a047c6a2085eab23865d3d649940f1e71c9234b (diff)
[FIX] account: return False for action_post
None is not a valid return value for xmlrpc https://github.com/odoo/odoo/pull/65774#issuecomment-777327354 closes odoo/odoo#66243 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/account/models/account_move.py')
-rw-r--r--addons/account/models/account_move.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py
index 184da93d948..712817260d3 100644
--- a/addons/account/models/account_move.py
+++ b/addons/account/models/account_move.py
@@ -2510,6 +2510,7 @@ class AccountMove(models.Model):
def action_post(self):
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