Commit Graph

100 Commits

Author SHA1 Message Date
Jairo Llopis
e9ddce17c8 [FIX] base_user_role: Improve tests resiliency
These 2 tests were checking the exact set of groups a user should have.

If these tests are ran in a database where a module is previously installed which adds more groups to the base role, these exact group sets would be inexact, although the behavior that is being tested was actually properly working.

With this patch, basically I'm testing if the user contains the groups from the roles, not the exact role set expected. It should work in integration scenarios.

@Tecnativa TT20468
2019-11-13 11:48:09 +00:00
Rodrigo Macedo
979a3da6df 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/
2019-09-03 01:23:50 +00:00
Rodrigo Macedo
e8bbdf6d0d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (4 of 4 strings)

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/pt_BR/
2019-09-03 01:23:47 +00:00
Rodrigo Macedo
2ac8cf966c 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/
2019-09-03 01:23:46 +00:00
OCA-git-bot
026406e76b [UPD] README.rst 2019-07-29 03:37:50 +00:00
OCA Transbot
1ee38c4cdc 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/
2019-07-20 11:57:36 +00:00
oca-travis
83ff9bdc93 [UPD] Update base_external_dbsource.pot 2019-07-19 05:23:16 +00:00
OCA-git-bot
36166412aa [ADD] setup.py 2019-07-19 05:18:58 +00:00
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