-
-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[17.0][OU-ADD] sale_project: Migration to 17.0
- Loading branch information
1 parent
374c7ac
commit 84f0cee
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
9 changes: 9 additions & 0 deletions
9
openupgrade_scripts/scripts/sale_project/17.0.1.0/post-migration.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright 2024- Le Filament (https://le-filament.com) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.load_data(env, "sale_project", "17.0.1.0/noupdate_changes.xml") |
19 changes: 19 additions & 0 deletions
19
openupgrade_scripts/scripts/sale_project/17.0.1.0/upgrade_analysis_work.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
---Models in module 'sale_project'--- | ||
---Fields in module 'sale_project'--- | ||
sale_project / project.milestone / product_uom_qty (float) : NEW hasdefault: compute | ||
sale_project / project.milestone / quantity_percentage (float) : now a function | ||
sale_project / project.project / partner_id (False) : previously in module sale_timesheet | ||
sale_project / project.task / allow_billable (boolean) : previously in module sale_timesheet | ||
sale_project / sale.order.line / is_service (boolean) : module is now 'sale_service' ('sale_project') | ||
# NOTHING TO DO: handled by ORM | ||
|
||
---XML records in module 'sale_project'--- | ||
NEW ir.ui.view: sale_project.project_project_view_form_simplified_inherit | ||
NEW ir.ui.view: sale_project.project_task_view_tree_main_base | ||
NEW ir.ui.view: sale_project.sale_order_line_view_form_editable | ||
NEW ir.ui.view: sale_project.view_order_line_tree_with_create | ||
NEW ir.ui.view: sale_project.view_sale_project_quick_create_task_form | ||
NEW ir.ui.view: sale_project.view_task_tree2_inherit_sale_project | ||
DEL ir.ui.view: sale_project.project_sharing_inherit_project_task_view_search | ||
DEL ir.ui.view: sale_project.view_task_project_user_search_inherited | ||
# NOTHING TO DO: handled by ORM |