Commit Graph

92 Commits

Author SHA1 Message Date
OCA-git-bot
6a00ebf2aa [UPD] README.rst 2019-07-19 05:18:57 +00:00
Jordi Ballester Alomar
f5ddb5f9fd Merge pull request #20 from Eficent/12.0-mig-base_external_dbsource
[12.0][MIG] base_external_dbsource
2019-07-19 07:18:50 +02:00
OCA-git-bot
a2b39a1cd3 Merge PR #40 into 12.0
Signed-off-by pedrobaeza
2019-06-24 15:08:30 +00:00
OCA-git-bot
0a73bc84ec [ADD] setup.py 2019-06-24 15:08:30 +00:00
oca-travis
3c4a0cf6fd [UPD] Update base_external_system.pot 2019-06-24 14:19:42 +00:00
Alexandre Díaz
37d9334b15 [MIG] base_external_system: Migration to 12.0 2019-06-20 18:20:31 +02:00
oca-travis
bdde7d8d3b [UPD] Update base_external_system.pot 2019-06-20 17:59:44 +02:00
Dave Lasley
60d9aa6510 [MIG] base_external_system: Upgrade to v11
* Perform standard v11 migration
2019-06-20 17:59:44 +02:00
Dave Lasley
4a22c8764b [IMP] base_external_system: Add create bypass
* In cases of deep inheritance, it may be required to create an adapter directly. Add an override in the create via the env context to support this.
* Add default system type if creating from an interface
* Fix interface assignment during creation in adapter
2019-06-20 17:59:44 +02:00
Dave Lasley
50c6ee968a [ADD] base_external_system: Implement interface/adapter (#993)
* [ADD] base_external_system: Implement interface/adapter for external systems

* base_external_system: Fix OS model, add inherits, add validate

* base_external_system: Usability and private key pass

* base_external_system: Use contextmanager in adapter client

* base_external_system: Move contextmanager to interface

* base_external_system: Include contextmanager on adapter and system

* base_external_system: Unify client

* Use password widget for password field

* Add tests & security

* Fix lint

* Add plaintext note
2019-06-20 17:59:44 +02:00
OCA Transbot
e4fa90d853 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_suspend_security
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_suspend_security/
2019-03-03 16:08:34 +00:00
OCA Transbot
d3658ba8f0 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/
2019-03-03 16:08:29 +00:00
Pedro M. Baeza
a9b573963f Merge pull request #33 from novawish/12.0-base_user_role-perf
[12.0 ][IMP] base_user_role: Improve performance by only adding/removing from a user the groups that have changed with respecto the role.
2019-02-26 09:34:42 +01:00
Jordi Ballester Alomar
300455f59d [base_user_role] improve performance by only adding/removing from a user
the groups that have changed with respecto the role.
2019-02-25 19:06:48 +07:00
oca-travis
45cc7096cf [UPD] Update base_suspend_security.pot 2019-02-21 14:29:43 +00:00
OCA-git-bot
50404c265e [ADD] setup.py 2019-02-21 14:23:39 +00:00
OCA-git-bot
bd8a513870 [UPD] README.rst 2019-02-21 14:23:39 +00:00
Pedro M. Baeza
92ebf2dc2a [FIX] base_suspend_security: Adapt to upstream
On 9af8b31d921dcccb7bcf230271fd3ef4R4329, a new keyword argument was added
for `_browse`, so any overriding needs to add that argument, as it's the case
for this module.
2019-02-21 15:23:34 +01:00
Denis Robinet (ACSONE)
4801c32f84 [12.0][MIG] Migrate base_suspend_security 2019-02-21 15:23:34 +01:00
OCA Transbot
39ca13d316 OCA Transbot updated translations from Transifex 2019-02-21 15:23:34 +01:00
Dmytro Katyukha
310b04bccc [FIX] suspend security incorrect uid in env 2019-02-21 15:23:34 +01:00
Frédéric Garbely
61ca98ebe3 [MIG] base_suspend_security: Migration to 11.0 2019-02-21 15:23:34 +01:00
Stéphane Bidoul (ACSONE)
07592ea5bd [FIX] rst syntax errors 2019-02-21 15:23:34 +01:00
Adrien Peiffer (ACSONE)
e719bc627e [MIG] base_suspend_security to 10.0 (#586) 2019-02-21 15:23:34 +01:00
Pedro M. Baeza
1a5194c152 [MIG] Rename manifest files 2019-02-21 15:23:34 +01:00
Pedro M. Baeza
36c06b5099 [MIG] Make modules uninstallable 2019-02-21 15:23:34 +01:00
Laurent Mignon
ffcae3f36d [FIX] Bump version to 9.0.1.0.0 2019-02-21 15:23:34 +01:00
Adrien Peiffer (ACSONE)
b7f756185d [PORT] Port base_suspend_security to 9.0 2019-02-21 15:23:34 +01:00
Pedro M. Baeza
e35d4e0df5 [MIG] Make modules uninstallable 2019-02-21 15:23:34 +01:00
Stéphane Bidoul
c39aee54f3 [UPD] prefix versions with 8.0 2019-02-21 15:23:34 +01:00
Holger Brunn
032f163a22 [FIX] flake8 2019-02-21 15:23:34 +01:00
Holger Brunn
fe16cc7ca1 [ADD] base_suspend_security 2019-02-21 15:23:34 +01:00
oca-travis
831f40c718 [UPD] Update base_import_match.pot 2019-02-18 08:54:36 +00:00
OCA-git-bot
aa86dd7082 [ADD] setup.py 2019-02-18 08:47:38 +00:00
OCA-git-bot
8626843491 [UPD] README.rst 2019-02-18 08:47:38 +00:00
Pedro M. Baeza
427254bc05 Merge pull request #30 from Tecnativa/12.0-mig-base_import_match
12.0 mig base_import_match
2019-02-18 09:47:33 +01:00
ernesto
6f667b9736 [MIG] base_import_match: Migration to 12.0 2019-02-15 08:08:14 -05:00
oca-travis
7919feca40 [UPD] Update base_import_match.pot 2019-02-11 15:19:24 -05:00
OCA Transbot
58c015f00d OCA Transbot updated translations from Transifex 2019-02-11 15:19:24 -05:00
Jairo Llopis
fcbee6d5a1 [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.
2019-02-11 15:19:24 -05:00
OCA Transbot
76abf8bb0a OCA Transbot updated translations from Transifex 2019-02-11 15:19:24 -05:00
cubells
6eb3fa5f02 base_import_match module 2019-02-11 15:19:24 -05:00
Jairo Llopis
5559ac3e60 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.
2019-02-11 15:19:24 -05:00
Moisés López
25df7ef68f base_import_match: Small rst fixes in readme file 2019-02-11 15:19:24 -05:00
Jairo Llopis
d0cdf496d7 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.
2019-02-11 15:19:24 -05:00
Jairo Llopis
8d317ed990 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.
2019-02-11 15:19:24 -05:00
OCA-git-bot
cefee972da [UPD] README.rst 2019-02-11 19:47:15 +00:00
Pedro M. Baeza
04bfe11472 Merge pull request #23 from Eficent/12.0-fix-readme-base_user_role
[12.0][FIX] base_user_role: readme travis
2019-02-11 20:47:10 +01:00
hveficent
2f3402ed1b [12.0][FIX] readme 2018-12-11 14:45:46 +01:00
OCA-git-bot
4893159ceb [UPD] README.rst 2018-12-02 02:54:58 +00:00