~vauxoo/addons-vauxoo/7.0_addons-vauxoo_account_move_report-yzk

« back to all changes in this revision

Viewing changes to account_move_report/data.xml

  • Committer: Isaac López
  • Date: 2013-11-08 20:12:11 UTC
  • Revision ID: isaac@vauxoo.com-20131108201211-9vuausgw7a8auw22
[ADD][account_move_report] generic module added

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
    <data noupdate="1">
 
4
        <record id="ir_header_webkit_account_move" model="ir.header_webkit">
 
5
            <field name="footer_html"><![CDATA[<html>
 
6
    <head>
 
7
        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
8
        <script>
 
9
            function subst() {
 
10
            var vars={};
 
11
            var x=document.location.search.substring(1).split('&');
 
12
            for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
 
13
            var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
 
14
            for(var i in x) {
 
15
            var y = document.getElementsByClassName(x[i]);
 
16
            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
 
17
                }
 
18
            }
 
19
        </script>
 
20
    </head>
 
21
    <body style="border:0; margin: 0;" onload="subst()">
 
22
        <table style="border-top: 1px solid black; width: 100%">
 
23
            <tr >
 
24
                <td style="text-align:right;font-size:9;" width="35%">Generado con software libre en OpenERP y Webkit por http://www.vauxoo.com</td>
 
25
                <td style="text-align:right;font-size:12;" width="55%">Page <span class="page"/></td><td style="text-align:left;font-size:12;">  of <span class="topage"/></td>
 
26
            </tr>
 
27
        </table>
 
28
    </body>
 
29
</html>]]></field>
 
30
            <field name="orientation">Portrait</field>
 
31
            <field name="format">Letter</field>
 
32
            <field name="html"><![CDATA[<html>
 
33
    <head>
 
34
        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
35
        <script>
 
36
            function subst() {
 
37
            var vars={};
 
38
            var x=document.location.search.substring(1).split('&');
 
39
            for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
 
40
            var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
 
41
            for(var i in x) {
 
42
            var y = document.getElementsByClassName(x[i]);
 
43
            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
 
44
                }
 
45
            }
 
46
        </script>
 
47
        <style type="text/css">
 
48
            ${css}
 
49
        </style>
 
50
    </head>
 
51
    <body style="border:0; margin: 0;" onload="subst()">
 
52
        ${_debug or ''|n} </body>
 
53
</html>]]>
 
54
</field>
 
55
            <field eval="0.0" name="margin_top"/>
 
56
            <field name="css" ><![CDATA[
 
57
.company_font{
 
58
text-align: center;
 
59
font-size: 16pt;
 
60
}
 
61
td.basic_td
 
62
{
 
63
text-align: center;
 
64
font-size: 10;
 
65
padding-right:3px;
 
66
padding-left:3px;
 
67
}
 
68
td.dir_font{
 
69
font-size: 10;
 
70
text-align: center;
 
71
}
 
72
td.date_font{
 
73
font-size: 12;
 
74
text-align: center;
 
75
}
 
76
.title
 
77
{
 
78
text-align: center;
 
79
border-top:1px solid #000000;
 
80
border-bottom: solid 1.5px #000000;
 
81
font-size: 12;
 
82
padding-right:3px;
 
83
padding-left:3px;
 
84
}
 
85
.table
 
86
{
 
87
border-collapse:collapse;
 
88
}
 
89
 
 
90
 
 
91
]]> </field>
 
92
            <field name="name">Poliza</field>
 
93
        </record>
 
94
        <record id="ir_header_img_companylogo0" model="ir.header_img">
 
95
            <field eval="&quot;&quot;&quot;jpg&quot;&quot;&quot;" name="type"/>
 
96
            <field eval="&quot;&quot;&quot;company_logo&quot;&quot;&quot;" name="name"/>
 
97
        </record>
 
98
    </data>
 
99
</openerp>