[MIG] account_statement_import_ofx to v16

This commit is contained in:
Alexis de Lattre
2023-03-06 22:58:45 +01:00
parent 2af126e9bf
commit 155a7e3734
6 changed files with 15 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "Import OFX Bank Statement",
"category": "Banking addons",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Odoo SA,"
"Akretion,"
@@ -10,8 +10,10 @@
"Nicolas JEUDY,"
"Le Filament,"
"Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"development_status": "Mature",
"website": "https://github.com/OCA/bank-statement-import",
"depends": ["account_statement_import"],
"depends": ["account_statement_import_file"],
"data": ["views/account_statement_import.xml"],
"external_dependencies": {"python": ["ofxparse"]},
"installable": True,

View File

@@ -4,7 +4,7 @@
<field name="model">account.statement.import</field>
<field
name="inherit_id"
ref="account_statement_import.account_statement_import_form"
ref="account_statement_import_file.account_statement_import_form"
/>
<field name="arch" type="xml">
<xpath expr="//ul[@id='statement_format']" position="inside">

View File

@@ -84,5 +84,5 @@ class AccountStatementImport(models.TransientModel):
"The file might not be valid.\n\n %s"
)
% str(e)
)
) from e
return result

2
requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
# generated from manifests external_dependencies
ofxparse

View File

@@ -0,0 +1 @@
../../../../account_statement_import_ofx

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)