Skip to content

[19.0][MIG] base_external_dbsource#466

Merged
OCA-git-bot merged 45 commits into
OCA:19.0from
ursais:19.0-mig-base_external_dbsource
Jun 20, 2026
Merged

[19.0][MIG] base_external_dbsource#466
OCA-git-bot merged 45 commits into
OCA:19.0from
ursais:19.0-mig-base_external_dbsource

Conversation

@max3903

@max3903 max3903 commented Jun 19, 2026

Copy link
Copy Markdown
Member

Superseeds #415

webtec and others added 30 commits February 1, 2026 14:51
…d__ and adopted for instalation on v8.0 : created new form views for both modules as old ones was for v6.1
OCA Transbot updated translations from Transifex
* Migration of base_external_dbsource to odoo 9.0

* Fixing test error

* Moving test from yaml to python

* Fixing pylint error in test class

* Placeholder added to connection string text zone

* improving test coverage

OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex
With the agreement of authors and contributors.
Closes #635 (OCA/server-tools#635)
* Heavily refactor code for reusability
* Split all sources into independent modules
* Add more test coverage
* Add CRUD methods
* Add iterator execute return to roadmap

OCA Transbot updated translations from Transifex
* Use `conn_string_full` in pg connection to fix #888

[UPD] Update base_external_dbsource.pot
[UPD] README.rst

[UPD] Update base_external_dbsource.pot
[UPD] README.rst

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/

[UPD] README.rst
Currently translated at 100.0% (34 of 34 strings)

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/pt_BR/
Before, postgres configuration was hardcoded. This worked OK for OCA's CI infrastructure, but failed in any other out there that had different defaults.

There's no need to hardcode it; Odoo already must have Postgres connection settings, so let's use those instead. This will make tests testable across different CI infrastructures.

base_external_dbsource 12.0.1.0.1

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/
[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/

pre-commit update

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/
 - problems with tests
 - pre-commit

[UPD] Update base_external_dbsource.pot

[UPD] README.rst
…t be tested (it is not possible to test the connection with odoo postgress).

base_external_dbsource 14.0.1.0.1
Currently translated at 34.4% (10 of 29 strings)

Translation: server-backend-15.0/server-backend-15.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource/it/
Currently translated at 55.1% (16 of 29 strings)

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource/sl/
Currently translated at 100.0% (29 of 29 strings)

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource/es/
Rodrigo Macedo and others added 13 commits February 1, 2026 14:51
Currently translated at 100.0% (30 of 30 strings)

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-17.0/server-backend-17.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_external_dbsource/
Currently translated at 100.0% (29 of 29 strings)

Translation: server-backend-17.0/server-backend-17.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_external_dbsource/it/
Add unit tests for external database sources with Odoo 19 compatibility
fixes: store current_table in a per-record class cache (Odoo 19 rejects
arbitrary attributes on record instances), replace deprecated tools.ustr,
adjust tests for Odoo 19 field and context manager behavior, and fix a
connector typo in NotImplementedError message formatting.

Co-authored-by: Cursor <cursoragent@cursor.com>
@max3903 max3903 force-pushed the 19.0-mig-base_external_dbsource branch from ce1cf19 to 0603141 Compare June 20, 2026 04:53
@max3903

max3903 commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-466-by-max3903-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 448a693 into OCA:19.0 Jun 20, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 483ab17. Thanks a lot for contributing to OCA. ❤️

@max3903 max3903 deleted the 19.0-mig-base_external_dbsource branch June 20, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.