Skip to content

[19.0][MIG] sql_export_excel: Migration to 19.0 - #1181

Draft
idris-domatix wants to merge 33 commits into
OCA:19.0from
idris-domatix:19.0-mig-sql_export_excel
Draft

[19.0][MIG] sql_export_excel: Migration to 19.0#1181
idris-domatix wants to merge 33 commits into
OCA:19.0from
idris-domatix:19.0-mig-sql_export_excel

Conversation

@idris-domatix

Copy link
Copy Markdown

Migration of sql_export_excel to 19.0.

Depends on #1180 (sql_export). The Detect unreleased dependencies check will stay red until #1180 is merged.

Changes

  • __manifest__: version 19.0.1.0.1
  • models/sql_export.py: drop deprecated from odoo import _, use self.env._(); pass the missing %s argument (sheet count) that was never substituted in the sheet-position error message
  • README / index.html / requirements.txt regenerated by pre-commit

Tests

Runtime-validated on a 19.0 instance (install without demo + --test-tags=/sql_export_excel): 2/2 tests green (test_excel_file_generation, test_excel_file_insert). pre-commit clean.

@florian-dacosta (maintainer)

florian-dacosta and others added 30 commits July 23, 2026 09:40
Co-Authored-By: David Beal <david.beal@akretion.com>
Currently translated at 100.0% (17 of 17 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_export_excel
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_export_excel/ca/
Currently translated at 100.0% (17 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-sql_export_excel
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-sql_export_excel/es/
Currently translated at 100.0% (17 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-sql_export_excel
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-sql_export_excel/it/
oca-ci and others added 3 commits July 23, 2026 09:40
- __manifest__: version 19.0.1.0.1
- models/sql_export.py: drop deprecated 'from odoo import _'; use self.env._();
  pass the missing %s argument (sheet count) that was never substituted
- views/tests unchanged (view already uses invisible=...; tests are
  demo-independent, create their own queries and use base res_partner)
@idris-domatix
idris-domatix marked this pull request as draft July 23, 2026 08:46
@idris-domatix

Copy link
Copy Markdown
Author

Marked as draft: this depends on #1180 (sql_export), which is not yet merged into 19.0. runboat/build and the CI will fail until then because the sql_export dependency cannot be resolved on the 19.0 branch.

Locally validated on a 19.0 instance with sql_export present: install without demo + --test-tags=/sql_export_excel → 2/2 tests green, pre-commit clean. Will mark ready and rebase once #1180 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants