Skip to content

October 2025 update - #1

Open
hhgabelgaard wants to merge 69 commits into
steingabelgaard:masterfrom
OCA:master
Open

October 2025 update#1
hhgabelgaard wants to merge 69 commits into
steingabelgaard:masterfrom
OCA:master

Conversation

@hhgabelgaard

Copy link
Copy Markdown

No description provided.

em230418 and others added 30 commits April 4, 2025 11:24
Recent commit fixes error, that raises when creating addons directory from template

OCA/maintainer-tools@b89f767
[FIX] Use latest maintainer-tools for 18.0
This file should be in the src directory, so it's applied to the addons
repositories.
Bumps [copier](https://github.com/copier-org/copier) from 9.3.1 to 9.9.1.
- [Release notes](https://github.com/copier-org/copier/releases)
- [Changelog](https://github.com/copier-org/copier/blob/master/CHANGELOG.md)
- [Commits](copier-org/copier@v9.3.1...v9.9.1)

---
updated-dependencies:
- dependency-name: copier
  dependency-version: 9.9.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
[19.0] upgrade  pre-commit hooks to latest version available
Add support for Odoo 19.0 into gh action
…d-check-rus-bad

[IMP] Do not include deprecated checks in v19 which are for older versions.
Add the OCA banner to the repo readme
* use ubuntu 22.04 for all github actions instead of using ubuntu 20.04
  for versions < 14, as ubuntu 20.04 has been retired by github.
* use python 3.7 (instead of 3.6) for pre-commit, as this is the minimal
  available version on github's ubuntu 22.04 environment.
This allows the pipeline to reuse cached packages
instead of installing them from scratch every time, reducing build times
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.26.6 to 20.36.1.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](pypa/virtualenv@20.26.6...20.36.1)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-version: 20.36.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
In the account module, the form view for account.move uses the res_partner_many2one widget:
https://github.com/odoo/odoo/blob/c0a7b51c9e14d29cefa96c29dd716b7aec698818/addons/account/views/account_move_views.xml#L976

In standard Odoo, the partner_autocomplete module is marked as auto_install, so the widget is always available.
However, in OCB this module is not auto-installed (disabled in OCA/OCB#1310
).

As a result, when tests render the account.move form view without partner_autocomplete installed, a warning is logged about the missing widget, causing test failures.

This change ignores the warning when the res_partner_many2one widget is not available.
…es_partner_many2one

[IMP] checklog-odoo: Ignore warning when res_partner_many2one widget is missing
Only add OCA README banner for OCA repos
sbidoul and others added 30 commits April 4, 2026 15:30
Move pytest config to pyproject.toml
Use standard-based declaration of test dependencies
[IMP] Ignore 'add Killing Chrome descendants...'
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
With the removal of Travis support, the CI question no longer exists, so this file is no longer rendered. In new repositories, test.yaml is not copied correctly.

Complementary to #339
[FIX] Rename test.yaml to render correctly
So we can still test with python 3.8
[FIX] Set python minor version on pre-commit
Add postgres image parameter
Enable pylint's deprecated-module check in the mandatory rcfile used by the blocking pre-commit hook for Odoo 13.0 and newer.

This makes generated OCA repositories fail fast when forbidden imports such as pdb, pudb, ipdb, or bs4 are introduced, instead of leaving the check only in the optional IDE-oriented pylint configuration.

For Odoo 20.0 and newer, also mark pytz as deprecated so repositories generated from this template follow the upstream direction taken in Odoo saas-19.1.

That branch removed pytz usage in Odoo commit 6fdb36716aac5d2b084fb0faa94ccb2f3ee7f99c: odoo/odoo@6fdb367

Keep the scope limited to 13.0+ templates, where src/.pylintrc-mandatory.jinja is the source used to render both .pylintrc-mandatory and the inherited optional .pylintrc. Legacy <=12.0 templates are intentionally left unchanged.

Extend the bootstrap test to assert the rendered [IMPORTS] section and the version-specific pytz addition.
Co-authored-by: legalsylvain <legalsylvain@users.noreply.github.com>
[FIX] .pylintrc: drop duplicated comma before optional checks on 15.0-18.0
Add renovate.json to auto update the template
…self-cr

Bump the pylint-odoo hook to v10.0.8
(see OCA/pylint-odoo#577)
and add the new `deprecated-self-cr` check
to the mandatory checks list in `.pylintrc-mandatory`
to flag deprecated usage of `self._cr`.
[IMP] pre-commit: Update pylint-odoo to v10.0.8 to enable deprecated-self-cr only for Odoo v19.0+
Keep the 3.16.1 and 3.19.1 pins for Python 3.8 and 3.9, as filelock
3.20+ requires Python >= 3.10. A naive single-version bump broke
pre-commit on 3.8 by collapsing the resolution markers.

Assisted-by: OpenCode + Kimi k2.7-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.