~noviat/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to account_cashflow/report/account_cashflow_report_layout.xml

  • Committer: root
  • Date: 2012-04-10 20:37:39 UTC
  • Revision ID: root@oerp61-20120410203739-flykplw8jzpqa15c
update noviat v6.0 accounting modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
    <data noupdate="0">
 
4
 
 
5
      <!-- Webkit header record for the Cash Flow Report -->
 
6
      <record id="ir_header_webkit_cashflow_report" model="ir.header_webkit">
 
7
        <field name="name">Cash Flow Report</field>
 
8
        <field name="orientation">Landscape</field>
 
9
        <field name="format">A4</field>
 
10
        <field name="css" >
 
11
          <![CDATA[
 
12
body {
 
13
font-family:helvetica;
 
14
font-size:10;;
 
15
border:0;
 
16
margin:0;
 
17
}
 
18
 
 
19
.report_title {
 
20
text-align:center;
 
21
font-size:12;
 
22
font-weight:bold;
 
23
}
 
24
 
 
25
.list_table {
 
26
text-align:center;
 
27
border-collapse: collapse;
 
28
}
 
29
.list_table th {
 
30
border-bottom:2px solid black;
 
31
text-align:left;
 
32
font-size:10;;
 
33
font-weight:bold;
 
34
vertical-align:top;
 
35
}
 
36
.list_table th.amount {
 
37
text-align: right;
 
38
}
 
39
.list_table tr.normal{
 
40
color:black;
 
41
}
 
42
.list_table tr.provision{
 
43
color:magenta;
 
44
}
 
45
.list_table tr.view{
 
46
color:blue;
 
47
border-top: 1px solid lightGrey;
 
48
border-bottom: 1px solid lightGrey;
 
49
}
 
50
.list_table tr.init{
 
51
color:green;
 
52
}
 
53
.list_table td {
 
54
text-align:left;
 
55
font-size:10;;
 
56
vertical-align:top;
 
57
}
 
58
.list_table td.amount {
 
59
text-align: right;
 
60
}
 
61
          ]]>
 
62
        </field>
 
63
        <field name="html">
 
64
          <![CDATA[
 
65
<html>
 
66
  <head>
 
67
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
68
    <script>
 
69
      function subst() {
 
70
      var vars = {};
 
71
      var x = document.location.search.substring(1).split('&');
 
72
      for (var i in x) { var z = x[i].split('=', 2); vars[z[0]] = unescape(z[1]); }
 
73
      var x = ['frompage', 'topage', 'page', 'webpage', 'section', 'subsection', 'subsubsection'];
 
74
      for (var i in x) {
 
75
      var y = document.getElementsByClassName(x[i]);
 
76
      for (var j = 0; j < y.length; ++j) y[j].textContent = vars[x[i]];
 
77
                }
 
78
            }
 
79
    </script>
 
80
  </head>
 
81
  <body style="border:0; margin: 0;" onload="subst()">
 
82
    <% setLang(lang) %>
 
83
    <table style="border-bottom: 1px solid black; width: 100%">
 
84
      <tr>
 
85
             <td style="text-align:left;font-size:10;;font-weight: bold;">
 
86
          ${company.partner_id.name |entity}
 
87
        </td>
 
88
            <td style="text-align:right;font-size:10;;">
 
89
              ${ formatLang(time.strftime("%Y-%m-%d"), date=True) }&nbsp;&nbsp;${ time.strftime("%H:%M") }&nbsp;&nbsp;-&nbsp;&nbsp;p. <span class="page">1</span> / <span class="topage">1</span>
 
90
            </td>
 
91
      </tr>
 
92
    </table>
 
93
  </body>
 
94
</html>          
 
95
           ]]>
 
96
        </field>
 
97
        <field name="footer_html">
 
98
          <![CDATA[
 
99
<html>
 
100
  <head>
 
101
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
102
    <script>
 
103
      function subst() {
 
104
      var vars = {};
 
105
      var x = document.location.search.substring(1).split('&');
 
106
      for (var i in x) { var z = x[i].split('=', 2); vars[z[0]] = unescape(z[1]); }
 
107
      var x = ['frompage', 'topage', 'page', 'webpage', 'section', 'subsection', 'subsubsection'];
 
108
      for (var i in x) {
 
109
      var y = document.getElementsByClassName(x[i]);
 
110
      for (var j = 0; j < y.length; ++j) y[j].textContent = vars[x[i]];
 
111
                }
 
112
            }
 
113
    </script>
 
114
  </head>
 
115
  <body style="border:0; margin: 0;" onload="subst()">
 
116
  </body>
 
117
</html>
 
118
          ]]>
 
119
        </field>
 
120
      </record>
 
121
 
 
122
      <!-- Webkit header record for the Cash Flow Summary Report -->
 
123
      <record id="ir_header_webkit_cashflow_summary_report" model="ir.header_webkit">
 
124
        <field name="name">Cash Flow Summary Report</field>
 
125
        <field name="orientation">Portrait</field>
 
126
        <field name="format">A4</field>
 
127
        <field name="css" >
 
128
          <![CDATA[
 
129
body {
 
130
font-family:helvetica;
 
131
font-size:12;;
 
132
border:0;
 
133
margin:0;
 
134
}
 
135
 
 
136
.report_title {
 
137
text-align:center;
 
138
font-size:14;
 
139
font-weight:bold;
 
140
}
 
141
 
 
142
.list_table {
 
143
text-align:center;
 
144
border-collapse: collapse;
 
145
}
 
146
.list_table th {
 
147
border-bottom:2px solid black;
 
148
text-align:left;
 
149
font-size:12;;
 
150
font-weight:bold;
 
151
vertical-align:top;
 
152
}
 
153
.list_table th.amount {
 
154
text-align: right;
 
155
}
 
156
.list_table tr.normal{
 
157
color:black;
 
158
}
 
159
.list_table tr.provision{
 
160
color:magenta;
 
161
}
 
162
.list_table tr.view{
 
163
color:blue;
 
164
border-top: 1px solid lightGrey;
 
165
border-bottom: 1px solid lightGrey;
 
166
}
 
167
.list_table tr.init{
 
168
color:green;
 
169
}
 
170
.list_table td {
 
171
text-align:left;
 
172
font-size:12;;
 
173
vertical-align:top;
 
174
}
 
175
.list_table td.amount {
 
176
text-align: right;
 
177
}
 
178
          ]]>
 
179
        </field>
 
180
        <field name="html">
 
181
          <![CDATA[
 
182
<html>
 
183
  <head>
 
184
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
185
    <script>
 
186
      function subst() {
 
187
      var vars = {};
 
188
      var x = document.location.search.substring(1).split('&');
 
189
      for (var i in x) { var z = x[i].split('=', 2); vars[z[0]] = unescape(z[1]); }
 
190
      var x = ['frompage', 'topage', 'page', 'webpage', 'section', 'subsection', 'subsubsection'];
 
191
      for (var i in x) {
 
192
      var y = document.getElementsByClassName(x[i]);
 
193
      for (var j = 0; j < y.length; ++j) y[j].textContent = vars[x[i]];
 
194
                }
 
195
            }
 
196
    </script>
 
197
  </head>
 
198
  <body style="border:0; margin: 0;" onload="subst()">
 
199
    <% setLang(lang) %>
 
200
    <table style="border-bottom: 1px solid black; width: 100%">
 
201
      <tr>
 
202
             <td style="text-align:left;font-size:12;;font-weight: bold;">
 
203
          ${company.partner_id.name |entity}
 
204
        </td>
 
205
            <td style="text-align:right;font-size:12;;">
 
206
              ${ formatLang(time.strftime("%Y-%m-%d"), date=True) }&nbsp;&nbsp;${ time.strftime("%H:%M") }&nbsp;&nbsp;-&nbsp;&nbsp;p. <span class="page">1</span> / <span class="topage">1</span>
 
207
            </td>
 
208
      </tr>
 
209
    </table>
 
210
  </body>
 
211
</html>          
 
212
           ]]>
 
213
        </field>
 
214
        <field name="footer_html">
 
215
          <![CDATA[
 
216
<html>
 
217
  <head>
 
218
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
219
    <script>
 
220
      function subst() {
 
221
      var vars = {};
 
222
      var x = document.location.search.substring(1).split('&');
 
223
      for (var i in x) { var z = x[i].split('=', 2); vars[z[0]] = unescape(z[1]); }
 
224
      var x = ['frompage', 'topage', 'page', 'webpage', 'section', 'subsection', 'subsubsection'];
 
225
      for (var i in x) {
 
226
      var y = document.getElementsByClassName(x[i]);
 
227
      for (var j = 0; j < y.length; ++j) y[j].textContent = vars[x[i]];
 
228
                }
 
229
            }
 
230
    </script>
 
231
  </head>
 
232
  <body style="border:0; margin: 0;" onload="subst()">
 
233
  </body>
 
234
</html>
 
235
          ]]>
 
236
        </field>
 
237
      </record>
 
238
 
 
239
 
 
240
    </data>
 
241
  </openerp>
 
242
  
 
 
b'\\ No newline at end of file'