Skip to content

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

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

[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

…nciliations

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.

X-original-commit: 8dce76a
@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

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