openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #00697
lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
Jorge Angel Naranjo Rogel has proposed merging lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report.
Requested reviews:
Jorge Angel Naranjo Rogel (jorge-nr)
For more details, see:
https://code.launchpad.net/~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge/+merge/192050
Quedan los reportes en webkit y con la opción a imprimir en PDF o HTML.
--
https://code.launchpad.net/~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge/+merge/192050
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-21 21:18:40 +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-21 21:18:40 +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-21 21:18:40 +0000
@@ -0,0 +1,55 @@
+#!/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',
+ 'view/account_financial_report_view.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-21 21:18:40 +0000
@@ -0,0 +1,1372 @@
+<?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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> of <span class="topage"/></td>
+ </tr>
+ </table>
+ </body>
+</html>]]></field>
+ <field name="orientation">Landscape</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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:7pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameJournal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataNamePartner{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaTituloTabla{
+font-size:8pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> of <span class="topage"/></td>
+ </tr>
+ </table>
+ </body>
+</html>]]></field>
+ <field name="orientation">Landscape</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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:4pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:4pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:4pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:4pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:4pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:4pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:7pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> 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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:5pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:5pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:7pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> of <span class="topage"/></td>
+ </tr>
+ </table>
+ </body>
+</html>]]></field>
+ <field name="orientation">Landscape</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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:7pt;
+font-family: monospace;
+text-align:right;
+font-weight:bold;
+background-color:#d1d1d1;
+}
+
+.celdaLineDataName{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+font-weight:bold;
+background-color:#d1d1d1;
+}
+
+.celdaLineDataTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameTotal{
+font-size:8pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNamePartner{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+font-weight:bold;
+background-color:#d1d1d1;
+}
+
+.celdaLineDataAccountSimilar{
+font-size:6pt;
+font-family: monospace;
+text-align:left;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataAccount{
+font-size:6pt;
+font-family: monospace;
+text-align:left;
+background-color:#FFFFFF;
+}
+
+.celdaTituloTabla{
+font-size:8pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> 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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:7pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:8pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> 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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:7pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:8pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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[<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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> 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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:7pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:7pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:7pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:8pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+]]>
+ </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="float:right;text-align:left;font-size:10;" width="30%">
+ <script type="text/javascript">
+ var date = new Date();
+ var d = date.getDate();
+ var day = (d < 10) ? '0' + d : d;
+ var m = date.getMonth() + 1;
+ var month = (m < 10) ? '0' + m : m;
+ var yy = date.getYear();
+ var year = (yy < 1000) ? yy + 1900 : yy;
+ var h = date.getHours();
+ var hours = (h < 10) ? '0' + h : h;
+ var mm = date.getMinutes();
+ var minutes = (mm < 10) ? '0' + mm : mm;
+ document.write("Printing Date: "+day + "/" + month + "/" + year +
+ "\t\t" + hours+":" + minutes );
+ </script>
+ </td>
+ <td style="text-align:right;font-size:10;" width="65%">Page <span class="page"/></td><td style="text-align:left;font-size:10;"> 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; l
+ine-height:80%;
+padding-top:0px
+}
+
+.celdaLineData{
+font-size:5pt;
+font-family: monospace;
+text-align:right;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataName{
+font-size:5pt;
+font-family: monospace;
+text-align:left;
+background-color:#F5F5F5;
+}
+
+.celdaLineDataView{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataNameView{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#dcdcdc;
+}
+
+.celdaLineDataTotal{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:right;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaLineDataNameTotal{
+font-size:5pt;
+font-family:Arial,Helvetica,sans-serif;
+text-align:left;
+font-weight:bold;
+background-color:#eaeaea;
+}
+
+.celdaTituloTabla{
+font-size:7pt;
+text-align:left;
+font-family:Arial,Helvetica,sans-serif;
+background-color:#620400;
+font-weight:bold;
+color:#FFFFFF;
+}
+
+div.td_company
+{
+font-size:11pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_date
+{
+font-size:9pt;
+margin-left:0;
+font-weight:bold;
+font-family:Arial,Helvetica,sans-serif;
+}
+
+div.td_company_title
+{
+font-size:15pt;
+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=""""jpg"""" name="type"/>
+ <field eval=""""company_logo"""" 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 file 'account_financial_report_ext/i18n/es.po'
--- account_financial_report_ext/i18n/es.po 1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/i18n/es.po 2013-10-21 21:18:40 +0000
@@ -0,0 +1,57 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_financial_report_ext
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-10-21 19:57+0000\n"
+"PO-Revision-Date: 2013-10-21 14:58-0600\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+
+#. module: account_financial_report_ext
+#: model:ir.model,name:account_financial_report_ext.model_wizard_report
+msgid "wizard.report"
+msgstr "wizard.report"
+
+#. module: account_financial_report_ext
+#: selection:wizard.report,report_format:0
+msgid "PDF"
+msgstr "PDF"
+
+#. module: account_financial_report_ext
+#: field:wizard.report,report_format:0
+msgid "Report Format"
+msgstr "Formato del Reporte"
+
+#. module: account_financial_report_ext
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_analytic_ledger
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_analytic_ledger_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col1
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col13
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col13_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col1_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col2
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col2_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col4
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col4_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col5
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col5_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_journal_ledger
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_journal_ledger_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_qtr
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_qtr_html
+msgid "Print AFR"
+msgstr "Imprimir AFR"
+
+#. module: account_financial_report_ext
+#: selection:wizard.report,report_format:0
+msgid "Spreadsheet"
+msgstr "Hoja de Calculo"
+
=== added file 'account_financial_report_ext/i18n/es_MX.po'
--- account_financial_report_ext/i18n/es_MX.po 1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/i18n/es_MX.po 2013-10-21 21:18:40 +0000
@@ -0,0 +1,57 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_financial_report_ext
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-10-21 19:57+0000\n"
+"PO-Revision-Date: 2013-10-21 14:58-0600\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+
+#. module: account_financial_report_ext
+#: model:ir.model,name:account_financial_report_ext.model_wizard_report
+msgid "wizard.report"
+msgstr "wizard.report"
+
+#. module: account_financial_report_ext
+#: selection:wizard.report,report_format:0
+msgid "PDF"
+msgstr "PDF"
+
+#. module: account_financial_report_ext
+#: field:wizard.report,report_format:0
+msgid "Report Format"
+msgstr "Formato del Reporte"
+
+#. module: account_financial_report_ext
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_analytic_ledger
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_analytic_ledger_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col1
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col13
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col13_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col1_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col2
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col2_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col4
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col4_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col5
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_col5_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_journal_ledger
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_journal_ledger_html
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_qtr
+#: model:ir.actions.report.xml,name:account_financial_report_ext.afr_report_qtr_html
+msgid "Print AFR"
+msgstr "Imprimir AFR"
+
+#. module: account_financial_report_ext
+#: selection:wizard.report,report_format:0
+msgid "Spreadsheet"
+msgstr "Hoja de Calculo"
+
=== 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-21 21:18:40 +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-21 21:18:40 +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-21 21:18:40 +0000
@@ -0,0 +1,103 @@
+<!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()" >
+%for obj in objects:
+<table width="100%">
+ <tr>
+ <td>
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td>
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company">${_(Expressed in data['form'] and (' %s'% obj.get_parser_method('exchange_name',data['form'])) or '')}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+</table>
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:right" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="50%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" width="10%" style="text-align:center;" >${_('INICIAL')}</td>
+ <td class="celdaTituloTabla" width="10%" style="text-align:center;" >${_('DEBIT')}</td>
+ <td class="celdaTituloTabla" width="10%" style="text-align:center;" >${_('CREDIT')}</td>
+ <td class="celdaTituloTabla" width="10%" style="text-align:center;" >${_('BALANCE')}</td>
+ </tr>
+ </thead>
+</table>
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:left;" width="10%">${_('DATE')}</td>
+ <td class="celdaTituloTabla" width="10%">${_('PERIOD')}</td>
+ <td class="celdaTituloTabla" width="30%">${_('REFERENCE')}</td>
+ <td class="celdaTituloTabla" width="30%">${_('JOURNAL ENTRY')}</td>
+ <td class="celdaTituloTabla" width="10%">${_('PARTNER')}</td>
+ <td class="celdaTituloTabla" width="10%" ></td>
+ </tr>
+ </thead>
+</table>
+<table width="100%">
+ <tr>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type']!= 'view':
+ <tbody>
+ <tr>
+ <td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td>
+ <td class="celdaLineDataNameTotal" colspan="5">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="10%" style="text-align:right;">${formatLang(line['balanceinit'] and line['balanceinit'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%" style="text-align:right;">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%" style="text-align:right;">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%" style="text-align:right;">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ </tbody>
+ %for m in line['mayor']:
+ <tbody>
+ <tr>
+ <td class="celdaLineData" style="text-align:left;font-style:italic;" width="10%">${formatLang( m['date'], date=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:left;" width="10%">${m['period'] or ''}</td>
+ <td class="celdaLineDataNamePartner" colspan="3">${m['name'] or ''} ${m['ref'] and (' - Ref %s'%m['ref']) or ''}</td>
+ <td class="celdaLineDataNamePartner" colspan="3">${m['entry'] or ''}</td>
+ <td class="celdaLineDataNamePartner" width="10%">${m['partner'] or ''}</td>
+ <td class="celdaLineData" width="10%"></td>
+ </tr>
+ </tbody>
+ %endfor
+ %endif
+ %endfor
+</table>
+
+%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-21 21:18:40 +0000
@@ -0,0 +1,71 @@
+<!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()" >
+ %for obj in objects:
+ <table>
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company">${_(Expressed in data['form'] and (' %s'% obj.get_parser_method('exchange_name',data['form'])) or '')}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ <table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+ </table>
+ <table width="100%">
+ <tbody>
+ <tr class="prueba">
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="70%">${_('ACCOUNT')}</td>
+ <center>
+ <td class="celdaTituloTabla" style="text-align:center;" width="20%">${_('BALANCE')}</td>
+ </center>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type'] != 'view':
+ <tr class="prueba">
+ <i><td class="celdaLineData" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataName" width="70%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineData" width="20%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr class="prueba">
+ <i><td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="10%">${(line['label'] == True ) and line['code'] or ''}</td></i>
+ <td class="celdaLineDataTotal" style="text-align:right;" width="70%">${(line['type'] == 'view') and line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="20%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %else:
+ <tr class="prueba">
+ <i><td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="10%">${(line['label'] == True ) and line['code'] or ''}</td></i>
+ <td class="celdaLineDataNameView" width="70%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataView" width="20%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %endif
+ %endfor
+ </tbody>
+ </table>
+ %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-21 21:18:40 +0000
@@ -0,0 +1,102 @@
+<!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:
+ <table>
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;" colspan="15">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr class="prueba">
+ <td class="celdaTituloTabla" style="text-align:right;" width="6%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="16%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('01')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('02')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('03')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('04')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('05')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('06')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('07')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('08')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('09')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('10')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('11')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('12')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="6%">${_('YTD')}</td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type'] != 'view':
+ <tr>
+ <td class="celdaLineData" style="text-align:right;font-style:italic;" width="6%">${line['code'] or ''}</td>
+ <td class="celdaLineDataName" width="16%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal1'] and line['bal1'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal2'] and line['bal2'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal3'] and line['bal3'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal4'] and line['bal4'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal5'] and line['bal5'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal6'] and line['bal6'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal7'] and line['bal7'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal8'] and line['bal8'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal9'] and line['bal9'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal10'] and line['bal10'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal11'] and line['bal11'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal12'] and line['bal12'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="6%">${formatLang(line['bal13'] and line['bal13'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr>
+ <td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="6%">${line['code'] or ''}</td>
+ <td class="celdaLineDataTotal" width="16%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal1'] and line['bal1'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal2'] and line['bal2'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal3'] and line['bal3'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal4'] and line['bal4'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal5'] and line['bal5'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal6'] and line['bal6'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal7'] and line['bal7'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal8'] and line['bal8'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal9'] and line['bal9'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal10'] and line['bal10'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal11'] and line['bal11'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal12'] and line['bal12'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="6%">${formatLang(line['bal13'] and line['bal13'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %else:
+ <tr>
+ <td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="6%">${line['code'] or ''}</td>
+ <td class="celdaLineDataNameView" colspan="14">${line['name'].upper() or line['name'].title() or ''}</td>
+ </tr>
+ %endif
+ %endfor
+ </tbody>
+ </table>
+%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-21 21:18:40 +0000
@@ -0,0 +1,80 @@
+<!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:
+ <table>
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company">${_(Expressed in data['form'] and (' %s'% obj.get_parser_method('exchange_name',data['form'])) or '')}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ <table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+ </table>
+ <table width="100%">
+ <tbody>
+ <tr class="prueba">
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="50%">${_('ACCOUNT')}</td>
+ <center>
+ <td class="celdaTituloTabla" style="text-align:center;" width="20%">${_('DEBIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="20%">${_('CREDIT')}</td>
+ </center>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+
+ %if line['type'] != 'view':
+ <tr class="prueba">
+ <i><td class="celdaLineData" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataName" width="50%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineData" width="20%">${formatLang(line['debit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ <td class="celdaLineData" width="20%">${formatLang(line['credit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr class="prueba">
+ <i><td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataTotal" style="text-align:right;" width="50%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="20%">${formatLang(line['debit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="20%">${formatLang(line['credit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ </tr>
+ %else:
+ <tr class="prueba">
+ <i><td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="10%">${(line['label'] == True ) and line['code'] or ''}</td></i>
+ <td class="celdaLineDataNameView" width="50%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataView" width="20%">${formatLang(line['debit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ <td class="celdaLineDataView" width="20%">${formatLang(line['credit'], digits=2, date=False, date_time=False, grouping=3, monetary=True) or ''}</td>
+ </tr>
+ %endif
+ %endfor
+ </tbody>
+ </table>
+ %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-21 21:18:40 +0000
@@ -0,0 +1,86 @@
+<!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:
+ <table>
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ <table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+ </table>
+ <table width="100%">
+ <tbody>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="42%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="12%">${_('INICIAL')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="12%">${_('DEBIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="12%">${_('CREDIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="12%">${_('BALANCE')}</td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type'] != 'view':
+ <tr>
+ <i><td class="celdaLineData" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataName" width="42%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineData" width="12%">${formatLang(line['balanceinit'] and line['balanceinit'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="12%">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="12%">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" width="12%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr>
+ <i><td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataTotal" style="text-align:right;" width="42%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="12%">${formatLang(line['balanceinit'] and line['balanceinit'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="12%">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="12%">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="12%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %else:
+ <tr>
+ <td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td>
+ <td class="celdaLineDataNameView" width="42%">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataView" width="12%">${formatLang(line['balanceinit'] and line['balanceinit'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataView" width="12%">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataView" width="12%">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataView" width="12%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %endif
+ %endfor
+ </tbody>
+ </table>
+
+%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-21 21:18:40 +0000
@@ -0,0 +1,76 @@
+<!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()" >
+
+%for obj in objects:
+<table>
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+</table>
+<table style="width: 100%;">
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('Code')}</td>
+ <td class="celdaTituloTabla" width="30%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" width="10%">${_('INIT. BAL.')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('DEBIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('CREDIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('PERIOD')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('YTD')}</td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type'] != 'view':
+ <tr>
+ <td class="celdaLineData" style="text-align:right;font-style:italic;">${line['code'] or ''}</td>
+ <td class="celdaLineDataName" >${line['name'].upper() or line['name'].title()}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line.get('change_sign', 1.0) * line.get('balanceinit'), digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line.get('change_sign', 1.0) * line.get('ytd'), digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line.get('change_sign', 1.0) * line.get('balance'), digits=2, grouping=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr>
+ <td class="celdaLineDataTotal" style="text-align:right;font-style:italic;">${line['code'] or ''}</td>
+ <td class="celdaLineDataTotal" style="text-align:right;">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line.get('change_sign', 1.0) * line.get('balanceinit'), digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line.get('change_sign', 1.0) * line.get('ytd'), digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line.get('change_sign', 1.0) * line.get('balance'), digits=2, grouping=True) or ''}</td>
+ </tr>
+ %else:
+ <tr>
+ <td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="10%">${(line['label'] == True ) and line['code'] or ''}</td>
+ <td class="celdaLineDataNameView" colspan="6">${line['name'].upper() or line['name'].title() or ''}</td>
+ </tr>
+ %endif
+ %endfor
+</table>
+%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-21 21:18:40 +0000
@@ -0,0 +1,127 @@
+<!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()" >
+%for obj in objects:
+<table width="100%">
+ <tr>
+ <td>
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td>
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="width: 100%; text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+</table>
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="50%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('INICIAL')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('DEBIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('CREDIT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('BALANCE')}</td>
+ </tr>
+ </thead>
+</table>
+<table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:left;" width="10%">${_('DATE')}</td>
+ <td class="celdaTituloTabla" width="10%">${_('PERIOD')}</td>
+ <td class="celdaTituloTabla" width="40%">${_('JOURNAL ENTRY')}</td>
+ <td class="celdaTituloTabla" width="40%"></td>
+ </tr>
+ </thead>
+</table>
+
+<table width="100%">
+ <tr>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ <td width="10%"></td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type']!= 'view':
+ <tbody>
+ <tr>
+ <td class="celdaLineDataTotal" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td>
+ <td class="celdaLineDataNameTotal" colspan="5">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal" width="10%">${formatLang(line['balanceinit'] and line['balanceinit'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%"> ${formatLang(line['debit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%">${formatLang(line['credit'], digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal" width="10%">${formatLang(line['balance'] and line['balance'] * line.get('change_sign',1.0) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ </tbody>
+ %for j in line['journal']:
+ <tbody>
+ <tr>
+ <td class="celdaLineData" style="text-align:left;" width="10%" height="12pt">${formatLang( j['date'], date=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:left;" width="10%">${j['period'] or ''}</td>
+ <td class="celdaLineDataNamePartner" colspan="4">${j['name'] or ''}</td>
+ <td class="celdaLineDataNamePartner" colspan="4"></td>
+ </tr>
+ </tbody>
+ %for k in j.get('obj').line_id:
+ <tbody>
+ %if k.account_id.name.upper() == line['name'].upper() :
+ <tr>
+ <td class="celdaLineDataAccountSimilar" style="text-align:left;" colspan="2">${k.name or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:left;">${k.ref and k.ref or ''}</td>
+ <td class="celdaLineDataAccountSimilar" colspan="2">${k.partner_id and k.partner_id.name or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:left;">${k.account_id and k.account_id.code or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:left;" >${k.account_id and k.account_id.name or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:right;" >${k.debit and formatLang(k.debit, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:right;" >${k.credit and formatLang(k.credit, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataAccountSimilar" style="text-align:right;" >${k.reconcile_id and k.reconcile_id.name or k.reconcile_partial_id and k.reconcile_partial_id.name or ''}</td>
+ </tr>
+ %else:
+ <tr>
+ <td class="celdaLineDataAccount" style="text-align:left;" colspan="2">${k.name or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:left;" >${k.ref and k.ref or ''}</td>
+ <td class="celdaLineDataAccount" colspan="2">${k.partner_id and k.partner_id.name or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:left;" >${k.account_id and k.account_id.code or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:left;" >${k.account_id and k.account_id.name or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:right;" >${k.debit and formatLang(k.debit, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:right;" >${k.credit and formatLang(k.credit, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataAccount" style="text-align:right;" >${k.reconcile_id and k.reconcile_id.name or k.reconcile_partial_id and k.reconcile_partial_id.name or ''}</td>
+ </tr>
+ %endif
+ </tbody>
+ %endfor
+ %endfor
+ %endif
+ %endfor
+</table>
+
+%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-21 21:18:40 +0000
@@ -0,0 +1,82 @@
+<!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:
+ <table width="100%">
+ <tr>
+ <td width="30%">
+ <div>${helper.embed_image('jpeg',str(obj.company_id.logo),250, 120)}</div>
+ </td>
+ <td width="70%">
+ <table style="width: 100%; text-align:center;">
+ <tr><td><div class="td_company_title">${obj.company_id.name or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_vat_by_country',data['form']) or ''|entity}</div></td></tr>
+ <tr><td><div class="td_company">${obj.get_parser_method('get_informe_text',data['form']) or ''| entity}</div></td></tr>
+ <tr><td><div class="td_company_date"> ${data['form'] and obj.get_parser_method('get_month',data['form']) or ''}</div></td></tr>
+ </table>
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ <table width="100%">
+ <thead>
+ <tr>
+ <td class="celdaTituloTabla" colspan="7" style="text-align:left;">${_('Expressed in: %s') % (obj.get_parser_method('exchange_name',data['form'])) or ''|entity}</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="celdaTituloTabla" style="text-align:right;" width="10%">${_('CODE')}</td>
+ <td class="celdaTituloTabla" width="30%">${_('ACCOUNT')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('Q1')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('Q2')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('Q3')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('Q4')}</td>
+ <td class="celdaTituloTabla" style="text-align:center;" width="10%">${_('YTD')}</td>
+ </tr>
+ %for line in obj.get_parser_method('lines',data['form']):
+ %if line['type'] != 'view':
+ <tr class="prueba">
+ <td class="celdaLineData" style="text-align:right;font-style:italic;">${line['code'] or ''}</td>
+ <td class="celdaLineDataName" >${line['name'].upper() or line['name'].title()}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['bal1'] and (line['bal1'] * line.get('change_sign',1)) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['bal2'] and line['bal2'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['bal3'] and line['bal3'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['bal4'] and line['bal4'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineData" style="text-align:right;">${formatLang(line['bal5'] and line['bal5'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %elif line['total'] and not line['label']:
+ <tr class="prueba">
+ <td class="celdaLineDataTotal" style="text-align:right;font-style:italic;">${line['code'] or ''}</td>
+ <td class="celdaLineDataTotal" style="text-align:right;">${line['name'].upper() or line['name'].title() or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['bal1'] and (line['bal1'] * line.get('change_sign',1)) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['bal2'] and line['bal2'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['bal3'] and line['bal3'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['bal4'] and line['bal4'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ <td class="celdaLineDataTotal">${formatLang(line['bal5'] and line['bal5'] * line.get('change_sign',1) or 0.0, digits=2, grouping=True) or ''}</td>
+ </tr>
+ %else:
+ <tr class="prueba">
+ <i><td class="celdaLineDataView" style="text-align:right;font-style:italic;" width="10%">${line['code'] or ''}</td></i>
+ <td class="celdaLineDataNameView" colspan="6" >${line['name'].upper() or line['name'].title() or ''}</td>
+ </tr>
+ %endif
+ %endfor
+ </tbody>
+ </table>
+%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-21 21:18:40 +0000
@@ -0,0 +1,316 @@
+<?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_col5_html"
+ model="wizard.report"
+ name="afr_report_col5_html"
+ file="account_financial_report_ext/report/afr_report_webkit_cols5.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_col5_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit1_html" 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_html'))" 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_col1_html"
+ model="wizard.report"
+ name="afr_report_col1_html"
+ file="account_financial_report_ext/report/afr_report_webkit_cols1.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_col1_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit2_html" 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_html'))" 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_col2_html"
+ model="wizard.report"
+ name="afr_report_col2_html"
+ file="account_financial_report_ext/report/afr_report_webkit_cols2.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_col2_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit3_html" 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_html'))" 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_col4_html"
+ model="wizard.report"
+ name="afr_report_col4_html"
+ file="account_financial_report_ext/report/afr_report_webkit_cols4.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_col4_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit4_html" 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_html'))" 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_journal_ledger_html"
+ model="wizard.report"
+ name="afr_report_journal_ledger_html"
+ file="account_financial_report_ext/report/afr_report_webkit_journal_ledger.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_journal_ledger_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit6_html" 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_html'))" 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_qtr_html"
+ model="wizard.report"
+ name="afr_report_qtr_html"
+ file="account_financial_report_ext/report/afr_report_webkit_qtr.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_qtr_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit7_html" 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_html'))" 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_col13_html"
+ model="wizard.report"
+ name="afr_report_col13_html"
+ file="account_financial_report_ext/report/afr_report_webkit_cols13.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_col13_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit8_html" 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_html'))" 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>
+
+ <report
+ auto = "True"
+ id="afr_report_analytic_ledger_html"
+ model="wizard.report"
+ name="afr_report_analytic_ledger_html"
+ file="account_financial_report_ext/report/afr_report_webkit_analytic_ledger.mako"
+ string="Print AFR"
+ report_type="webkit"
+ multi="True"
+ menu="False"/>
+ <record id="afr_report_analytic_ledger_html" model="ir.actions.report.xml">
+ <field name="webkit_debug">True</field>
+ <field name="precise_mode">True</field>
+ </record>
+ <record id="property_afr_report_webkit9_html" 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_html'))" 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 file 'account_financial_report_ext/view/account_financial_report_view.xml'
--- account_financial_report_ext/view/account_financial_report_view.xml 1970-01-01 00:00:00 +0000
+++ account_financial_report_ext/view/account_financial_report_view.xml 2013-10-21 21:18:40 +0000
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<openerp>
+ <data>
+ <record model="ir.ui.view" id="wizard_report_view_inherit">
+ <field name="name">wizard.report.view.inherit</field>
+ <field name="model">wizard.report</field>
+ <field name="inherit_id" ref="account_financial_report.wizard_report_view"/>
+ <field name="arch" type="xml">
+ <xpath expr="//field[@name='journal_ledger']" position="after">
+ <field name="report_format"/>
+ </xpath>
+ </field>
+ </record>
+ </data>
+</openerp>
=== 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-21 21:18:40 +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-21 21:18:40 +0000
@@ -0,0 +1,118 @@
+#!/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"
+
+ _columns = {
+ 'report_format' : fields.selection([
+ ('pdf', 'PDF'),
+ ('spreadsheet', 'Spreadsheet')], 'Report Format')
+ }
+ 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'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_col1_html'
+ else:
+ res['report_name'] = 'afr_report_col1'
+
+ if( res.get('report_name') == 'afr.2cols'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_col2_html'
+ else:
+ res['report_name'] = 'afr_report_col2'
+
+ if( res.get('report_name') == 'afr.4cols'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_col4_html'
+ else:
+ res['report_name'] = 'afr_report_col4'
+
+ if( res.get('report_name') == 'afr.5cols'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_col5_html'
+ else:
+ res['report_name'] = 'afr_report_col5'
+
+ if( res.get('report_name') == 'afr.journal.ledger'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_journal_ledger_html'
+ else:
+ res['report_name'] = 'afr_report_journal_ledger'
+
+ if( res.get('report_name') == 'afr.analytic.ledger'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_analytic_ledger_html'
+ else:
+ res['report_name'] = 'afr_report_analytic_ledger'
+
+ if( res.get('report_name') == 'afr.qtrcols'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_qtr_html'
+ else:
+ res['report_name'] = 'afr_report_qtr'
+
+ if( res.get('report_name') == 'afr.13cols'):
+ if (res.get('datas').get('form')['report_format'] == 'spreadsheet'):
+ res['report_name'] = 'afr_report_col13_html'
+ else:
+ res['report_name'] = 'afr_report_col13'
+
+ return res
+
+
+
=== added directory 'account_financial_report_ext/workflow'
Follow ups
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: hbto [Vauxoo] http://www.vauxoo.com, 2013-12-28
-
lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Maxime Chambreuil (http://www.savoirfairelinux.com), 2013-12-27
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: hbto [Vauxoo] http://www.vauxoo.com, 2013-10-28
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Joël Grand-Guillaume, 2013-10-28
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Guewen Baconnier @ Camptocamp, 2013-10-28
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-25
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Nhomar - Vauxoo, 2013-10-24
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-24
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-24
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-23
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Jorge Angel Naranjo Rogel, 2013-10-23
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-23
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Nhomar - Vauxoo, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: hbto [Vauxoo] http://www.vauxoo.com, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Jorge Angel Naranjo Rogel, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Jorge Angel Naranjo Rogel, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Nhomar - Vauxoo, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: Frederic Clementi - Camptocamp.com, 2013-10-22
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: hbto [Vauxoo] http://www.vauxoo.com, 2013-10-21
-
Re: lp:~vauxoo/account-financial-report/7.0-report_webkit_afr-_data_dev-jorge into lp:account-financial-report
From: hbto [Vauxoo] http://www.vauxoo.com, 2013-10-21