summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-18 13:41:09 +0100
committerDenis Ledoux <dle@odoo.com>2016-02-18 13:44:54 +0100
commita04fce47e99723cb82f023b783ae2dfab0e817f3 (patch)
tree7ab61469abc94910662ef29a83e45e1295954a51 /addons/web/static/src/js/framework/session_instance.js
parent1ed7d16cfa70e36841a2ccb38bba25d9f22e512d (diff)
[FIX] account: methods calling `reverse_moves` expects a list
The methods calling `reverse_moves` expects a list as returned result. For instance, in `account_move.py`, `account.partial.reconcile`, method unlink: ``` reversed_moves = exchange_rate_entries.reverse_moves() for rev_move in self.env['account.move'].browse(reversed_moves): ``` If there was no reversed moves, the method returned a boolean, and a list otherwise. It should always return a list, empty in the above first case. opw-669790
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions