← Back to team overview

openerp-community-reviewer team mailing list archive

lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-dev-yani into lp:account-financial-report

 

Yanina Aular (Vauxoo) has proposed merging lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-dev-yani into lp:account-financial-report.

Requested reviews:
  hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha)

For more details, see:
https://code.launchpad.net/~vauxoo/account-financial-report/7.0-report_webkit_afr-dev-yani/+merge/190781

The templates for creating account financial report reports in webkit ready.
-- 
https://code.launchpad.net/~vauxoo/account-financial-report/7.0-report_webkit_afr-dev-yani/+merge/190781
Your team Account Report Core Editors is subscribed to branch lp:account-financial-report.
=== modified file 'account_financial_report/wizard/wizard.py'
--- account_financial_report/wizard/wizard.py	2013-07-26 17:03:11 +0000
+++ account_financial_report/wizard/wizard.py	2013-10-12 02:10:22 +0000
@@ -284,7 +284,6 @@
             name = 'afr.qtrcols'
         if data['form']['columns'] == 'thirteen':
             name = 'afr.13cols'
-
         return {'type': 'ir.actions.report.xml', 'report_name': name, 'datas': data}
 
 wizard_report()

=== added directory 'account_financial_report_ext'
=== added file 'account_financial_report_ext/__init__.py'
--- account_financial_report_ext/__init__.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/__init__.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+import model
+import wizard

=== added file 'account_financial_report_ext/__openerp__.py'
--- account_financial_report_ext/__openerp__.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/__openerp__.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,54 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+
+{
+    'name': 'Account Financial Report Ext',
+    'version': '1.0',
+    'author': 'Vauxoo',
+    'website': 'http://www.vauxoo.com/',
+    'category': 'Accounting',
+    'description': '''
+Account Financial Report Ext
+============================
+
+Account Financial Report Reports on Webkit
+
+Main Features
+=============
+
+account_financial_report module reports are now printed using webkit.
+
+
+''',
+    'depends': ['base', 'mail', 'account_accountant', 'account_financial_report', 'report_webkit'],
+    'data': [
+        'data/html_css_afr.xml',
+        'report/report_afr.xml',
+        ],
+    'demo': [],
+    'test': [],
+    'active': False,
+    'installable': True,
+}

