summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorNicolas Seinlet <nse@openerp.com>2019-05-20 13:54:04 +0000
committerNicolas Martinelli <nim@odoo.com>2019-06-03 06:14:22 +0000
commitef7988c22c623ab3f286f996a3dd2605e78f7c6b (patch)
tree76d4917edf052647ffa83e0dff479318d1ae1885 /addons/web/static/src/js/fields
parentbe1ee793222bf062738cf997aa26005beb55f69d (diff)
[IMP] account: faster reconciliation
avoid to get journal_entry_ids, to avoid pushing those ids in cache and having them read uselessly when accessing an account.move.line recordset. Use search and search_read instead of ORM __get__ closes odoo/odoo#33192 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com> ======================================================================= Note on this commit: This reintroduces what was reverted in 83b52e3a977bab37 with an extra fix in the call of `_prepare_reconciliation_move_line`. The second parameter of the method call should be the amount in the company currency since it used as debit or credit value. A test is added. opw-1997794 closes odoo/odoo#33515 Signed-off-by: Nicolas Seinlet (nse) <nse@odoo.com> Co-authored-by: william-andre <wan@odoo.com> Co-authored-by: Nicolas Martinelli <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions