[18.0][MIG] purchase_work_acceptance_late_fine: Migration to version 18.0#3098
[18.0][MIG] purchase_work_acceptance_late_fine: Migration to version 18.0#3098ROBBYHOOD9 wants to merge 23 commits into
Conversation
2532323 to
d820980
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.
d820980 to
7cd6e31
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 |
5 similar comments
|
This PR has the |
|
This PR has the |
|
This PR has the |
|
This PR has the |
|
This PR has the |
Currently translated at 100.0% (44 of 44 strings) Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_work_acceptance_late_fines Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_work_acceptance_late_fines/es/
Currently translated at 100.0% (44 of 44 strings) Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_work_acceptance_late_fines Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_work_acceptance_late_fines/gl/
7cd6e31 to
12c7c0e
Compare
Migration
purchase_work_acceptance_late_finefrom 15.0 to 18.01. Module Version
Updated the module version to align with Odoo 18.
"version": "15.0.1.1.0"→"version": "18.0.1.0.0"2. Model Updates
Updated Python code to comply with Odoo 18 requirements.
states=from 3 fields.view_modefromtreetolist.3. View Migration
Updated XML views to follow the Odoo 17/18 architecture.
views/work_acceptance_views.xmlReplaced 3 attrs expressions with inline expressions.views/account_move_views.xmlReplaced 1 attrs expression with an inline expression.views/res_config_settings_views.xmlChanged xpath from//div[@name=...]to//block[@name=...].<setting>structure.attrsexpressions with inline expressions.4. Test Updates
Updated tests to follow newer Odoo conventions.
user_type_idwithaccount_type.tracking_disable=Trueto prevent chatter tracking during test execution.