diff --git a/account_check_deposit/__manifest__.py b/account_check_deposit/__manifest__.py index c6849d0a2..902aa9049 100644 --- a/account_check_deposit/__manifest__.py +++ b/account_check_deposit/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Account Check Deposit", - "version": "13.0.1.1.0", + "version": "13.0.1.2.0", "category": "Accounting", "license": "AGPL-3", "summary": "Manage deposit of checks to the bank", diff --git a/account_check_deposit/migrations/13.0.1.2.0/noupdate_changes.xml b/account_check_deposit/migrations/13.0.1.2.0/noupdate_changes.xml new file mode 100644 index 000000000..ca5c0664d --- /dev/null +++ b/account_check_deposit/migrations/13.0.1.2.0/noupdate_changes.xml @@ -0,0 +1,8 @@ + + + + ['|',('company_id','=',False),('company_id','in',company_ids)] + + diff --git a/account_check_deposit/migrations/13.0.1.2.0/post-migration.py b/account_check_deposit/migrations/13.0.1.2.0/post-migration.py new file mode 100644 index 000000000..57585118b --- /dev/null +++ b/account_check_deposit/migrations/13.0.1.2.0/post-migration.py @@ -0,0 +1,11 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# 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_check_deposit", "migrations/13.0.1.2.0/noupdate_changes.xml" + )