-
-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2542 from Tecnativa/13.0-account_analytic_default
[13.0][ADD] account_analytic_default: Migration scripts
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
addons/account_analytic_default/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,9 @@ | ||
---Models in module 'account_analytic_default'--- | ||
---Fields in module 'account_analytic_default'--- | ||
account_analytic_default / account.analytic.default / account_id (many2one) : NEW relation: account.account | ||
# NOTHING TO DO: New feature for auto-filling the account, so letting it empty leads to not use that feature | ||
|
||
---XML records in module 'account_analytic_default'--- | ||
DEL ir.model.access: account_analytic_default.access_account_analytic_default_salesman | ||
DEL ir.ui.view: account_analytic_default.res_config_settings_view_form | ||
# NOTHING TO DO: noupdate=0 records |
11 changes: 11 additions & 0 deletions
11
addons/account_analytic_default/migrations/13.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,11 @@ | ||
# Copyright 2021 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.load_data( | ||
env.cr, "account_analytic_default", | ||
"migrations/13.0.1.0/noupdate_changes.xml" | ||
) |
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