Merge PR #1427 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-06-08 15:06:59 +00:00
3 changed files with 20 additions and 1 deletions

View File

@@ -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",

View File

@@ -0,0 +1,8 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<record id="check_deposit_rule" model="ir.rule">
<field
name="domain_force"
>['|',('company_id','=',False),('company_id','in',company_ids)]</field>
</record>
</odoo>

View File

@@ -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"
)