Skip to content

Commit

Permalink
[17.0][OU-ADD] sale_project: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-filament committed Dec 24, 2024
1 parent 374c7ac commit 84f0cee
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules160-170.rst
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ Module coverage 16.0 -> 17.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| sale_product_matrix | |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

0 comments on commit 84f0cee

Please sign in to comment.