Mourad Elhadj Mimoune
8 years ago
committed by
Alexis de Lattre
11 changed files with 102 additions and 217 deletions
-
38account_bank_statement_import_save_file/README.rst
-
22account_bank_statement_import_save_file/__init__.py
-
23account_bank_statement_import_save_file/__manifest__.py
-
25account_bank_statement_import_save_file/hooks.py
-
2account_bank_statement_import_save_file/i18n/fr.po
-
22account_bank_statement_import_save_file/models/__init__.py
-
24account_bank_statement_import_save_file/models/account_bank_statement.py
-
35account_bank_statement_import_save_file/models/account_bank_statement_import.py
-
22account_bank_statement_import_save_file/tests/__init__.py
-
64account_bank_statement_import_save_file/tests/test_save_file.py
-
42account_bank_statement_import_save_file/views/account_bank_statement.xml
@ -1,22 +1,6 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import models |
|||
from .hooks import _post_init_hook |
@ -1,22 +1,6 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import account_bank_statement |
|||
from . import account_bank_statement_import |
@ -1,21 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import test_save_file |
@ -1,25 +1,23 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement</field> |
|||
<field name="inherit_id" ref="account.view_bank_statement_form" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@string='Transactions']" position="after"> |
|||
<page string="Imported file" attrs="{'invisible': [('import_file', '=', False)]}"> |
|||
<odoo> |
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement</field> |
|||
<field name="inherit_id" ref="account.view_bank_statement_form" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@name='statement_line_ids']" position="after"> |
|||
<page string="Imported file" attrs="{'invisible': [('import_file', '=', False)]}"> |
|||
<group> |
|||
<group> |
|||
<group> |
|||
<field name="import_file" /> |
|||
</group> |
|||
<group> |
|||
<field name="import_date" /> |
|||
<field name="import_user" /> |
|||
</group> |
|||
<field name="import_file" /> |
|||
</group> |
|||
<field name="import_log" /> |
|||
</page> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<group> |
|||
<field name="import_date" /> |
|||
<field name="import_user" /> |
|||
</group> |
|||
</group> |
|||
<field name="import_log" /> |
|||
</page> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue