-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[16.0] [MIG] agreement_serviceprofile: Migration to 16.0 #37
base: 16.0
Are you sure you want to change the base?
Conversation
[UPD] README.rst [UPD] Update agreement_serviceprofile.pot Added translation using Weblate (French) Translated using Weblate (French) Currently translated at 100.0% (14 of 14 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/fr/
[IMP] Flake8 [IMP] github changes [IMP] Placeholder in notes remove <p><br></p> [UPD] Update agreement_serviceprofile.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/ [UPD] README.rst
- Add stage_type to agreement.stage - Track stage of service profile - Add Kanban view for service profiles to the dashboard - Add product_id field to service profile [UPD] Update agreement_serviceprofile.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/
[UPD] README.rst [UPD] Update agreement_serviceprofile.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/ Added translation using Weblate (Chinese (Simplified)) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (23 of 23 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/zh_CN/
[UPD] Update agreement_serviceprofile.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/ Translated using Weblate (French) Currently translated at 100.0% (27 of 27 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/fr/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (27 of 27 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/zh_CN/
[UPD] Update agreement_serviceprofile.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/zh_CN/ Added translation using Weblate (Portuguese (Brazil)) Added translation using Weblate (German) Added translation using Weblate (Spanish) Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/pt_BR/
Added translation using Weblate (Portuguese) Translated using Weblate (Portuguese) Currently translated at 91.7% (44 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/pt/ Translated using Weblate (Portuguese) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/pt/
[UPD] README.rst [UPD] README.rst Translated using Weblate (Spanish) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/es/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/pt_BR/ Translated using Weblate (Spanish) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/es/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/pt_BR/ Translated using Weblate (French) Currently translated at 56.2% (27 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/fr/
[IMP] Allow Product Variant Serviceprofile [IMP] Add Variant To Tree/Form View [IMP] Boolean First
Co-authored-by: Bhavesh Odedra <[email protected]>
Co-authored-by: Bhavesh Odedra <[email protected]>
Co-authored-by: Bhavesh Odedra <[email protected]>
Co-authored-by: Bhavesh Odedra <[email protected]> Translated using Weblate (French) Currently translated at 100.0% (48 of 48 strings) Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/fr/ [UPD] Update agreement_serviceprofile.pot
Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/
[MIG] Black [MIG] Black
Currently translated at 100.0% (52 of 52 strings) Translation: contract-14.0/contract-14.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_serviceprofile/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-14.0/contract-14.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_serviceprofile/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-14.0/contract-14.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_serviceprofile/
Currently translated at 100.0% (51 of 51 strings) Translation: contract-14.0/contract-14.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_serviceprofile/es/
Currently translated at 100.0% (51 of 51 strings) Translation: contract-14.0/contract-14.0-agreement_serviceprofile Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_serviceprofile/pt_BR/
266685e
to
ee6641a
Compare
/ocabot migration agreement_serviceprofile |
) | ||
|
||
@api.onchange("is_serviceprofile") | ||
def onchange_type(self): |
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.
type
field is computed, so use the compute method instead.
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.
I understand your point, but since in version 16 the _compute_type method makes use of the _detailed_type_mapping method, I have decided to change the behavior so that the detailed_type is set to serviceprofile instead of marking a checkbox indicating it is serviceprofile. This way, the _compute_type method will assign the correct type. WDYT?
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.
) | ||
|
||
@api.onchange("is_serviceprofile") | ||
def onchange_type(self): |
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.
Same as above
4778f55
to
70108e8
Compare
70108e8
to
3ec4d3b
Compare
@rousseldenis Can you check if the changes fill your comments? |
Standard migration.
@etobella