Skip to content

Commit

Permalink
Merge pull request #2542 from Tecnativa/13.0-account_analytic_default
Browse files Browse the repository at this point in the history
[13.0][ADD] account_analytic_default: Migration scripts
  • Loading branch information
pedrobaeza authored Feb 21, 2021
2 parents 819d9e4 + 567c614 commit 31cc68d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
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
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"
)
2 changes: 1 addition & 1 deletion odoo/openupgrade/doc/source/modules120-130.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ missing in the new release are marked with |del|.
+==============================================+=================================================+
|account | Done |
+----------------------------------------------+-------------------------------------------------+
|account_analytic_default | |
|account_analytic_default | Done |
+----------------------------------------------+-------------------------------------------------+
| |new| account_analytic_default_hr_expense | |
+----------------------------------------------+-------------------------------------------------+
Expand Down

0 comments on commit 31cc68d

Please sign in to comment.