Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
b9d2559
Initial commit
OCA-git-bot Sep 30, 2025
9181921
Merge 18.0 modules into 19.0 branch
susaglam Apr 16, 2026
9a9da91
[MIG] spreadsheet_*: Migrate modules from 18.0 to 19.0
susaglam Apr 16, 2026
08fd329
[MIG] spreadsheet_oca: Remove deprecated patterns for Odoo 19.0
susaglam Apr 16, 2026
8a1f912
[MIG] spreadsheet_*: Migrate modules from 19.0 to saas-19.2
susaglam Apr 16, 2026
85c8b87
[FIX] spreadsheet_oca: Fix security.xml for Odoo 19.0 compatibility
susaglam Apr 16, 2026
5dad539
[FIX] spreadsheet_oca: Fix remaining Odoo 19.0 breaking changes
susaglam Apr 16, 2026
6fb3a36
[FIX] spreadsheet_oca: Remove users field from res.groups record
susaglam Apr 16, 2026
ce5eaed
[FIX] spreadsheet_oca: Fix topbarMenuRegistry duplicate key crash
susaglam Apr 16, 2026
724d888
[FIX] spreadsheet_oca: Fix list view button xpath for Odoo 19
susaglam Apr 16, 2026
2b821e6
[FIX] spreadsheet_oca: Prevent registry duplicate key crashes
susaglam Apr 16, 2026
c1d661a
[FIX] spreadsheet_oca: Fix content_disposition import for saas-19.2
susaglam Apr 16, 2026
db8d993
[FIX] spreadsheet_oca: Fix list button xpath for saas-19.2
susaglam Apr 16, 2026
102fdb1
[FIX] spreadsheet_oca: Make spreadsheet groups inherit base.group_user
susaglam Apr 16, 2026
acbb1ee
[FIX] spreadsheet_oca: Use Odoo 19 privilege system for group visibility
susaglam Apr 16, 2026
b9db180
[FIX] spreadsheet_oca: Fix list view Upload button xpath for saas-19.2
susaglam Apr 17, 2026
fd4a2e2
[FIX] spreadsheet_dashboard_purchase_stock_oca: Use scheduled_date in…
susaglam Apr 17, 2026
a952de2
[FIX] pre-commit: prettier format + pylint-odoo (env._, lambda)
susaglam Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.29
_commit: v1.35
_src_path: git+https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub
Expand All @@ -14,7 +14,7 @@ github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_test_flavor: Both
odoo_version: 18.0
odoo_version: 19.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test-requirements.txt merge=union
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: pre-commit
on:
pull_request:
branches:
- "18.0*"
- "19.0*"
push:
branches:
- "18.0"
- "18.0-ocabot-*"
- "19.0"
- "19.0-ocabot-*"

jobs:
pre-commit:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: tests
on:
pull_request:
branches:
- "18.0*"
- "19.0*"
push:
branches:
- "18.0"
- "18.0-ocabot-*"
- "19.0"
- "19.0-ocabot-*"

jobs:
unreleased-deps:
Expand Down Expand Up @@ -35,14 +35,14 @@ jobs:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-ocb19.0:latest
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:12.0
image: postgres:13
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand Down
25 changes: 12 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/sbidoul/whool
rev: v1.2
rev: v1.3
hooks:
- id: whool-init
- repo: https://github.com/oca/maintainer-tools
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
rev: f9b919b9868143135a9c9cb03021089cabba8223
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand All @@ -52,15 +52,15 @@ repos:
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=18.0
- --branch=19.0
- --org-name=OCA
- --repo-name=spreadsheet
- --if-source-changed
- --keep-source-digest
- --convert-fragments-to-markdown
- id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.33
rev: v0.1.6
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
Expand All @@ -79,8 +79,8 @@ repos:
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
language: node
additional_dependencies:
- "prettier@3.3.3"
- "@prettier/plugin-xml@3.4.1"
- "prettier@3.6.2"
- "@prettier/plugin-xml@3.4.2"
- repo: local
hooks:
- id: eslint
Expand All @@ -93,10 +93,11 @@ repos:
types: [javascript]
language: node
additional_dependencies:
- "eslint@9.12.0"
- "eslint-plugin-jsdoc@50.3.1"
- "eslint@9.35.0"
- "eslint-plugin-jsdoc@57.0.8"
- "globals@16.0.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
Expand All @@ -105,8 +106,6 @@ repos:
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
- id: debug-statements
- id: fix-encoding-pragma
args: ["--remove"]
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
Expand All @@ -118,13 +117,13 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8
rev: v0.13.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/OCA/pylint-odoo
rev: v9.1.3
rev: v9.3.15
hooks:
- id: pylint_odoo
name: pylint with optional checks
Expand Down
60 changes: 26 additions & 34 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=18.0
valid-odoo-versions=19.0

[MESSAGES CONTROL]
disable=all
Expand All @@ -23,21 +23,12 @@ disable=all
# config as a blocking check.

enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -48,57 +39,57 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout,
bad-builtin-groupby,
category-allowed,
deprecated-name-get,
deprecated-odoo-model-method,
inheritable-method-lambda,
inheritable-method-string,
invalid-email,
manifest-behind-migrations,
manifest-data-duplicated,
missing-odoo-file,
no-raise-unlink,
no-search-all,
no-wizard-in-models,
prohibited-method-override,
prefer-env-translation,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
no-write-in-compute,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
create-user-wo-reset-password,
Expand All @@ -114,7 +105,8 @@ enable=anomalous-backslash-in-string,
old-api7-method-defined,
redefined-builtin,
too-complex,
unnecessary-utf8-coding-comment
unnecessary-utf8-coding-comment,
manifest-external-assets


[REPORTS]
Expand Down
59 changes: 25 additions & 34 deletions .pylintrc-mandatory
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,18 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=18.0
valid-odoo-versions=19.0

[MESSAGES CONTROL]
disable=all

enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -40,57 +31,57 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout
external-request-timeout,
bad-builtin-groupby,
category-allowed,
deprecated-name-get,
deprecated-odoo-model-method,
inheritable-method-lambda,
inheritable-method-string,
invalid-email,
manifest-behind-migrations,
manifest-data-duplicated,
missing-odoo-file,
no-raise-unlink,
no-search-all,
no-wizard-in-models,
prohibited-method-override,
prefer-env-translation,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
no-write-in-compute

[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
Expand Down
Loading