Skip to content

[ADD] account_reconcile_bg: background processing for large bank reconciliations#403

Closed
fw-bot-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-18.0-t-66151-feg-5199-fw
Closed

[ADD] account_reconcile_bg: background processing for large bank reconciliations#403
fw-bot-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-18.0-t-66151-feg-5199-fw

Conversation

@fw-bot-adhoc

Copy link
Copy Markdown
Contributor

Implements background job processing for bank reconciliations when dealing with large payment batches to prevent timeouts and improve user experience.

Main features:

  • Automatic background processing for large reconciliations (configurable threshold)
  • User notifications when background reconciliation completes
  • Seamless integration with existing bank reconciliation workflow
  • No UI blocking: users can continue working while large batches process

Technical implementation:

  • Override bank.rec.widget._js_action_validate() to detect large reconciliations
  • Use base_bg to enqueue reconciliation jobs
  • Add reconciliation_in_background flag to account.bank.statement.line
  • Configurable via system parameter: account_reconcile_bg.lines_threshold

Includes comprehensive testing guide and unit tests.

Forward-Port-Of: #400

@roboadhoc

Copy link
Copy Markdown
Contributor

Pull request status dashboard

@fw-bot-adhoc

Copy link
Copy Markdown
Contributor Author

@feg-adhoc @rov-adhoc this PR targets 19.0 and is the last of the forward-port chain.

To merge the full chain, use

@roboadhoc r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@fw-bot-adhoc

Copy link
Copy Markdown
Contributor Author

@feg-adhoc @rov-adhoc ci/runbot-modified-modules failed on this forward-port PR

@fw-bot-adhoc

Copy link
Copy Markdown
Contributor Author

@feg-adhoc @rov-adhoc this forward port of #400 is awaiting action (not merged or closed).

1 similar comment
@fw-bot-adhoc

Copy link
Copy Markdown
Contributor Author

@feg-adhoc @rov-adhoc this forward port of #400 is awaiting action (not merged or closed).

@feg-adhoc feg-adhoc force-pushed the 19.0-18.0-t-66151-feg-5199-fw branch 4 times, most recently from 166b634 to e4c5c99 Compare May 29, 2026 20:23
@feg-adhoc

Copy link
Copy Markdown
Contributor

@roboadhoc r+ nobump

@roboadhoc

Copy link
Copy Markdown
Contributor

@feg-adhoc @rov-adhoc because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@feg-adhoc feg-adhoc force-pushed the 19.0-18.0-t-66151-feg-5199-fw branch 2 times, most recently from e4c5c99 to 3fb8d89 Compare June 1, 2026 11:55
@feg-adhoc feg-adhoc force-pushed the 19.0-18.0-t-66151-feg-5199-fw branch from 3fb8d89 to 029fd97 Compare June 1, 2026 12:05
@feg-adhoc

Copy link
Copy Markdown
Contributor

@roboadhoc r+ nobump

@roboadhoc roboadhoc closed this in 02abd61 Jun 1, 2026
@roboadhoc roboadhoc added the 18.1 label Jun 1, 2026
@roboadhoc roboadhoc deleted the 19.0-18.0-t-66151-feg-5199-fw branch June 1, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants