mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MIG] account_move_base_import: Migration to 11.0
This commit is contained in:
committed by
Florian da Costa
parent
1e59a3bd51
commit
68a91a1d71
@@ -1,8 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © 2011-2016 Akretion
|
||||
# © 2011-2016 Camptocamp SA
|
||||
# © 2013 Savoir-faire Linux
|
||||
# © 2014 ACSONE SA/NV
|
||||
# Copyright 2011-2016 Akretion
|
||||
# Copyright 2011-2019 Camptocamp SA
|
||||
# Copyright 2013 Savoir-faire Linux
|
||||
# Copyright 2014 ACSONE SA/NV
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
"""
|
||||
Wizard to import financial institute date in bank statement
|
||||
@@ -19,8 +18,8 @@ class CreditPartnerStatementImporter(models.TransientModel):
|
||||
|
||||
@api.model
|
||||
def default_get(self, fields):
|
||||
ctx = self._context
|
||||
res = {}
|
||||
res = super().default_get(fields)
|
||||
ctx = self.env.context
|
||||
if (
|
||||
ctx.get('active_model') == 'account.journal' and
|
||||
ctx.get('active_ids')):
|
||||
|
||||
Reference in New Issue
Block a user