-
-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
addons/sale_expense/migrations/13.0.1.0/openupgrade_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,18 @@ | ||
---Models in module 'sale_expense'--- | ||
---Fields in module 'sale_expense'--- | ||
|
||
---XML records in module 'sale_expense'--- | ||
DEL ir.model.access: sale_expense.access_sale_order_employee | ||
# NOTHING TO DO: removed from manifest | ||
|
||
DEL ir.rule: sale_expense.sale_order_rule_expense_user (noupdate) | ||
# DONE: post-migration: try to delete | ||
|
||
NEW ir.ui.view: sale_expense.assets_backend | ||
NEW ir.ui.view: sale_expense.hr_expense_form_view_inherit_account_manager | ||
NEW ir.ui.view: sale_expense.hr_expense_form_view_inherit_saleman | ||
NEW ir.ui.view: sale_expense.qunit_suite | ||
# NOTHING TO DO: new xmls | ||
|
||
DEL product.product: hr_expense.product_product_fixed_cost (noupdate) | ||
# DONE: post-migration: try to delete |
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,13 @@ | ||
# Copyright 2021 Bloopark - Bishal Pun | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.delete_records_safely_by_xml_id( | ||
env, [ | ||
"sale_expense.sale_order_rule_expense_user", | ||
"hr_expense.product_product_fixed_cost", | ||
] | ||
) |
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