summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNathan de Pryck <nde@odoo.com>2019-06-05 12:22:22 +0000
committerNathan de Pryck <nde@odoo.com>2019-06-05 12:47:02 +0000
commitf435c655171676a3c1b7339808e54cc3e1863d25 (patch)
tree4a504ce1f40338f226aabd417f0310c26ebc8e33 /addons/web/static/src/js/fields/basic_fields.js
parent6a6471d7275c020dbbc8d4d2c4b8cd306021bd4d (diff)
[FIX]account_asset: Increase performance to generate asset entries
For each asset depreciation lines we verify that there are not linked to a move. This verification was done for each line separately. Moreover, during the creation of the journal entries, we were writing on the 'line_ids'. In this case, accessing the move of a line was invalidating the cache. This fix ensure that this operation is done out of the loop and the cache is then not invalidated at each step. See opw-2000305 closes odoo/odoo#33908 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions