~oscarolar/addons-vauxoo/addons-vauxoo

« back to all changes in this revision

Viewing changes to ifrs_report/view/data.xml

  • Committer: Humberto Arocha
  • Date: 2013-05-24 15:31:51 UTC
  • Revision ID: humbertoarocha@gmail.com-20130524153151-hh4fbw172drp6poq
[MERGE] Backport from Trunk revno 802..803

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_ifrsreport" 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:12;" width="95%">Page <span class="page"/></td><td style="text-align:left;font-size:12;">  of <span class="topage"/></td>
 
25
            </tr>
 
26
        </table>
 
27
    </body>
 
28
</html>]]></field>
 
29
                        <field name="orientation">Portrait</field>
 
30
                        <field name="format">Letter</field>
 
31
                        <field name="html">
 
32
                                <![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 name="css">
 
56
<![CDATA[
 
57
body {
 
58
font-family:helvetica;
 
59
font-size:12;
 
60
}
 
61
 
 
62
 
 
63
.dest_address {
 
64
font-size:12;
 
65
margin-left:0;
 
66
text-align:left;
 
67
line-height:80%;
 
68
padding-top:0px
 
69
 
 
70
}
 
71
 
 
72
.header {
 
73
margin-left:0;
 
74
text-align:center;
 
75
font-size:50;
 
76
width:3%;
 
77
}
 
78
 
 
79
.title {
 
80
font-size:100;
 
81
font-weight: bold;
 
82
 
 
83
}
 
84
 
 
85
 
 
86
.basic_table{
 
87
text-align:center;
 
88
border:1px solid lightGrey;
 
89
border-collapse: collapse;
 
90
}
 
91
.basic_table td {
 
92
border:1px solid lightGrey;
 
93
font-size:12;
 
94
 
 
95
}
 
96
 
 
97
.list_table {
 
98
border-color:black;
 
99
text-align:right;
 
100
font-size:8;
 
101
border-collapse: collapse;
 
102
}
 
103
 
 
104
 
 
105
.celda{
 
106
border-top:4px solid black;
 
107
border-bottom:4px solid black;
 
108
max-width:80px;
 
109
min-width:79px;
 
110
font-size:10;
 
111
text-align:right;
 
112
page-break-before: auto;
 
113
}
 
114
 
 
115
.celda2{
 
116
max-width:80px;
 
117
min-width:79px;
 
118
font-size:10;
 
119
text-align:right;
 
120
}
 
121
 
 
122
th.list_table{
 
123
border-top:4px solid black;
 
124
border-bottom:4px solid black;
 
125
text-align:center;
 
126
font-size:8;
 
127
font-weight:bold;
 
128
padding-right:3px
 
129
padding-left:3px
 
130
}
 
131
 
 
132
.list_tabe thead {
 
133
    display:table-header-group;
 
134
}
 
135
 
 
136
 
 
137
.total {
 
138
width:100%;
 
139
}
 
140
.lib {
 
141
width:10.3%;
 
142
}
 
143
.tot {
 
144
text-align:right;
 
145
width:15%;
 
146
}
 
147
.lefttot {
 
148
width:74%;
 
149
}
 
150
.tax {
 
151
width:50%;
 
152
 
153
 
 
154
 
 
155
.prueba{
 
156
background-color:#80E680;
 
157
color:black;
 
158
}
 
159
 
 
160
th.justify
 
161
{
 
162
text-align:justify;
 
163
text-indent:20px;
 
164
font-size:8;
 
165
}
 
166
 
 
167
td.celda_border{
 
168
text-align:right;
 
169
max-width:80px;
 
170
min-width:79px;
 
171
font-size:10;
 
172
border-right-style:solid;
 
173
border-left-style:solid;
 
174
border-width:1px;
 
175
}
 
176
 
 
177
 
 
178
th.celda_border{
 
179
border-top:4px solid black;
 
180
border-bottom:4px solid black;
 
181
text-align:left;
 
182
font-size:11;
 
183
font-weight:bold;
 
184
padding-right:3px
 
185
padding-left:3px
 
186
}
 
187
 
 
188
 
 
189
th.celda3{
 
190
text-align:left;
 
191
font-size:12;
 
192
font-weight:bold;
 
193
color:black;
 
194
padding-right:3px
 
195
padding-left:3px
 
196
}
 
197
 
 
198
tr
 
199
{
 
200
page-break-after:auto;
 
201
}
 
202
 
 
203
tr.nonrow
 
204
{
 
205
background-color:#C0C0BF;
 
206
}]]>
 
207
</field>
 
208
                        <field name="name">Reports IFRS WebKit</field>
 
209
                </record>
 
210
                
 
211
                <record id="ir_header_img_company" model="ir.header_img">
 
212
                        <field name="type">png</field>
 
213
                        <field name="name">company_logo</field>
 
214
                </record>
 
215
                
 
216
        </data>
 
217
</openerp>