Commit Graph

134 Commits

Author SHA1 Message Date
ntsirintanis
14666c8c5b [MIG] base_external_system: Migration to 16.0 2023-02-07 12:26:29 +01:00
OCA-git-bot
b330ddba76 [UPD] README.rst 2023-02-06 16:29:30 +01:00
oca-ci
209dc609b4 [UPD] Update base_external_system.pot 2023-02-06 16:29:30 +01:00
Cesar Andres Sanchez
4c7a0f9184 [MIG] base_external_system: Migration to 15.0 2023-02-06 16:29:30 +01:00
Cesar Andres Sanchez
f7012c4576 [IMP] base_external_system: black, isort, prettier 2023-02-06 16:29:30 +01:00
Ronald Portier
748345c0b2 [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)
2023-02-06 16:29:30 +01:00
Ronald Portier
5f08203852 [FIX] base_external_system. Correct file modes. 2023-02-06 16:29:30 +01:00
Ronald Portier
fcd6afbc9d [MIG] base_external_system Migration to 13.0 2023-02-06 16:29:30 +01:00
Ronald Portier
9297e48691 [IMP] : black, isort, prettier 2023-02-06 16:29:30 +01:00
Alexandre Díaz
e9296fe02c [MIG] base_external_system: Migration to 12.0 2023-02-06 16:29:30 +01:00
Dave Lasley
c3f9c89ff6 [MIG] base_external_system: Upgrade to v11
* Perform standard v11 migration
2023-02-06 16:29:30 +01:00
Dave Lasley
f3e3a2d6fa [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
2023-02-06 16:29:30 +01:00
Dave Lasley
c6b750c5f7 [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
2023-02-06 16:29:30 +01:00
Weblate
ea3edcac6f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role_history
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role_history/
2023-01-26 12:08:41 +00:00
Weblate
dce74a1a4c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/
2023-01-26 11:42:11 +00:00
OCA-git-bot
6beaaa9151 [ADD] setup.py 2023-01-26 11:42:02 +00:00
OCA-git-bot
2f0e9b4839 [UPD] README.rst 2023-01-26 11:42:02 +00:00
OCA-git-bot
1e0af9aea8 [UPD] addons table in README.md 2023-01-26 11:42:01 +00:00
oca-ci
9841152136 [UPD] Update base_user_role_history.pot 2023-01-26 11:38:22 +00:00
oca-ci
65f8bd5052 [UPD] Update base_user_role.pot 2023-01-26 11:38:21 +00:00
OCA-git-bot
235228a60b Merge PR #186 into 16.0
Signed-off-by sebalix
2023-01-26 11:36:23 +00:00
Arnaud Pineux
842fca200f [MIG] base_user_role_history: Migration to 16.0 2023-01-24 09:59:01 +01:00
Ana Suárez
c0ecb18e51 Translated using Weblate (Spanish)
Currently translated at 100.0% (29 of 29 strings)

Translation: server-backend-13.0/server-backend-13.0-base_user_role_history
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_user_role_history/es/
2023-01-24 09:12:12 +01:00
Ana Suárez
4f0f5cde7d Added translation using Weblate (Spanish) 2023-01-24 09:12:06 +01:00
OCA-git-bot
9a4c1eb744 [UPD] README.rst 2023-01-24 09:12:00 +01:00
oca-travis
df21cb484f [UPD] Update base_user_role_history.pot 2023-01-24 09:11:54 +01:00
Benoit Aimont
0a2d1def56 [FIX] base_user_role_history - prettier xml plugin 2023-01-24 09:11:48 +01:00
Benoit Aimont
5bf6cab02e [MIG] base_user_role_history: Migration to 13.0 2023-01-24 09:11:42 +01:00
Benoit Aimont
c3cd270067 [IMP] base_user_role_history: black, isort 2023-01-24 09:11:36 +01:00
OCA-git-bot
e0ffc2c3cd [ADD] icon.png 2023-01-24 09:11:30 +01:00
OCA-git-bot
9b52525f4a [UPD] README.rst 2023-01-24 09:11:24 +01:00
oca-travis
3ac853f052 [UPD] Update base_user_role_history.pot 2023-01-24 09:11:19 +01:00
Benoit Aimont
e42a8e29ca [12.0][MIG] base_user_role_history - migration from 9.0 to 12.0 2023-01-24 09:11:13 +01:00
Benoit Aimont
41c0290f94 [9.0][ADD] - base_user_role_history 2023-01-24 09:11:06 +01:00
oca-git-bot
4099d69799 [IMP] update dotfiles [ci skip] 2022-12-12 00:07:54 +01:00
OCA-git-bot
de3519aab3 Merge PR #198 into 16.0
Signed-off-by sebalix
2022-11-17 10:54:01 +00:00
Sébastien Alix
c1863f99db [FIX] Update from copier template 2022-11-17 11:47:56 +01:00
OCA-git-bot
a6cb61a8b2 [UPD] addons table in README.md 2022-10-20 07:17:07 +00:00
OCA-git-bot
3a63fc045d base_user_role 16.0.1.1.1 2022-10-20 07:17:02 +00:00
OCA-git-bot
dbdfde70dc [UPD] README.rst 2022-10-20 07:17:01 +00:00
OCA-git-bot
ba946e6221 Merge PR #194 into 16.0
Signed-off-by sebalix
2022-10-20 07:14:56 +00:00
Sébastien Alix
a48d1dca9b [DOC] base_user_role: set development status to 'Production/Stable' 2022-10-20 09:11:17 +02:00
Weblate
6923798184 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/
2022-10-20 06:37:04 +00:00
OCA-git-bot
77dfdd4864 [UPD] addons table in README.md 2022-10-20 06:36:57 +00:00
OCA-git-bot
0c887ff86d base_user_role 16.0.1.1.0 2022-10-20 06:36:52 +00:00
oca-ci
967e0e0fe1 [UPD] Update base_user_role.pot 2022-10-20 06:34:52 +00:00
OCA-git-bot
5addccf543 Merge PR #191 into 16.0
Signed-off-by sebalix
2022-10-20 06:33:11 +00:00
Weblate
237ea0fa95 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_user_role/
2022-10-18 15:09:16 +00:00
Kevin.roche
e0b4927d31 [IMP] base_user_role show rules and access 2022-10-18 14:49:25 +02:00
OCA-git-bot
b3d5148a5d [ADD] setup.py 2022-10-18 12:36:21 +00:00