=== added directory 'account_financial_report_ext/data'
=== added file 'account_financial_report_ext/data/html_css_afr.xml'
--- account_financial_report_ext/data/html_css_afr.xml	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/data/html_css_afr.xml	2013-10-12 02:10:22 +0000
@@ -0,0 +1,274 @@
+<?xml version="1.0" ?>
+<openerp>
+    <data noupdate="0">
+    <record id="ir_header_webkit_afrreport_analytic_ledger" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_col13" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+        </record>
+
+    <record id="ir_header_webkit_afrreport_qtr" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_journal_ledger" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_five_colums" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_four_colums" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_two_colums" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+            
+    <record id="ir_header_webkit_afrreport_one_colums" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit</field>
+        <field name="footer_html">
+        <![CDATA[]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+        <![CDATA[]]> </field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+        <![CDATA[ ]]>
+            </field>
+    </record>
+
+    <record id="ir_header_webkit_afrreport_five_colums" model="ir.header_webkit">
+        <field name="name">Reports AFR WebKit Five Columns</field>
+        <field name="footer_html">
+<![CDATA[<html>
+    <head>
+        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
+        <script>
+            function subst() {
+            var vars={};
+            var x=document.location.search.substring(1).split('&');
+            for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
+            var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
+            for(var i in x) {
+            var y = document.getElementsByClassName(x[i]);
+            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
+                }
+            }
+        </script>
+    </head>
+    <body style="border:0; margin: 0;" onload="subst()">
+        <table style="border-top: 1px solid black; width: 100%">
+            <tr >
+                <td style="text-align:right;font-size:12;" width="95%">Page <span class="page"/></td><td style="text-align:left;font-size:12;">  of <span class="topage"/></td>
+            </tr>
+        </table>
+    </body>
+</html>]]></field>
+            <field name="orientation">Portrait</field>
+            <field name="format">Letter</field>
+            <field name="html">
+<![CDATA[<html>
+    <head>
+        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
+        <script>
+            function subst() {
+            var vars={};
+            var x=document.location.search.substring(1).split('&');
+            for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
+            var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
+            for(var i in x) {
+            var y = document.getElementsByClassName(x[i]);
+            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
+                }
+            }
+        </script>
+        <style type="text/css">
+            ${css}
+        </style>
+    </head>
+    <body style="border:0; margin: 0;" onload="subst()">
+        ${_debug or ''|n} 
+    </body>
+</html>]]>
+</field>
+            <field eval="0.0" name="margin_top"/>
+            <field name="css" >
+<![CDATA[
+
+table.basic_table{
+text-align:left;
+border:1px solid lightGrey;
+border-collapse: collapse;
+}
+
+.dest_address {
+font-size:12pt;
+margin-left:0;
+text-align:left;
+line-height:80%;
+padding-top:0px
+}
+
+.prueba{
+color:black;
+background-color:#dcdcdc;
+}
+
+
+.celdaTotalTitulo{
+font-size:11pt;
+text-align:left;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#dcdcdc;
+}
+
+.celdaTotal{
+font-size:10pt;
+font-family: monospace;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaDetailTitulo{
+font-style:italic;
+font-size:11pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#F5F5F5;
+}
+
+.celdaDetail{
+font-size:10pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaAbstractTotal{
+font-size:11pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#EAEAEA;
+}
+
+.celdaTituloTabla{
+font-size:11pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+color:#FFFFFF;
+}
+
+
+.celdaAbstract{
+font-size:10pt;
+font-family: monospace;
+text-align:right;
+background-color:#EAEAEA;
+}
+
+div.td_company
+{
+font-size:12pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:22pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+]]>
+        </field>
+    </record>
+        
+        <record id="ir_header_img_companylogo0" model="ir.header_img">
+            <field eval="&quot;&quot;&quot;jpg&quot;&quot;&quot;" name="type"/>
+            <field eval="&quot;&quot;&quot;company_logo&quot;&quot;&quot;" name="name"/>
+        </record>
+        
+	</data>
+</openerp>

=== added directory 'account_financial_report_ext/demo'
=== added directory 'account_financial_report_ext/doc'
=== added directory 'account_financial_report_ext/doc/images'
=== added directory 'account_financial_report_ext/i18n'
=== added directory 'account_financial_report_ext/model'
=== added file 'account_financial_report_ext/model/__init__.py'
--- account_financial_report_ext/model/__init__.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/model/__init__.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+

=== added directory 'account_financial_report_ext/report'
=== added file 'account_financial_report_ext/report/__init__.py'
--- account_financial_report_ext/report/__init__.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/__init__.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+

=== added file 'account_financial_report_ext/report/afr_report_webkit_analytic_ledger.mako'
--- account_financial_report_ext/report/afr_report_webkit_analytic_ledger.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_analytic_ledger.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>Analytic Ledger</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_cols1.mako'
--- account_financial_report_ext/report/afr_report_webkit_cols1.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_cols1.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,18 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+        <h1><center>End. Balance</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_cols13.mako'
--- account_financial_report_ext/report/afr_report_webkit_cols13.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_cols13.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>12 Months | YTD</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_cols2.mako'
--- account_financial_report_ext/report/afr_report_webkit_cols2.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_cols2.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>Debit | Credit</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_cols4.mako'
--- account_financial_report_ext/report/afr_report_webkit_cols4.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_cols4.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>Initial | Debit | Credit | YTD</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_cols5.mako'
--- account_financial_report_ext/report/afr_report_webkit_cols5.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_cols5.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,41 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>Initial | Debit | Credit | Period | YTD</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+            <center>${obj.get_parser_method('get_informe_text',data['form'])}</center>
+            <center>(Expressed in ${data['form'] and obj.get_parser_method('exchange_name',
+                (data['form'])) or '' })</center>
+            
+            <div>${helper.embed_image('jpeg',str(obj.company_id.logo),220, 60)}</div>
+            <table style="width: 100%; text-align:center;">
+                <tr>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('Code')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="30%">${_('ACCOUNT')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('INIT. BAL.')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('DEBIT')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('CREDIT')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('PERIOD')}</th>
+                    <th class="celdaTituloTabla" style="text-align:center;"
+                        width="10%">${_('YTD')}</th>
+                </tr> 
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_journal_ledger.mako'
--- account_financial_report_ext/report/afr_report_webkit_journal_ledger.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_journal_ledger.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>Journal Ledger</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/afr_report_webkit_qtr.mako'
--- account_financial_report_ext/report/afr_report_webkit_qtr.mako	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/afr_report_webkit_qtr.mako	2013-10-12 02:10:22 +0000
@@ -0,0 +1,19 @@
+<!DOCTYPE html SYSTEM                                                                                                                            
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<style type="text/css">                                                                         
+    ${css}
+</style>
+</head>
+
+<body style="border:0; margin: 0;" onload="subst()" >
+    
+    
+        <h1><center>4 QTR | YTD</center></h1> 
+         %for obj in objects:
+            <center>${obj.company_id.name}</center>
+            <center>${obj.get_parser_method('get_vat_by_country',data['form'])}</center>
+         %endfor
+</body>
+</html>

=== added file 'account_financial_report_ext/report/report_afr.xml'
--- account_financial_report_ext/report/report_afr.xml	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/report/report_afr.xml	2013-10-12 02:10:22 +0000
@@ -0,0 +1,148 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+        <report
+            auto = "True"
+            id="afr_report_col5"
+            model="wizard.report"
+            name="afr_report_col5"
+            file="account_financial_report_ext/report/afr_report_webkit_cols5.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit1" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_five_colums'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_col5'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+
+    
+        <report
+            auto = "True"
+            id="afr_report_col1"
+            model="wizard.report"
+            name="afr_report_col1"
+            file="account_financial_report_ext/report/afr_report_webkit_cols1.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit2" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_one_colums'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_col1'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+    
+        <report
+            auto = "True"
+            id="afr_report_col2"
+            model="wizard.report"
+            name="afr_report_col2"
+            file="account_financial_report_ext/report/afr_report_webkit_cols2.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit3" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_two_colums'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_col2'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+    
+        <report
+            auto = "True"
+            id="afr_report_col4"
+            model="wizard.report"
+            name="afr_report_col4"
+            file="account_financial_report_ext/report/afr_report_webkit_cols4.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit4" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_four_colums'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_col4'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+    
+        
+        <report
+            auto = "True"
+            id="afr_report_journal_ledger"
+            model="wizard.report"
+            name="afr_report_journal_ledger"
+            file="account_financial_report_ext/report/afr_report_webkit_journal_ledger.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit6" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_journal_ledger'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_journal_ledger'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+
+        <report
+            auto = "True"
+            id="afr_report_qtr"
+            model="wizard.report"
+            name="afr_report_qtr"
+            file="account_financial_report_ext/report/afr_report_webkit_qtr.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit7" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_qtr'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_qtr'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+        <report
+            auto = "True"
+            id="afr_report_col13"
+            model="wizard.report"
+            name="afr_report_col13"
+            file="account_financial_report_ext/report/afr_report_webkit_cols13.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit8" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_col13'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_col13'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+        <report
+            auto = "True"
+            id="afr_report_analytic_ledger"
+            model="wizard.report"
+            name="afr_report_analytic_ledger"
+            file="account_financial_report_ext/report/afr_report_webkit_analytic_ledger.mako"
+            string="Print AFR"
+            report_type="webkit"
+            multi="True"
+            menu="False"/>
+
+        <record id="property_afr_report_webkit9" model="ir.property">
+            <field name="name">webkit_header</field>
+            <field name="fields_id" ref="report_webkit.field_ir_act_report_xml_webkit_header"/>
+            <field eval="'ir.header_webkit,'+str(ref('account_financial_report_ext.ir_header_webkit_afrreport_analytic_ledger'))" model="ir.header_webkit" name="value"/>
+            <field eval="'ir.actions.report.xml,'+str(ref('account_financial_report_ext.afr_report_analytic_ledger'))" model="ir.actions.report.xml" name="res_id"/>
+        </record>
+    </data>
+</openerp>

=== added directory 'account_financial_report_ext/security'
=== added directory 'account_financial_report_ext/static'
=== added directory 'account_financial_report_ext/static/description'
=== added file 'account_financial_report_ext/static/description/index.html'
=== added directory 'account_financial_report_ext/static/src'
=== added directory 'account_financial_report_ext/static/src/css'
=== added directory 'account_financial_report_ext/static/src/img'
=== added directory 'account_financial_report_ext/static/src/js'
=== added directory 'account_financial_report_ext/static/src/xml'
=== added directory 'account_financial_report_ext/test'
=== added directory 'account_financial_report_ext/view'
=== added directory 'account_financial_report_ext/wizard'
=== added file 'account_financial_report_ext/wizard/__init__.py'
--- account_financial_report_ext/wizard/__init__.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/wizard/__init__.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+
+import afr_report_wizard 

=== added file 'account_financial_report_ext/wizard/afr_report_wizard.py'
--- account_financial_report_ext/wizard/afr_report_wizard.py	1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/wizard/afr_report_wizard.py	2013-10-12 02:10:22 +0000
@@ -0,0 +1,89 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Yanina Aular <yani@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+
+
+
+from osv import osv, fields
+import pooler
+import time
+from tools.translate import _
+from account_financial_report.report import parser as Parser
+
+
+class wizard_report(osv.osv_memory):
+    _inherit = "wizard.report"
+
+    def get_parser_method(self, cr, uid, ids, method=None, args=None, param=None, context=None):
+        if context is None:
+            context = {}
+        
+        acc_bal_obj = Parser.account_balance(cr, uid, ids ,context=context)
+        res = []
+
+        if method:
+            if method in ("get_company_accounts", "_get_analytic_ledger", "_get_journal_ledger",
+                "lines"):
+                res = getattr(acc_bal_obj, method)(args, param)
+            else:
+                res = getattr(acc_bal_obj, method)(args)
+
+        return res
+
+    def print_report(self, cr, uid, ids, data, context=None):
+        if context is None:
+            context = {}
+
+        res = super(wizard_report, self).print_report(cr, uid, ids, data=data, context=context)
+
+        res.get('datas')['ids'] = ids
+
+        if( res.get('report_name') == 'afr.1cols'):
+            res['report_name'] = 'afr_report_col1'
+        
+        if( res.get('report_name') == 'afr.2cols'):
+            res['report_name'] = 'afr_report_col2'
+
+        if( res.get('report_name') == 'afr.4cols'):
+            res['report_name'] = 'afr_report_col4'
+        
+        if( res.get('report_name') == 'afr.5cols'):
+            res['report_name'] = 'afr_report_col5'
+          
+        if( res.get('report_name') == 'afr.journal.ledger'):
+            res['report_name'] = 'afr_report_journal_ledger'
+        
+        if( res.get('report_name') == 'afr.analytic.ledger'):
+            res['report_name'] = 'afr_report_analytic_ledger'
+
+        if( res.get('report_name') == 'afr.qtrcols'):
+            res['report_name'] = 'afr_report_qtr'
+
+        if( res.get('report_name') == 'afr.13cols'):
+            res['report_name'] = 'afr_report_col13'
+        
+        return res
+
+
+

=== added directory 'account_financial_report_ext/workflow'