summaryrefslogtreecommitdiff
path: root/addons/stock_picking_batch
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-08-25 09:05:53 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-08-27 10:34:07 +0000
commite6c2dc3eb19a4e75d78b89529948533007dd8f69 (patch)
treec524c24f056c2034af85ba5733c154e4e3d8681b /addons/stock_picking_batch
parentd64b68cc04dabfb3f94b05cd181c216550a07c9e (diff)
[FIX] account: avoid long recomputation recursion
when creating the first bank statement on a journal. It will trigger manual field recomputations: https://github.com/odoo/odoo/blob/d19477f982e046ba563ce18706f0eab2b250738d/addons/account/models/account_bank_statement.py#L288-L297 previous_statement_id will correctly be False The manual recomputation in create will recalculate all bank statements that have a False previous_statement_id. These bank statements are usually the first ones in a journal. When they get recomputed it triggers recomputations for every bank statement that follows it. This commit try to limit this behavior by recomputing statements only in the same journal opw-2311173 closes odoo/odoo#56642 X-original-commit: e932df3b356752eb9c42164821acb6e2db7fe317 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/stock_picking_batch')
0 files changed, 0 insertions, 0 deletions