Commit Graph

355 Commits

Author SHA1 Message Date
oca-ci
b501d27d81 [UPD] Update base_external_dbsource.pot 2023-03-30 12:05:18 +02:00
Carlos Dauden
1829a38b86 [MIG] base_external_dbsource: Migration to v15.0
TT37273
2023-03-30 12:05:18 +02:00
Víctor Martínez
afe106fcda [FIX] base_external_dbsource: Remove tests that do not work and cannot be tested (it is not possible to test the connection with odoo postgress).
base_external_dbsource 14.0.1.0.1
2023-03-30 12:05:18 +02:00
bilbonet
4fe79fce8d [FIX]
- problems with tests
 - pre-commit

[UPD] Update base_external_dbsource.pot

[UPD] README.rst
2023-03-30 12:05:18 +02:00
sergio.teruel
a65afb1b8e [IMP] base_external_dbsource: Add company field to backend
fw-port from b7f439e04a
2023-03-30 12:05:18 +02:00
bilbonet
f3856e5ca0 little change 2023-03-30 12:05:18 +02:00
bilbonet
810c8ac8eb [FIX] pre-commit 2023-03-30 12:05:18 +02:00
bilbonet
8b1098a201 [MIG] base_external_dbsource: Migration to 14.0 2023-03-30 12:05:18 +02:00
bilbonet
2fa46041de [IMP] base_external_dbsource: black, isort, prettier 2023-03-30 12:05:18 +02:00
Sergio Teruel
e0a6a4bfcc [MIG] base_external_dbsource: Migration to v13.0
[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/
2023-03-30 12:05:18 +02:00
Jairo Llopis
ae58bb7f16 [FIX] base_external_dbsource: Reuse Odoo DB settings for tests
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/
2023-03-30 12:05:18 +02:00
Rodrigo Macedo
c1cfd58b01 Translated using Weblate (Portuguese (Brazil))
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/
2023-03-30 12:05:18 +02:00
Adrià Gil Sorribes
91dd0294da [12.0][MIG] Migrate module base_external_dbsource
[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
2023-03-30 12:05:18 +02:00
Sergio Teruel Albert
53711a93c2 [11.0][MIG] base_external_dbsource: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource.pot
2023-03-30 12:05:18 +02:00
Dave Lasley
0b1517d860 [FIX] base_external_dbsource: Fix PQ connection
* Use `conn_string_full` in pg connection to fix #888

[UPD] Update base_external_dbsource.pot
2023-03-30 12:05:18 +02:00
Dave Lasley
879cc23bd3 [IMP] base_external_dbsource: Refactor & Split by source
* 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
2023-03-30 12:05:18 +02:00
Daniel Reis
144ee73398 Relicense to LGPL
With the agreement of authors and contributors.
Closes #635 (https://github.com/OCA/server-tools/issues/635)
2023-03-30 12:05:18 +02:00
Michell Stuttgart
35de494c94 [10.0] Add Firebird database support to base_external_dbsource (#623) 2023-03-30 12:05:18 +02:00
Henry Zhou
1c63f6b86b [MIG][10.0] base_external_dbsource (#578)
OCA Transbot updated translations from Transifex
2023-03-30 12:05:18 +02:00
Gervais Naoussi
2bbaf300d0 [MIG] base external dbsource
* 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
2023-03-30 12:05:18 +02:00
Sandy
dd6bcb6363 Activate base_external_dbsource
OCA Transbot updated translations from Transifex
2023-03-30 12:05:18 +02:00
lauris
9974fee01e base_external_dbsource and import_odbc modules moved out of __unported__ and adopted for instalation on v8.0 : created new form views for both modules as old ones was for v6.1 2023-03-30 12:05:18 +02:00
Stéphane Bidoul
6a464e1f9c move all modules to __unported__ on master branch and set installable=False 2023-03-30 12:05:18 +02:00
Maxime Chambreuil
e06e904c79 [IMP] Update to v7 menu structure and dos2unix conversion
(../ext rev 366)
2023-03-30 12:05:18 +02:00
Daniel Reis
215da9a6f2 [CHG] simplified dbsource.execute api to a single method with two possible behaviors
(../ext rev 351.3.4)
2023-03-30 12:05:18 +02:00
webtec
5a5a0f79ea CHG: adapted to base_external_dbsource; code refactored
(../ext rev 351.3.3)
2023-03-30 12:05:18 +02:00
anjeel.haria
6b04546328 [MIG] base_import_match: Migration to 16.0 2023-03-22 15:34:44 +01:00
anjeel.haria
5cb2919f81 [IMP] base_import_match: pre-commit stuff 2023-03-22 15:23:38 +01:00
OCA-git-bot
4c8fe4685c base_import_match 15.0.1.0.1 2023-03-22 15:22:51 +01:00
Katherine Zaoral
f3bd2931a6 [FIX] base_import_match: "Unable to use a closed cursor"
Cached methods should never return recordsets, which are tied to
specific context, env, cursor, uid. Instead, they should return IDs
which, later, can be browsed in the current context.

With this change _usable_rules() cached method is now returing ids instead
of a recordset, and also the _match_find method is properly browsing the
results ids of the cached method.
2023-03-22 15:22:51 +01:00
OCA-git-bot
fc0bc24626 [UPD] README.rst 2023-03-22 15:22:51 +01:00
oca-ci
307e4a3d59 [UPD] Update base_import_match.pot 2023-03-22 15:22:51 +01:00
Augusto Weiss
8efe66fe1a [MIG] base_import_match: Migration to 15.0 2023-03-22 15:22:51 +01:00
oca-git-bot
883110ad91 [IMP] update dotfiles [ci skip] 2023-03-22 15:22:51 +01:00
Mi Di
e9641c3d1c Translated using Weblate (Vietnamese)
Currently translated at 100.0% (27 of 27 strings)

Translation: server-backend-14.0/server-backend-14.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_import_match/vi_VN/
2023-03-22 15:22:51 +01:00
OCA-git-bot
b0b18a93ee [UPD] README.rst 2023-03-22 15:22:51 +01:00
oca-travis
9646e89c4e [UPD] Update base_import_match.pot 2023-03-22 15:22:51 +01:00
Jesus Ramoneda
d97c976985 [MIG] base_import_match: Migration to 14.0 2023-03-22 15:22:51 +01:00
Jesus Ramoneda
9ed2c852df [IMP] base_import_match: black, isort, prettier 2023-03-22 15:22:51 +01:00
Radovan Skolnik
80a27085f7 [MIG] base_import_match: Migration to 13.0
[UPD] Update base_import_match.pot
2023-03-22 15:22:51 +01:00
Radovan Skolnik
2bed15f9f9 [IMP] base_import_match: black, isort, prettier 2023-03-22 15:22:51 +01:00
Rodrigo Macedo
2a1678b9c9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (27 of 27 strings)

Translation: server-backend-12.0/server-backend-12.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_import_match/pt_BR/
2023-03-22 15:22:51 +01:00
OCA Transbot
cde8723f0b 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_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_import_match/

[UPD] README.rst
2023-03-22 15:22:51 +01:00
ernesto
fe71d7bdc6 [MIG] base_import_match: Migration to 12.0
[UPD] README.rst

[UPD] Update base_import_match.pot
2023-03-22 15:22:51 +01:00
OCA Transbot
2c446e0c98 OCA Transbot updated translations from Transifex
[UPD] Update base_import_match.pot
2023-03-22 15:22:51 +01:00
Jairo Llopis
3a970e7477 [10.0][MIG][base_import_match] Migration and update
Includes:

- Normal migration steps.
- Usage of brand new `_inherit = "base"` in Odoo 10, which implies
  removing a lot of monkey-patching code.
- Log a warning when multiple matches are found.
2023-03-22 15:22:51 +01:00
OCA Transbot
4c3cc63232 OCA Transbot updated translations from Transifex 2023-03-22 15:22:51 +01:00
cubells
406186c0f9 base_import_match module 2023-03-22 15:22:51 +01:00
Jairo Llopis
a425b8cac5 Avoid UnicodeEncodeError. (#544)
* Fix wrong README format.

* [FIX][base_import_match] Avoid UnicodeEncodeError.

When the model or field you chose was translated and had some non-ascii
character, you got an error like this: `UnicodeEncodeError: 'ascii' codec can't
encode character u'\xed' in position 15: ordinal not in range(128)`.

Now, using unicode strings, that won't happen again.

* Do not require a hidden field.

* Further unicode protection, add ondelete clause.
2023-03-22 15:22:51 +01:00
Moisés López
b2b8707001 base_import_match: Small rst fixes in readme file 2023-03-22 15:22:51 +01:00