[18.0][MIG] purchase_work_acceptance_evaluation: Migration to 18.0#3100
[18.0][MIG] purchase_work_acceptance_evaluation: Migration to 18.0#3100ROBBYHOOD9 wants to merge 29 commits into
Conversation
201f45b to
a943246
Compare
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Consider using BaseCommon instead of TransactionCase. In this case, there’s no need to redefine cls.env with tracking_disable=True.
a943246 to
4319e3c
Compare
|
Thanks for the suggestion. I've updated the test to use |
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Code review LGTM!
|
This PR has the |
1 similar comment
|
This PR has the |
…hen no state required
Currently translated at 100.0% (37 of 37 strings) Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_work_acceptance_evaluation Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_work_acceptance_evaluation/es/
Currently translated at 100.0% (37 of 37 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_work_acceptance_evaluation Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_work_acceptance_evaluation/it/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4319e3c to
fa05c18
Compare
Migration
purchase_work_acceptance_evaluationfrom 15.0 to 18.01. Module Version
Updated the module version to align with Odoo 18.
"version": "16.0.1.0.0",=>"version": "18.0.1.0.0",2. Python Code Updates
Updated Python code to comply with Odoo 18 requirements and Ruff recommendations.
user_has_groups(...)withself.env.user.has_group(...).ltorto avoid Ruff E741 (ambiguous variable name).apito imports inwork_acceptance_evaluation.py.name_get()with_compute_display_name()and added@api.depends("name", "score").%string formatting with f-strings to comply with Ruff UP031.3. View Migration
Updated XML views to follow the Odoo 17/18 architecture.
<tree>with<list>.<setting>structure and//block[@name='...']xpath.4. Report Updates
Updated report views for Odoo 18 compatibility.
<tree>with<list>.5. Test Updates
Updated tests to follow newer Odoo conventions.
setUp()withsetUpClass().tracking_disable=True.display_nameinstead ofname_get().