Skip to content

[19.0][MIG] account_statement_import_online_mercury: Migration to 19.0#952

Open
dnplkndll wants to merge 2 commits into
OCA:19.0from
ledoent:19.0-mig-mercury
Open

[19.0][MIG] account_statement_import_online_mercury: Migration to 19.0#952
dnplkndll wants to merge 2 commits 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

dnplkndll added 2 commits May 12, 2026 09:15
- Bump manifest version to 19.0.1.0.0
- Use self.env._() for translations and lazy formatting
  (replaces `from odoo import _` and `_("...") % {...}` patterns)
@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
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