mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[IMP] account_bank_statement_import_online: allow pull if archived
[UPD] Update account_bank_statement_import_online.pot account_bank_statement_import_online 12.0.1.3.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
||||
# Copyright 2019 Dataplug (https://dataplug.io)
|
||||
# Copyright 2019-2020 Brainbean Apps (https://brainbeanapps.com)
|
||||
# Copyright 2019-2020 Dataplug (https://dataplug.io)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models, api
|
||||
@@ -24,11 +24,16 @@ class OnlineBankStatementPullWizard(models.TransientModel):
|
||||
comodel_name='online.bank.statement.provider',
|
||||
column1='wizard_id',
|
||||
column2='provider_id',
|
||||
relation='online_bank_statement_provider_pull_wizard_rel'
|
||||
relation='online_bank_statement_provider_pull_wizard_rel',
|
||||
)
|
||||
|
||||
@api.multi
|
||||
def action_pull(self):
|
||||
self.ensure_one()
|
||||
self.provider_ids._pull(self.date_since, self.date_until)
|
||||
self.with_context(
|
||||
active_test=False,
|
||||
).provider_ids._pull(
|
||||
self.date_since,
|
||||
self.date_until
|
||||
)
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
||||
Copyright 2019 Dataplug (https://dataplug.io)
|
||||
Copyright 2019-2020 Brainbean Apps (https://brainbeanapps.com)
|
||||
Copyright 2019-2020 Dataplug (https://dataplug.io)
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
<odoo>
|
||||
@@ -11,6 +11,7 @@
|
||||
<field name="model">online.bank.statement.pull.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<field name="provider_ids" invisible="1"/>
|
||||
<group name="filter">
|
||||
<group name="date_range" colspan="2">
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user