Skip to content

Commit 532f195

Browse files
committed
ADD account_statement_aeroo_report
1 parent dbcd0ed commit 532f195

File tree

5 files changed

+99
-0
lines changed

5 files changed

+99
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
##############################################################################
3+
# For copyright and license notices, see __openerp__.py file in module root
4+
# directory
5+
##############################################################################
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# -*- coding: utf-8 -*-
2+
##############################################################################
3+
#
4+
# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
5+
# All Rights Reserved.
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU Affero General Public License as
9+
# published by the Free Software Foundation, either version 3 of the
10+
# License, or (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Affero General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Affero General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
20+
##############################################################################
21+
{
22+
'name': 'Statement Aeroo Report',
23+
'version': '1.0',
24+
'category': 'Aeroo Reporting',
25+
'sequence': 14,
26+
'summary': '',
27+
'description': """
28+
Statement Aeroo Report
29+
=======================
30+
""",
31+
'author': 'ADHOC SA',
32+
'website': 'www.adhoc.com.ar',
33+
'images': [
34+
],
35+
'depends': [
36+
'account',
37+
'report_aeroo',
38+
],
39+
'data': [
40+
'reports/statement_report.xml',
41+
'views/account_statement_view.xml',
42+
],
43+
'demo': [
44+
],
45+
'test': [
46+
],
47+
'installable': True,
48+
'auto_install': False,
49+
'application': False,
50+
}
51+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<openerp>
3+
<data>
4+
5+
<record id="action_aeroo_statement_report" model="ir.actions.report.xml">
6+
<field name="name">Statement Report</field>
7+
<field name="type">ir.actions.report.xml</field>
8+
<field name="model">account.bank.statement</field>
9+
<field name="report_name">statement_report</field>
10+
<field name="report_type">aeroo</field>
11+
<field name="in_format">oo-odt</field>
12+
<field name="parser_state">default</field>
13+
<field name="report_rml">account_statement_aeroo_report/reports/statement_report.odt</field>
14+
<field name="tml_source">file</field>
15+
<field name="out_format" ref="report_aeroo.report_mimetypes_pdf_odt"/>
16+
</record>
17+
<ir_set>
18+
<field eval="'action'" name="key"/>
19+
<field eval="'client_print_multi'" name="key2"/>
20+
<field eval="['account.bank.statement']" name="models"/>
21+
<field name="name">Statement Report</field>
22+
<field eval="'ir.actions.report.xml,'+str(action_aeroo_statement_report)" name="value"/>
23+
<field eval="True" name="isobject"/>
24+
<field eval="True" name="replace"/>
25+
</ir_set>
26+
27+
</data>
28+
</openerp>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<openerp>
2+
<data>
3+
<!-- bank statement -->
4+
<record id="view_bank_statement_form" model="ir.ui.view">
5+
<field name="name">account.bank.statement.form</field>
6+
<field name="model">account.bank.statement</field>
7+
<field name="inherit_id" ref="account.view_bank_statement_form"/>
8+
<field name="arch" type="xml">
9+
<field name="all_lines_reconciled" position="before">
10+
<button name="%(action_aeroo_statement_report)d" class="oe_highlight" string="Print" type="action"/>
11+
</field>
12+
</field>
13+
</record>
14+
</data>
15+
</openerp>

0 commit comments

Comments
 (0)