-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FJG: add modules to import bank statements
- Loading branch information
root
committed
Apr 9, 2020
1 parent
821b4c8
commit c62979f
Showing
93 changed files
with
5,790 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:alt: License: AGPL-3 | ||
|
||
Account Bank Statement Import | ||
============================= | ||
|
||
CAUTION: this module was renamed in the 9.0 branch to avoid conflicts with the | ||
upstream account_bank_statement_import module added in odoo 9. Exercise caution | ||
when porting. | ||
|
||
This module add a generic wizard to import Bank Statements. It also extend | ||
the bank account module to sanitize the account number and extend the search | ||
method to use this field when searching on account_number. | ||
|
||
The module has been initiated by a backport of the new framework developed | ||
by Odoo for V9 at its early stage. It's no more kept in sync with the V9 since | ||
it has reach a stage where maintaining a pure backport of 9.0 in 8.0 is not | ||
feasible anymore | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* None | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback | ||
`here <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_bank_statement_import%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Odoo SA | ||
* Pedro M. Baeza <[email protected]> | ||
* Alexis de Lattre <[email protected]> | ||
* Laurent Mignon <[email protected]> | ||
* Ronald Portier <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit http://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- encoding: utf-8 -*- | ||
{ | ||
'name': 'Account Bank Statement Import', | ||
'category': 'Banking addons', | ||
'version': '8.0.1.0.1', | ||
'author': 'OpenERP SA,' | ||
'Odoo Community Association (OCA)', | ||
'website': 'https://github.com/OCA/bank-statement-import', | ||
'depends': ['account'], | ||
'data': [ | ||
"views/account_config_settings.xml", | ||
'views/account_bank_statement_import_view.xml', | ||
], | ||
'demo': [ | ||
'demo/fiscalyear_period.xml', | ||
'demo/partner_bank.xml', | ||
], | ||
'auto_install': False, | ||
# CAUTION: this module was renamed in the 9.0 branch to avoid conflicts with the | ||
# upstream account_bank_statement_import module added in odoo 9. Exercise caution | ||
# when porting. | ||
'installable': False, | ||
} |
119 changes: 119 additions & 0 deletions
119
account_bank_statement_import_base/demo/fiscalyear_period.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
|
||
<!-- | ||
Fiscal year | ||
--> | ||
|
||
<record id="data_fiscalyear_2013" model="account.fiscalyear"> | ||
<field eval="'Fiscal Year X 2013'" name="name"/> | ||
<field eval="'FY2013'" name="code"/> | ||
<field eval="'2013-01-01'" name="date_start"/> | ||
<field eval="'2013-12-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
|
||
<!-- | ||
Fiscal Periods 2013 | ||
--> | ||
|
||
<record id="period_1_2013" model="account.period"> | ||
<field eval="'01/2013'" name="code"/> | ||
<field eval="'X 01/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-01-01'" name="date_start"/> | ||
<field eval="'2013-01-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
|
||
<record id="period_2_2013" model="account.period"> | ||
<field eval="'02/2013'" name="code"/> | ||
<field eval="'X 02/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-02-01'" name="date_start"/> | ||
<field eval="'2013-02-28'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_3_2013" model="account.period"> | ||
<field eval="'03/2013'" name="code"/> | ||
<field eval="'X 03/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-03-01'" name="date_start"/> | ||
<field eval="'2013-03-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_4_2013" model="account.period"> | ||
<field eval="'04/2013'" name="code"/> | ||
<field eval="'X 04/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-04-01'" name="date_start"/> | ||
<field eval="'2013-04-30'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_5_2013" model="account.period"> | ||
<field eval="'05/2013'" name="code"/> | ||
<field eval="'X 05/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-05-01'" name="date_start"/> | ||
<field eval="'2013-05-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_6_2013" model="account.period"> | ||
<field eval="'06/2013'" name="code"/> | ||
<field eval="'X 06/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-06-01'" name="date_start"/> | ||
<field eval="'2013-06-30'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_7_2013" model="account.period"> | ||
<field eval="'07/2013'" name="code"/> | ||
<field eval="'X 07/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-07-01'" name="date_start"/> | ||
<field eval="'2013-07-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_8_2013" model="account.period"> | ||
<field eval="'08/2013'" name="code"/> | ||
<field eval="'X 08/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-08-01'" name="date_start"/> | ||
<field eval="'2013-08-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_9_2013" model="account.period"> | ||
<field eval="'09/2013'" name="code"/> | ||
<field eval="'X 09/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-09-01'" name="date_start"/> | ||
<field eval="'2013-09-30'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_10_2013" model="account.period"> | ||
<field eval="'10/2013'" name="code"/> | ||
<field eval="'X 10/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-10-01'" name="date_start"/> | ||
<field eval="'2013-10-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_11_2013" model="account.period"> | ||
<field eval="'11/2013'" name="code"/> | ||
<field eval="'X 11/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-11-01'" name="date_start"/> | ||
<field eval="'2013-11-30'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
<record id="period_12_2013" model="account.period"> | ||
<field eval="'12/2013'" name="code"/> | ||
<field eval="'X 12/2013'" name="name"/> | ||
<field name="fiscalyear_id" ref="data_fiscalyear_2013"/> | ||
<field eval="'2013-12-01'" name="date_start"/> | ||
<field eval="'2013-12-31'" name="date_stop"/> | ||
<field name="company_id" ref="base.main_company"/> | ||
</record> | ||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
|
||
<record id="ofx_partner_bank_1" model="res.partner.bank"> | ||
<field name="owner_name">Agrolait</field> | ||
<field name="acc_number">00987654319</field> | ||
<field name="partner_id" ref="base.res_partner_2"></field> | ||
<field name="state">bank</field> | ||
<field name="bank" ref="base.res_bank_1"/> | ||
</record> | ||
|
||
<record id="ofx_partner_bank_2" model="res.partner.bank"> | ||
<field name="owner_name">China Export</field> | ||
<field name="acc_number">00987654322</field> | ||
<field name="partner_id" ref="base.res_partner_3"></field> | ||
<field name="state">bank</field> | ||
<field name="bank" ref="base.res_bank_1"/> | ||
</record> | ||
|
||
<record id="qif_partner_bank_1" model="res.partner.bank"> | ||
<field name="owner_name">Delta PC</field> | ||
<field name="acc_number">10987654320</field> | ||
<field name="partner_id" ref="base.res_partner_4"></field> | ||
<field name="state">bank</field> | ||
<field name="bank" ref="base.res_bank_1"/> | ||
</record> | ||
|
||
<record id="qif_partner_bank_2" model="res.partner.bank"> | ||
<field name="owner_name">Epic Technologies</field> | ||
<field name="acc_number">10987654322</field> | ||
<field name="partner_id" ref="base.res_partner_5"></field> | ||
<field name="state">bank</field> | ||
<field name="bank" ref="base.res_bank_1"/> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
Oops, something went wrong.