Commit Graph

11 Commits

Author SHA1 Message Date
mymage
b1583da489 Translated using Weblate (Italian)
Currently translated at 51.8% (14 of 27 strings)

Translation: server-backend-13.0/server-backend-13.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_import_match/it/
2023-04-17 16:36:35 +00:00
mymage
06482fda98 Translated using Weblate (Italian)
Currently translated at 51.8% (14 of 27 strings)

Translation: server-backend-13.0/server-backend-13.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_import_match/it/
2023-04-10 16:33:09 +00:00
mymage
d64c3df280 Translated using Weblate (Italian)
Currently translated at 51.8% (14 of 27 strings)

Translation: server-backend-13.0/server-backend-13.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_import_match/it/
2023-03-30 14:27:33 +00:00
oca-travis
a3b062dbf0 [UPD] Update base_import_match.pot 2020-08-11 13:52:50 +00:00
Rodrigo Macedo
6b80c3b884 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/
2020-07-15 15:31:51 +02:00
OCA Transbot
27b5e79195 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/
2020-07-15 15:31:51 +02:00
oca-travis
62823dd1b2 [UPD] Update base_import_match.pot 2020-07-15 15:31:51 +02:00
oca-travis
06689fc773 [UPD] Update base_import_match.pot 2020-07-15 15:31:51 +02:00
OCA Transbot
8b940d34a9 OCA Transbot updated translations from Transifex 2020-07-15 15:31:51 +02:00
OCA Transbot
0c7ecfa93e OCA Transbot updated translations from Transifex 2020-07-15 15:31:51 +02:00
Jairo Llopis
47128c59c9 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.
2020-07-15 15:31:51 +02:00