Skip to content

[19.0][ADD] account_statement_import_online_mercury - #952

Open
dnplkndll wants to merge 1 commit into
OCA:19.0from
ledoent:19.0-mig-mercury
Open

[19.0][ADD] account_statement_import_online_mercury#952
dnplkndll wants to merge 1 commit into
OCA:19.0from
ledoent:19.0-mig-mercury

Conversation

@dnplkndll

Copy link
Copy Markdown

Migrates account_statement_import_online_mercury (#910) to 19.0.

Depends on #910 ([18.0][ADD] account_statement_import_online_mercury).
When #910 merges, the [BOT] post-merge updates commit in this PR will be
rebased to match the bot's actual replay.

Migration changes ([19.0][MIG] commit)

  • Bump manifest to 19.0.1.0.0.
  • Modernise translations per pylint_odoo 19.0 (W8161 prefer-env-translation
    • W8301 translation-not-lazy): replace from odoo import _ and
      _("...%(x)s") % {"x": x} with self.env._("...%(x)s", x=x).

No other 19.0 API breakage in this module — no _sql_constraints, auto_join,
groups_id, or odoo.osv.expression usage.

Tests

20 tests pass locally on Odoo 19.0:

$ docker compose run --rm odoo-19 odoo -d odoo19_base \\
    -i account_statement_import_online_mercury \\
    --stop-after-init --no-http --test-enable
Module account_statement_import_online_mercury loaded in 0.66s
0 failed, 0 error(s) of 20 tests

CI on the branch is also green:

  • pre-commit ✅
  • ruff / ruff format ✅
  • pylint_odoo ✅
  • prettier (XML) ✅

/ocabot migration account_statement_import_online_mercury

@OCA-git-bot OCA-git-bot added series:19.0 mod:account_statement_import_online_mercury Module account_statement_import_online_mercury labels May 12, 2026
Mercury Bank statement import provider for the OCA bank-statement-import
framework. Authored by Ledo Enterprises for Odoo 19.0.

Originally prototyped on a private 18.0 branch (ledoent/18.0-add-mercury)
and ported to 19.0 conventions (self.env._ lazy translation, current
account.account / online_bank_statement_provider APIs) before this first
upstream submission.
@dnplkndll dnplkndll changed the title [19.0][MIG] account_statement_import_online_mercury: Migration to 19.0 [19.0][ADD] account_statement_import_online_mercury May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_statement_import_online_mercury Module account_statement_import_online_mercury series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants