Commit Graph

322 Commits

Author SHA1 Message Date
Dave Lasley
a066a1de83 [FIX] base_external_dbsource: Fix PQ connection
* Use `conn_string_full` in pg connection to fix #888
2021-07-13 17:03:09 +02:00
OCA Transbot
c5b2f67653 OCA Transbot updated translations from Transifex 2021-07-13 17:03:09 +02:00
Dave Lasley
6421f19e64 [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
2021-07-13 17:03:09 +02:00
Daniel Reis
ed129bcf2e Relicense to LGPL
With the agreement of authors and contributors.
Closes #635 (https://github.com/OCA/server-tools/issues/635)
2021-07-13 17:03:09 +02:00
Michell Stuttgart
f72d8333fc [10.0] Add Firebird database support to base_external_dbsource (#623) 2021-07-13 17:03:09 +02:00
OCA Transbot
beec43d591 OCA Transbot updated translations from Transifex 2021-07-13 17:03:09 +02:00
Henry Zhou
e618e65d12 [MIG][10.0] base_external_dbsource (#578) 2021-07-13 17:03:09 +02:00
OCA Transbot
b73f870c61 OCA Transbot updated translations from Transifex 2021-07-13 17:03:09 +02:00
Gervais Naoussi
3d93a57b56 [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
2021-07-13 17:03:09 +02:00
OCA Transbot
a1389aeefc OCA Transbot updated translations from Transifex 2021-07-13 17:03:09 +02:00
Sandy
3be2f76bea Activate base_external_dbsource 2021-07-13 17:03:09 +02:00
lauris
97d47cf6ab 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 2021-07-13 17:03:09 +02:00
Stéphane Bidoul
0ad66204dd move all modules to __unported__ on master branch and set installable=False 2021-07-13 17:03:09 +02:00
Maxime Chambreuil
058e19d716 [IMP] Update to v7 menu structure and dos2unix conversion
(../ext rev 366)
2021-07-13 17:03:09 +02:00
Daniel Reis
cc52c175f2 [CHG] simplified dbsource.execute api to a single method with two possible behaviors
(../ext rev 351.3.4)
2021-07-13 17:03:09 +02:00
webtec
befcd50ffc CHG: adapted to base_external_dbsource; code refactored
(../ext rev 351.3.3)
2021-07-13 17:03:09 +02:00
OCA-git-bot
73477a1d83 [ADD] setup.py 2021-05-19 18:27:50 +00:00
OCA-git-bot
b4100ed341 [ADD] icon.png 2021-05-19 18:27:49 +00:00
OCA-git-bot
cedd5755ac [UPD] README.rst 2021-05-19 18:27:49 +00:00
OCA-git-bot
13c0426d86 [UPD] addons table in README.md 2021-05-19 18:27:48 +00:00
oca-travis
2257473b56 [UPD] Update base_user_role_company.pot 2021-05-19 18:13:39 +00:00
OCA-git-bot
80de463e7c Merge PR #125 into 14.0
Signed-off-by dreispt
2021-05-19 17:58:03 +00:00
oca-git-bot
703f286d03 [IMP] update dotfiles [ci skip] 2021-05-14 19:29:14 +02:00
Chandresh Thakkar OSI
0051dd00e9 [ADD] base_user_role_company: add per company user roles 2021-05-11 12:14:20 +01:00
OCA-git-bot
07f6025920 [ADD] setup.py 2021-04-26 13:55:36 +00:00
OCA-git-bot
fbe07f9230 [UPD] README.rst 2021-04-26 13:55:35 +00:00
OCA-git-bot
aaf3f6658f [UPD] addons table in README.md 2021-04-26 13:55:34 +00:00
oca-travis
b7bcf4725e [UPD] Update base_import_match.pot 2021-04-26 13:50:54 +00:00
OCA-git-bot
a2f6567a97 Merge PR #112 into 14.0
Signed-off-by dreispt
2021-04-26 13:46:05 +00:00
Jesus Ramoneda
812f855872 [MIG] base_import_match: Migration to 14.0 2021-03-20 09:34:49 +01:00
Ana Suárez
b95e5b7098 Translated using Weblate (Spanish)
Currently translated at 97.4% (38 of 39 strings)

Translation: server-backend-14.0/server-backend-14.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_user_role/es/
2021-03-16 18:45:51 +00:00
Jesus Ramoneda
49bec4f38a [IMP] base_import_match: black, isort, prettier 2021-02-25 16:21:44 +01:00
Radovan Skolnik
b77efdb3f6 [MIG] base_import_match: Migration to 13.0
[UPD] Update base_import_match.pot
2021-02-25 16:20:20 +01:00
Radovan Skolnik
e892b743d7 [IMP] base_import_match: black, isort, prettier 2021-02-25 16:20:16 +01:00
Rodrigo Macedo
a0504d7c4a 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/
2021-02-25 16:20:16 +01:00
OCA Transbot
2e152f5f5c 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
2021-02-25 16:20:18 +01:00
ernesto
5d9ab196fd [MIG] base_import_match: Migration to 12.0
[UPD] README.rst

[UPD] Update base_import_match.pot
2021-02-25 16:20:16 +01:00
OCA Transbot
3c0073b17f OCA Transbot updated translations from Transifex
[UPD] Update base_import_match.pot
2021-02-25 16:20:12 +01:00
Jairo Llopis
eaaaac1951 [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.
2021-02-25 16:19:31 +01:00
OCA Transbot
a43efe47ea OCA Transbot updated translations from Transifex 2021-02-25 16:19:31 +01:00
cubells
82a31630fb base_import_match module 2021-02-25 16:19:31 +01:00
Jairo Llopis
82bb1e33a3 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.
2021-02-25 16:19:31 +01:00
Moisés López
57a82e554a base_import_match: Small rst fixes in readme file 2021-02-25 16:19:31 +01:00
Jairo Llopis
bdfc921a2e base_import_match: Add conditionals to fields when importing.
This patch allows to import res.partner records by VAT when is_company==True by default.
2021-02-25 16:19:31 +01:00
Jairo Llopis
0757f3c2bc base_import_match: Import deduplicator.
By default, when importing data (like CSV import) with the ``base_import``
module, Odoo follows this rule:

1. If you import the XMLID of a record, make an **update**.
2. If you do not, **create** a new record.

This module allows you to set additional rules to match if a given import is an
update or a new record.

This is useful when you need to sync heterogeneous databases, and the field you
use to match records in those databases with Odoo's is not the XMLID but the
name, VAT, email, etc.

After installing this module, the import logic will be changed to:

1. If you import the XMLID of a record, make an **update**.
2. If you do not:
   1. If there are import match rules for the model you are importing:
       1. Discard the rules that require fields you are not importing.
       2. Traverse the remaining rules one by one in order to find a match in
          the database.
          1. If one match is found:
             1. Stop traversing the rest of valid rules.
             2. **Update** that record.
          2. If zero or multiple matches are found:
             1. Continue with the next rule.
          3. If all rules are exhausted and no single match is found:
             1. **Create** a new record.
   2. If there are no match rules for your model:
      1. **Create** a new record.
2021-02-25 16:19:31 +01:00
OCA-git-bot
671e17d39a [UPD] addons table in README.md 2021-02-12 12:13:21 +00:00
OCA-git-bot
9508bd6f6c base_user_role 14.0.2.1.1 2021-02-12 12:13:11 +00:00
OCA-git-bot
5d7a31a73c Merge PR #105 into 14.0
Signed-off-by dreispt
2021-02-12 11:52:08 +00:00
OCA Transbot
7f9de3e888 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-14.0/server-backend-14.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_user_role/
2021-01-28 12:43:17 +00:00
OCA-git-bot
87b06f60c3 [UPD] addons table in README.md 2021-01-28 12:43:08 +00:00