-
Notifications
You must be signed in to change notification settings - Fork 0
[18.0][MIG] iap_alternative_provider: Migration to 18.0 #2
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
base: 18.0
Are you sure you want to change the base?
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should keep this method in the case a record of iap.account created from csv or xml file
ac3af18 to
340257c
Compare
340257c to
417ea68
Compare
417ea68 to
c182d83
Compare

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