-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[13.0] migrate base_external_system #85
Merged
Merged
Commits on Aug 20, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for 0c879cf - Browse repository at this point
Copy the full SHA 0c879cfView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 19c3d11 - Browse repository at this point
Copy the full SHA 19c3d11View commit details -
[MIG] base_external_system: Upgrade to v11
* Perform standard v11 migration
Configuration menu - View commit details
-
Copy full SHA for a724c87 - Browse repository at this point
Copy the full SHA a724c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6b2060 - Browse repository at this point
Copy the full SHA c6b2060View commit details
Commits on Aug 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e05496d - Browse repository at this point
Copy the full SHA e05496dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f14c3 - Browse repository at this point
Copy the full SHA c5f14c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1815585 - Browse repository at this point
Copy the full SHA 1815585View commit details -
[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)
Configuration menu - View commit details
-
Copy full SHA for d15dbca - Browse repository at this point
Copy the full SHA d15dbcaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.