Skip to content
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

[17.0][OU-ADD] sale_project: Migration to 17.0 #4704

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsource/modules160-170.rst
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ Module coverage 16.0 -> 17.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_product_matrix | Nothing to do |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_project | | |
| sale_project | Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_project_stock | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
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")
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
Loading