[18.0][MIG] iap_alternative_provider: Migration to 18.0#2
Open
[18.0][MIG] iap_alternative_provider: Migration to 18.0#2
Conversation
Moving this behaviour in a new module in server-env repo
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-15.0/server-tools-15.0-iap_alternative_provider Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-iap_alternative_provider/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-16.0/server-tools-16.0-iap_alternative_provider Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-iap_alternative_provider/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-16.0/server-tools-16.0-iap_alternative_provider Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-iap_alternative_provider/
Currently translated at 100.0% (7 of 7 strings) Translation: server-tools-16.0/server-tools-16.0-iap_alternative_provider Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-iap_alternative_provider/it/
Currently translated at 100.0% (7 of 7 strings) Translation: server-tools-16.0/server-tools-16.0-iap_alternative_provider Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-iap_alternative_provider/es/
nguyenminhchien
suggested changes
Mar 27, 2025
|
|
||
| def _get_service_from_provider(self): | ||
| """In case that the provider only propose one service you can | ||
| return the service_id in your module to simplify the user interface""" |
There was a problem hiding this comment.
Suggested change
| return the service_id in your module to simplify the user interface""" | |
| return the service in your module to simplify the user interface""" |
| record.service_name = service | ||
|
|
||
| @api.model_create_multi | ||
| def create(self, vals_list): |
There was a problem hiding this comment.
should keep this method in the case a record of iap.account created from csv or xml file
ac3af18 to
340257c
Compare
nguyenminhchien
approved these changes
Mar 28, 2025
340257c to
417ea68
Compare
417ea68 to
c182d83
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Change:
Servicefield required, so theServiceshould be set when theProvideris changed rather than when creating theIAP Account