summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-06-13 15:45:20 +0200
committerOlivier Dony <odo@openerp.com>2017-06-14 10:15:47 +0200
commit944f8e33537c69d88f2c1ea6fe6207059caaee6e (patch)
treefc55acc1e448b66e029bcdcc68361580cbf0e4eb /addons/web/static/src/js/views/basic/basic_model.js
parent05ef0790c955b1b7fcde85bb66b8451cb687d71b (diff)
[FIX] account: improve performance when validating an invoice
When doing a delete, the cache is cleared, putting an unlink in a loop multiplies the number of requests made (for access rules, relational field, recompute ...) by the number of rows. Doing it outside the loop speeds up the validation of the invoice. Backport of 10.0's 2687571781a9518323b3c08ea7772ecb56eb39d1
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions