Commit Graph

220 Commits

Author SHA1 Message Date
OCA-git-bot
9b56172300 Merge PR #92 into 13.0
Signed-off-by StefanRijnhart
2020-12-16 12:10:53 +00:00
OCA Transbot
30808ceac1 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_global_discount
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/
2020-12-10 22:31:07 +00:00
Hbto [ Vauxoo ]
96e4d50fbd [FIX] Freezing mysqlclient version to 2.0.1 as more recent 2.0.2 (#101)
makes the CI to fail
2020-12-10 16:30:58 -06:00
OCA-git-bot
8858a89ebb [ADD] setup.py 2020-11-06 11:13:43 +00:00
oca-travis
44a2d864fe [UPD] Update base_global_discount.pot 2020-11-06 10:50:10 +00:00
OCA-git-bot
b866eaa554 Merge PR #96 into 13.0
Signed-off-by pedrobaeza
2020-11-06 10:27:26 +00:00
Stéphane Bidoul
682e8ff6f2 Upgrade pylint-odoo for 13.0 [ci skip]
This is apprently necessary for the
development status checks to work correctly.
2020-11-05 18:05:10 +01:00
Ernesto Tejeda
2ba9cb53e7 [MIG] base_global_discount: Migration to 13.0 2020-11-05 10:28:42 -05:00
Ernesto Tejeda
5830b70af5 [IMP] base_global_discount: black, isort, prettier 2020-11-04 19:27:21 -05:00
Pedro Castro Silva
30ab7d7532 Added translation using Weblate (Portuguese) 2020-11-04 19:27:21 -05:00
Manuel Calero
1345ad0bed [MIG] base_global_discount: Migration to 12.0 2020-11-04 19:27:21 -05:00
David
b47b5ff22a [ADD] base_global_discount: New Module 11.0 2020-11-04 19:27:21 -05:00
OCA-git-bot
a1546d803d base_user_role 13.0.1.0.1 2020-11-04 23:46:59 +00:00
OCA-git-bot
dfbb486e3e Merge PR #97 into 13.0
Signed-off-by pedrobaeza
2020-11-04 23:38:05 +00:00
Jairo Llopis
b032724795 [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
2020-11-04 17:34:18 -05:00
Etienne Ferriere
43dd2c2265 Corrected a bug on the attribution of the 'User roles' default application to a created user group on role creation. 2020-11-02 14:35:16 +01:00
Stéphane Bidoul
02f5fc7465 update dotfiles [ci skip] 2020-11-01 23:06:10 +01:00
Stéphane Bidoul
e8f840e298 Use prettier/pre-commit for compatibility with pre-commit 2.8 [ci skip] 2020-11-01 14:50:06 +01:00
oca-git-bot
d76e940a7a [IMP] pre-commit: pin node version [ci skip] 2020-10-27 01:16:05 +01:00
OCA-git-bot
12f08a50ff [ADD] setup.py 2020-10-21 14:24:45 +00:00
OCA-git-bot
1365b7ba5c [UPD] README.rst 2020-10-21 14:24:44 +00:00
oca-travis
cfaa4e4947 [UPD] Update base_external_dbsource_mysql.pot 2020-10-21 14:19:37 +00:00
OCA-git-bot
9fe5962b65 Merge PR #90 into 13.0
Signed-off-by pedrobaeza
2020-10-21 14:11:01 +00:00
Houzéfa Abbasbhay
e64cd9b50a Translated using Weblate (French)
Currently translated at 82.5% (33 of 40 strings)

Translation: server-backend-13.0/server-backend-13.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_user_role/fr/
2020-09-28 13:20:02 +00:00
David Alonso (Solvos)
47e8c42c6f [MIG] base_external_dbsource_mysql: Migration to 13.0 2020-09-09 10:39:18 +02:00
David Alonso (Solvos)
e19252dbeb [IMP] base_external_dbsource_mysql: black, isort, prettier 2020-09-01 19:07:52 +02:00
OCA-git-bot
bf7b00ee7b [ADD] icon.png 2020-09-01 17:49:41 +02:00
oca-travis
856c92796b [UPD] Update base_external_dbsource_mysql.pot 2020-09-01 17:49:41 +02:00
Pedro M. Baeza
36c50cb936 [IMP] base_external_dbsource_mysql: Don't depend on SQLite
The amount of shared code is so insignificant, that it doesn't worth to depend on
base_external_dbsource_sqlite.
2020-09-01 17:49:41 +02:00
Adrià Gil Sorribes
f88eb7a991 [12.0][MIG] Migrate module base_external_dbsource_mysql 2020-09-01 17:49:40 +02:00
Sergio Teruel Albert
c33c9abf1b [11.0][MIG] base_external_dbsource_mysql: Migration to v11.0 2020-09-01 17:49:40 +02:00
oca-travis
1a540c52a4 [UPD] Update base_external_dbsource_mysql.pot 2020-09-01 17:49:40 +02:00
Dave Lasley
3f7ef60134 [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
2020-09-01 17:49:39 +02:00
Ronald Portier
d15dbcac86 [FIX] base_external_system. Solve test error.
Testing fingerprint, with ignore_finger_print set to False, caused an error, because it would first set
ignore_fingerprint to False, then validate, never getting to actually setting the fingerprint, causing the
following stacktrace:
Traceback (most recent call last):

  File "/home/travis/build/OCA/server-backend/base_external_system/tests/test_external_system.py", line 28, in test_check_fingerprint_allowed

    self.record.write({"ignore_fingerprint": False, "fingerprint": "Data"})

  File "/home/travis/odoo-13.0/odoo/models.py", line 3573, in write

    fields[0].determine_inverse(real_recs)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 1122, in determine_inverse

    self.inverse(records)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 594, in _inverse_related

    target[field.name] = record_value[record]

  File "/home/travis/odoo-13.0/odoo/models.py", line 5629, in __setitem__

    return self._fields[key].__set__(self, value)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 1087, in __set__

    records.write({self.name: write_value})

  File "/home/travis/odoo-13.0/odoo/models.py", line 3568, in write

    real_recs._validate_fields(set(vals) - set(inverse_fields))

  File "/home/travis/odoo-13.0/odoo/models.py", line 1176, in _validate_fields

    check(self)
2020-08-21 12:09:22 +02:00
Ronald Portier
1815585ab6 [FIX] base_external_system. Correct file modes. 2020-08-21 11:31:23 +02:00
Ronald Portier
c5f14c3a45 [MIG] base_external_system Migration to 13.0 2020-08-21 11:31:23 +02:00
Ronald Portier
e05496d065 [IMP] : black, isort, prettier 2020-08-21 11:10:38 +02:00
Alexandre Díaz
c6b20605ce [MIG] base_external_system: Migration to 12.0 2020-08-20 14:07:51 +02:00
Dave Lasley
a724c87042 [MIG] base_external_system: Upgrade to v11
* Perform standard v11 migration
2020-08-20 14:07:51 +02:00
Dave Lasley
19c3d1100b [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
2020-08-20 13:59:17 +02:00
Dave Lasley
0c879cf0cf [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
2020-08-20 13:59:17 +02:00
OCA Transbot
1d2cad45f9 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/
2020-08-16 11:24:44 +00:00
OCA-git-bot
c1e495ff00 [ADD] setup.py 2020-08-11 13:57:54 +00:00
oca-travis
a3b062dbf0 [UPD] Update base_import_match.pot 2020-08-11 13:52:50 +00:00
OCA-git-bot
23c1430b7c Merge PR #81 into 13.0
Signed-off-by pedrobaeza
2020-08-11 13:44:17 +00:00
Radovan Skolnik
a98f8279fd [MIG] base_import_match: Migration to 13.0 2020-07-16 13:35:19 +02:00
Radovan Skolnik
7b8ce4a970 [IMP] base_import_match: black, isort, prettier 2020-07-15 15:33:19 +02: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-git-bot
6f018451a2 [UPD] README.rst 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