Skip to content
Snippets Groups Projects
  • Ivan Yelizariev's avatar
    ca69537f
    [FIX] account: reconcile by batches of 1000 lines · ca69537f
    Ivan Yelizariev authored
    
    Neither server, no browser cannot handle unlimited number of lines at the same
    time. On server side it leads to series of heavy sql requests. On client side,
    browser will eat all the memory on trying to render all of those lines.
    
    This also prevents loading reconciled lines ids to browser.
    
    Size of the batches can be customized via System Parameter
    ``account.reconcile.batch``
    
    Details:
    * ``action_bank_reconcile_bank_statements`` is used on clicking `[Reconcile]`
    button in ``account.bank.statement`` form
    * ``action_open_reconcile`` is used on clicking `[Reconcile]` for a journal in
    Account Dashboard
    
    ---
    
    opw-2424992
    opw-2344807
    
    closes odoo/odoo#65789
    
    Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
    ca69537f
    History
    [FIX] account: reconcile by batches of 1000 lines
    Ivan Yelizariev authored
    
    Neither server, no browser cannot handle unlimited number of lines at the same
    time. On server side it leads to series of heavy sql requests. On client side,
    browser will eat all the memory on trying to render all of those lines.
    
    This also prevents loading reconciled lines ids to browser.
    
    Size of the batches can be customized via System Parameter
    ``account.reconcile.batch``
    
    Details:
    * ``action_bank_reconcile_bank_statements`` is used on clicking `[Reconcile]`
    button in ``account.bank.statement`` form
    * ``action_open_reconcile`` is used on clicking `[Reconcile]` for a journal in
    Account Dashboard
    
    ---
    
    opw-2424992
    opw-2344807
    
    closes odoo/odoo#65789
    
    Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>