Merge lp:~openerp-community/openerp-canada/7.0-l10n_ca_account_check_writing into lp:openerp-canada
- 7.0-l10n_ca_account_check_writing
- Merge into 7.0
Proposed by
Joao Alfredo Gama Batista
Status: | Merged |
---|---|
Merged at revision: | 10 |
Proposed branch: | lp:~openerp-community/openerp-canada/7.0-l10n_ca_account_check_writing |
Merge into: | lp:openerp-canada |
Diff against target: |
1110 lines (+1050/-0) 10 files modified
l10n_ca_account_check_writing/__init__.py (+25/-0) l10n_ca_account_check_writing/__openerp__.py (+44/-0) l10n_ca_account_check_writing/account_voucher.py (+52/-0) l10n_ca_account_check_writing/company.py (+39/-0) l10n_ca_account_check_writing/i18n/l10n_ca_account_check_writing.pot (+67/-0) l10n_ca_account_check_writing/l10n_ca_account_check_writing_report.xml (+29/-0) l10n_ca_account_check_writing/report/__init__.py (+25/-0) l10n_ca_account_check_writing/report/l10n_ca_check_print.py (+89/-0) l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml (+342/-0) l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml (+338/-0) |
To merge this branch: | bzr merge lp:~openerp-community/openerp-canada/7.0-l10n_ca_account_check_writing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maxime Chambreuil (http://www.savoirfairelinux.com) | lgtm, no test. | Approve | |
Review via email: mp+161033@code.launchpad.net |
Commit message
Description of the change
7.0 initial version based on the 6.1 branch
To post a comment you must log in.
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) : | # |
review:
Approve
(lgtm, no test.)
- 10. By Joao Alfredo Gama Batista
-
[MRG] Add l10n_ca_
account_ check_writing
Revision history for this message
Samir GUESMI (samir-guesmi86) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'l10n_ca_account_check_writing' |
2 | === added file 'l10n_ca_account_check_writing/__init__.py' |
3 | --- l10n_ca_account_check_writing/__init__.py 1970-01-01 00:00:00 +0000 |
4 | +++ l10n_ca_account_check_writing/__init__.py 2013-04-25 22:27:14 +0000 |
5 | @@ -0,0 +1,25 @@ |
6 | +# -*- coding: utf-8 -*- |
7 | +############################################################################## |
8 | +# |
9 | +# OpenERP, Open Source Management Solution |
10 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
11 | +# |
12 | +# This program is free software: you can redistribute it and/or modify |
13 | +# it under the terms of the GNU Affero General Public License as |
14 | +# published by the Free Software Foundation, either version 3 of the |
15 | +# License, or (at your option) any later version. |
16 | +# |
17 | +# This program is distributed in the hope that it will be useful, |
18 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | +# GNU Affero General Public License for more details. |
21 | +# |
22 | +# You should have received a copy of the GNU Affero General Public License |
23 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
24 | +# |
25 | +############################################################################## |
26 | + |
27 | +import company |
28 | +import account_voucher |
29 | +import report |
30 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
31 | |
32 | === added file 'l10n_ca_account_check_writing/__openerp__.py' |
33 | --- l10n_ca_account_check_writing/__openerp__.py 1970-01-01 00:00:00 +0000 |
34 | +++ l10n_ca_account_check_writing/__openerp__.py 2013-04-25 22:27:14 +0000 |
35 | @@ -0,0 +1,44 @@ |
36 | +# -*- coding: utf-8 -*- |
37 | +############################################################################## |
38 | +# |
39 | +# OpenERP, Open Source Management Solution |
40 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
41 | +# |
42 | +# This program is free software: you can redistribute it and/or modify |
43 | +# it under the terms of the GNU Affero General Public License as |
44 | +# published by the Free Software Foundation, either version 3 of the |
45 | +# License, or (at your option) any later version. |
46 | +# |
47 | +# This program is distributed in the hope that it will be useful, |
48 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
49 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
50 | +# GNU Affero General Public License for more details. |
51 | +# |
52 | +# You should have received a copy of the GNU Affero General Public License |
53 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
54 | +# |
55 | +############################################################################## |
56 | +{ |
57 | + 'name': 'Canadian Check Writing', |
58 | + 'version': '1.0', |
59 | + 'author': 'Savoir-faire Linux', |
60 | + 'website': 'http://www.savoirfairelinux.com', |
61 | + 'category': 'Generic Modules/Accounting', |
62 | + 'description': """ |
63 | +Print checks in Canadian's format' |
64 | +================================== |
65 | + |
66 | +This module provides reports to print check using the canadian format from: |
67 | +http://www.cdnpay.ca/imis15/pdf/pdfs_rules/standard_006_fr.pdf |
68 | + |
69 | + """, |
70 | + 'depends': ['account_check_writing'], |
71 | + 'data': [ |
72 | + 'l10n_ca_account_check_writing_report.xml', |
73 | + ], |
74 | + 'demo': [], |
75 | + 'test': [], |
76 | + 'installable': True, |
77 | + 'active': False, |
78 | +} |
79 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
80 | |
81 | === added file 'l10n_ca_account_check_writing/account_voucher.py' |
82 | --- l10n_ca_account_check_writing/account_voucher.py 1970-01-01 00:00:00 +0000 |
83 | +++ l10n_ca_account_check_writing/account_voucher.py 2013-04-25 22:27:14 +0000 |
84 | @@ -0,0 +1,52 @@ |
85 | +# -*- coding: utf-8 -*- |
86 | +############################################################################## |
87 | +# |
88 | +# OpenERP, Open Source Management Solution |
89 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
90 | +# |
91 | +# This program is free software: you can redistribute it and/or modify |
92 | +# it under the terms of the GNU Affero General Public License as |
93 | +# published by the Free Software Foundation, either version 3 of the |
94 | +# License, or (at your option) any later version. |
95 | +# |
96 | +# This program is distributed in the hope that it will be useful, |
97 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
98 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
99 | +# GNU Affero General Public License for more details. |
100 | +# |
101 | +# You should have received a copy of the GNU Affero General Public License |
102 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
103 | +# |
104 | +############################################################################## |
105 | + |
106 | +from openerp.osv import orm, fields |
107 | + |
108 | + |
109 | +class account_voucher(orm.Model): |
110 | + _inherit = 'account.voucher' |
111 | + |
112 | + def print_check(self, cr, uid, ids, context=None): |
113 | + if not ids: |
114 | + return {} |
115 | + |
116 | + check_layout_report = { |
117 | + 'top': 'account.print.check.top', |
118 | + 'middle': 'account.print.check.middle', |
119 | + 'bottom': 'account.print.check.bottom', |
120 | + 'top_ca': 'l10n.ca.account.print.check.top', |
121 | + 'middle_ca': 'l10n.ca.account.print.check.middle', |
122 | + #'bottom_ca': 'l10n.ca.account.print.check.bottom', |
123 | + } |
124 | + |
125 | + check_layout = self.browse(cr, uid, ids[0], context=context).company_id.check_layout |
126 | + return { |
127 | + 'type': 'ir.actions.report.xml', |
128 | + 'report_name': check_layout_report[check_layout], |
129 | + 'datas': { |
130 | + 'model': 'account.voucher', |
131 | + 'id': ids and ids[0] or False, |
132 | + 'ids': ids and ids or [], |
133 | + 'report_type': 'pdf' |
134 | + }, |
135 | + 'nodestroy': True |
136 | + } |
137 | |
138 | === added file 'l10n_ca_account_check_writing/company.py' |
139 | --- l10n_ca_account_check_writing/company.py 1970-01-01 00:00:00 +0000 |
140 | +++ l10n_ca_account_check_writing/company.py 2013-04-25 22:27:14 +0000 |
141 | @@ -0,0 +1,39 @@ |
142 | +# -*- coding: utf-8 -*- |
143 | +############################################################################## |
144 | +# |
145 | +# OpenERP, Open Source Management Solution |
146 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
147 | +# |
148 | +# This program is free software: you can redistribute it and/or modify |
149 | +# it under the terms of the GNU Affero General Public License as |
150 | +# published by the Free Software Foundation, either version 3 of the |
151 | +# License, or (at your option) any later version. |
152 | +# |
153 | +# This program is distributed in the hope that it will be useful, |
154 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
155 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
156 | +# GNU Affero General Public License for more details. |
157 | +# |
158 | +# You should have received a copy of the GNU Affero General Public License |
159 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
160 | +# |
161 | +############################################################################## |
162 | + |
163 | +from openerp.osv import orm, fields |
164 | + |
165 | + |
166 | +class res_company(orm.Model): |
167 | + _inherit = 'res.company' |
168 | + |
169 | + _columns = { |
170 | + 'check_layout': fields.selection([ |
171 | + ('top', 'Check on Top'), |
172 | + ('middle', 'Check in middle'), |
173 | + ('bottom', 'Check on bottom'), |
174 | + ('top_ca', 'Check on top (CA)'), |
175 | + ('middle_ca', 'Check in middle (CA)'), |
176 | + ## ('bottom_ca', 'Check on bottom (CA)'), |
177 | + ], |
178 | + "Choose Check layout", |
179 | + ) |
180 | + } |
181 | |
182 | === added directory 'l10n_ca_account_check_writing/i18n' |
183 | === added file 'l10n_ca_account_check_writing/i18n/l10n_ca_account_check_writing.pot' |
184 | --- l10n_ca_account_check_writing/i18n/l10n_ca_account_check_writing.pot 1970-01-01 00:00:00 +0000 |
185 | +++ l10n_ca_account_check_writing/i18n/l10n_ca_account_check_writing.pot 2013-04-25 22:27:14 +0000 |
186 | @@ -0,0 +1,67 @@ |
187 | +# Translation of OpenERP Server. |
188 | +# This file contains the translation of the following modules: |
189 | +# * l10n_ca_account_check_writing |
190 | +# |
191 | +msgid "" |
192 | +msgstr "" |
193 | +"Project-Id-Version: OpenERP Server 6.1\n" |
194 | +"Report-Msgid-Bugs-To: \n" |
195 | +"POT-Creation-Date: 2013-04-23 20:44+0000\n" |
196 | +"PO-Revision-Date: 2013-04-23 20:44+0000\n" |
197 | +"Last-Translator: <>\n" |
198 | +"Language-Team: \n" |
199 | +"MIME-Version: 1.0\n" |
200 | +"Content-Type: text/plain; charset=UTF-8\n" |
201 | +"Content-Transfer-Encoding: \n" |
202 | +"Plural-Forms: \n" |
203 | + |
204 | +#. module: l10n_ca_account_check_writing |
205 | +#: report:l10n.ca.account.print.check.middle:0 |
206 | +msgid "Check Amount" |
207 | +msgstr "Check Amount" |
208 | + |
209 | +#. module: l10n_ca_account_check_writing |
210 | +#: report:l10n.ca.account.print.check.middle:0 |
211 | +msgid "Description" |
212 | +msgstr "Description" |
213 | + |
214 | +#. module: l10n_ca_account_check_writing |
215 | +#: report:l10n.ca.account.print.check.middle:0 |
216 | +msgid "Due Date" |
217 | +msgstr "Due Date" |
218 | + |
219 | +#. module: l10n_ca_account_check_writing |
220 | +#: model:ir.actions.report.xml,name:l10n_ca_account_check_writing.l10n_ca_account_print_check_middle |
221 | +msgid "Print Check (CA)" |
222 | +msgstr "Print Check (CA)" |
223 | + |
224 | +#. module: l10n_ca_account_check_writing |
225 | +#: report:l10n.ca.account.print.check.middle:0 |
226 | +msgid "Discount" |
227 | +msgstr "Discount" |
228 | + |
229 | +#. module: l10n_ca_account_check_writing |
230 | +#: report:l10n.ca.account.print.check.middle:0 |
231 | +msgid "Original Amount" |
232 | +msgstr "Original Amount" |
233 | + |
234 | +#. module: l10n_ca_account_check_writing |
235 | +#: report:l10n.ca.account.print.check.middle:0 |
236 | +msgid "Date" |
237 | +msgstr "Date" |
238 | + |
239 | +#. module: l10n_ca_account_check_writing |
240 | +#: report:l10n.ca.account.print.check.middle:0 |
241 | +msgid "Balance Due" |
242 | +msgstr "Balance Due" |
243 | + |
244 | +#. module: l10n_ca_account_check_writing |
245 | +#: report:l10n.ca.account.print.check.middle:0 |
246 | +msgid "Payment" |
247 | +msgstr "Payment" |
248 | + |
249 | +#. module: l10n_ca_account_check_writing |
250 | +#: report:l10n.ca.account.print.check.middle:0 |
251 | +msgid "$" |
252 | +msgstr "$" |
253 | + |
254 | |
255 | === added file 'l10n_ca_account_check_writing/l10n_ca_account_check_writing_report.xml' |
256 | --- l10n_ca_account_check_writing/l10n_ca_account_check_writing_report.xml 1970-01-01 00:00:00 +0000 |
257 | +++ l10n_ca_account_check_writing/l10n_ca_account_check_writing_report.xml 2013-04-25 22:27:14 +0000 |
258 | @@ -0,0 +1,29 @@ |
259 | +<?xml version="1.0"?> |
260 | +<openerp> |
261 | + <data> |
262 | + <report id="l10n_ca_account_print_check_top" |
263 | + string="Print Check CA (Top)" |
264 | + model="account.voucher" |
265 | + name="l10n.ca.account.print.check.top" |
266 | + rml="l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml" |
267 | + multi="True" |
268 | + auto="False"/> |
269 | + |
270 | + <report id="l10n_ca_account_print_check_middle" |
271 | + string="Print Check CA (Middle)" |
272 | + model="account.voucher" |
273 | + name="l10n.ca.account.print.check.middle" |
274 | + rml="l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml" |
275 | + multi="True" |
276 | + auto="False"/> |
277 | +<!-- |
278 | + <report id="l10n_ca_account_print_check_bottom" |
279 | + string="Print Check (CA)" |
280 | + model="account.voucher" |
281 | + name="l10n.ca.account.print.check.middle" |
282 | + rml="l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml" |
283 | + multi="True" |
284 | + auto="False"/> |
285 | +--> |
286 | + </data> |
287 | +</openerp> |
288 | |
289 | === added directory 'l10n_ca_account_check_writing/report' |
290 | === added file 'l10n_ca_account_check_writing/report/__init__.py' |
291 | --- l10n_ca_account_check_writing/report/__init__.py 1970-01-01 00:00:00 +0000 |
292 | +++ l10n_ca_account_check_writing/report/__init__.py 2013-04-25 22:27:14 +0000 |
293 | @@ -0,0 +1,25 @@ |
294 | +# -*- coding: utf-8 -*- |
295 | +############################################################################## |
296 | +# |
297 | +# OpenERP, Open Source Management Solution |
298 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
299 | +# |
300 | +# This program is free software: you can redistribute it and/or modify |
301 | +# it under the terms of the GNU Affero General Public License as |
302 | +# published by the Free Software Foundation, either version 3 of the |
303 | +# License, or (at your option) any later version. |
304 | +# |
305 | +# This program is distributed in the hope that it will be useful, |
306 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
307 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
308 | +# GNU Affero General Public License for more details. |
309 | +# |
310 | +# You should have received a copy of the GNU Affero General Public License |
311 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
312 | +# |
313 | +############################################################################## |
314 | + |
315 | +import l10n_ca_check_print |
316 | + |
317 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
318 | + |
319 | |
320 | === added file 'l10n_ca_account_check_writing/report/l10n_ca_check_print.py' |
321 | --- l10n_ca_account_check_writing/report/l10n_ca_check_print.py 1970-01-01 00:00:00 +0000 |
322 | +++ l10n_ca_account_check_writing/report/l10n_ca_check_print.py 2013-04-25 22:27:14 +0000 |
323 | @@ -0,0 +1,89 @@ |
324 | +# -*- coding: utf-8 -*- |
325 | +############################################################################## |
326 | +# |
327 | +# OpenERP, Open Source Management Solution |
328 | +# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). |
329 | +# |
330 | +# This program is free software: you can redistribute it and/or modify |
331 | +# it under the terms of the GNU Affero General Public License as |
332 | +# published by the Free Software Foundation, either version 3 of the |
333 | +# License, or (at your option) any later version. |
334 | +# |
335 | +# This program is distributed in the hope that it will be useful, |
336 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
337 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
338 | +# GNU Affero General Public License for more details. |
339 | +# |
340 | +# You should have received a copy of the GNU Affero General Public License |
341 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
342 | +# |
343 | +############################################################################## |
344 | + |
345 | +import time |
346 | +from openerp.report import report_sxw |
347 | +from openerp.tools import amount_to_text_en |
348 | + |
349 | +class report_print_check(report_sxw.rml_parse): |
350 | + |
351 | + def __init__(self, cr, uid, name, context): |
352 | + super(report_print_check, self).__init__(cr, uid, name, context) |
353 | + self.number_lines = 0 |
354 | + self.number_add = 0 |
355 | + self.localcontext.update({ |
356 | + 'time': time, |
357 | + 'get_lines': self.get_lines, |
358 | + 'fill_stars' : self.fill_stars, |
359 | + }) |
360 | + def fill_stars(self, amount): |
361 | + amount = amount.replace('Dollars','') |
362 | + if len(amount) < 100: |
363 | + stars = 100 - len(amount) |
364 | + return ' '.join([amount,'*'*stars]) |
365 | + |
366 | + else: return amount |
367 | + |
368 | + def get_lines(self, voucher_lines): |
369 | + result = [] |
370 | + self.number_lines = len(voucher_lines) |
371 | + for i in range(0, min(10,self.number_lines)): |
372 | + if i < self.number_lines: |
373 | + res = { |
374 | + 'date_due' : voucher_lines[i].date_due, |
375 | + 'name' : voucher_lines[i].name, |
376 | + 'amount_original' : voucher_lines[i].amount_original and voucher_lines[i].amount_original or False, |
377 | + 'amount_unreconciled' : voucher_lines[i].amount_unreconciled and voucher_lines[i].amount_unreconciled or False, |
378 | + 'amount' : voucher_lines[i].amount and voucher_lines[i].amount or False, |
379 | + } |
380 | + else : |
381 | + res = { |
382 | + 'date_due' : False, |
383 | + 'name' : False, |
384 | + 'amount_original' : False, |
385 | + 'amount_due' : False, |
386 | + 'amount' : False, |
387 | + } |
388 | + result.append(res) |
389 | + return result |
390 | + |
391 | +report_sxw.report_sxw( |
392 | + 'report.l10n.ca.account.print.check.top', |
393 | + 'account.voucher', |
394 | + 'addons/l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml', |
395 | + parser=report_print_check,header=False |
396 | +) |
397 | + |
398 | +report_sxw.report_sxw( |
399 | + 'report.l10n.ca.account.print.check.middle', |
400 | + 'account.voucher', |
401 | + 'addons/l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml', |
402 | + parser=report_print_check,header=False |
403 | +) |
404 | + |
405 | +#report_sxw.report_sxw( |
406 | +# 'report.l10n.ca.account.print.check.bottom', |
407 | +# 'account.voucher', |
408 | +# 'addons/l10n_ca_account_check_writing/report/l10n_ca_check_print_bottom.rml', |
409 | +# parser=report_print_check,header=False |
410 | +#) |
411 | + |
412 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
413 | |
414 | === added file 'l10n_ca_account_check_writing/report/l10n_ca_check_print.sxw' |
415 | Binary files l10n_ca_account_check_writing/report/l10n_ca_check_print.sxw 1970-01-01 00:00:00 +0000 and l10n_ca_account_check_writing/report/l10n_ca_check_print.sxw 2013-04-25 22:27:14 +0000 differ |
416 | === added file 'l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml' |
417 | --- l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml 1970-01-01 00:00:00 +0000 |
418 | +++ l10n_ca_account_check_writing/report/l10n_ca_check_print_middle.rml 2013-04-25 22:27:14 +0000 |
419 | @@ -0,0 +1,342 @@ |
420 | +<?xml version="1.0"?> |
421 | +<document filename="test.pdf"> |
422 | + <template pageSize="(595, 842)" title="Test" author="Martin Simon" allowSplitting="20"> |
423 | + <!-- Letter 612.0, 792.0 A4 595, 842 --> |
424 | + <pageTemplate id="first"> |
425 | + <frame id="first" x1="13.0" y1="0.0" width="567" height="785"/> |
426 | + </pageTemplate> |
427 | + </template> |
428 | + <stylesheet> |
429 | + <blockTableStyle id="Standard_Outline"> |
430 | + <blockAlignment value="LEFT"/> |
431 | + <blockValign value="TOP"/> |
432 | + </blockTableStyle> |
433 | + <blockTableStyle id="Table1"> |
434 | + <blockAlignment value="LEFT"/> |
435 | + <blockValign value="TOP"/> |
436 | + </blockTableStyle> |
437 | + <blockTableStyle id="Table4"> |
438 | + <blockAlignment value="LEFT"/> |
439 | + <blockValign value="TOP"/> |
440 | + </blockTableStyle> |
441 | + <blockTableStyle id="Table5"> |
442 | + <blockAlignment value="LEFT"/> |
443 | + <blockValign value="TOP"/> |
444 | + </blockTableStyle> |
445 | + <blockTableStyle id="Table12"> |
446 | + <blockAlignment value="LEFT"/> |
447 | + <blockValign value="TOP"/> |
448 | + </blockTableStyle> |
449 | + <blockTableStyle id="Table2"> |
450 | + <blockAlignment value="LEFT"/> |
451 | + <blockValign value="TOP"/> |
452 | + </blockTableStyle> |
453 | + <blockTableStyle id="Table6"> |
454 | + <blockAlignment value="LEFT"/> |
455 | + <blockValign value="TOP"/> |
456 | + </blockTableStyle> |
457 | + <blockTableStyle id="Table10"> |
458 | + <blockAlignment value="LEFT"/> |
459 | + <blockValign value="TOP"/> |
460 | + </blockTableStyle> |
461 | + <blockTableStyle id="Table11"> |
462 | + <blockAlignment value="LEFT"/> |
463 | + <blockValign value="TOP"/> |
464 | + </blockTableStyle> |
465 | + <blockTableStyle id="Table3"> |
466 | + <blockAlignment value="LEFT"/> |
467 | + <blockValign value="TOP"/> |
468 | + </blockTableStyle> |
469 | + <blockTableStyle id="Table7"> |
470 | + <blockAlignment value="LEFT"/> |
471 | + <blockValign value="TOP"/> |
472 | + </blockTableStyle> |
473 | + <blockTableStyle id="Table8"> |
474 | + <blockAlignment value="LEFT"/> |
475 | + <blockValign value="TOP"/> |
476 | + </blockTableStyle> |
477 | + <blockTableStyle id="Table9"> |
478 | + <blockAlignment value="LEFT"/> |
479 | + <blockValign value="TOP"/> |
480 | + </blockTableStyle> |
481 | + <initialize> |
482 | + <paraStyle name="all" alignment="justify"/> |
483 | + </initialize> |
484 | + <paraStyle name="P1" rightIndent="-1.0" leftIndent="0.0" fontName="Helvetica"/> |
485 | + <paraStyle name="P2" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica"/> |
486 | + <paraStyle name="P3" fontName="Helvetica"/> |
487 | + <paraStyle name="P4" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT"/> |
488 | + <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/> |
489 | + <paraStyle name="P6" fontName="Helvetica-Bold" fontSize="9.0" leading="11"/> |
490 | + <paraStyle name="P7" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/> |
491 | + <paraStyle name="P8" fontName="Helvetica" fontSize="9.0" leading="11"/> |
492 | + <paraStyle name="P9" fontName="Helvetica" fontSize="10.0" leading="13"/> |
493 | + <paraStyle name="P10" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/> |
494 | + <paraStyle name="P11" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="LEFT"/> |
495 | + <paraStyle name="P12" fontName="Helvetica" fontSize="12.0" leading="15"/> |
496 | + <paraStyle name="P13" fontName="Helvetica"/> |
497 | + <paraStyle name="P14" fontName="Helvetica" fontSize="10.0" leading="13"/> |
498 | + <paraStyle name="P15" fontName="Helvetica" fontSize="10.0" leading="13"/> |
499 | + <paraStyle name="P16" fontName="Helvetica-Bold" fontSize="9.0" leading="11"/> |
500 | + <paraStyle name="P17" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/> |
501 | + <paraStyle name="P18" fontName="Helvetica" fontSize="9.0" leading="11"/> |
502 | + <paraStyle name="P19" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT"/> |
503 | + <paraStyle name="P20" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/> |
504 | + <paraStyle name="P21" fontName="Helvetica" fontSize="8.0" leading="10"/> |
505 | + <paraStyle name="P22" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/> |
506 | + <paraStyle name="P23" fontName="Helvetica-Bold" fontSize="8.0" leading="10"/> |
507 | + <paraStyle name="P24" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT"/> |
508 | + <paraStyle name="P25" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"/> |
509 | + <paraStyle name="Standard" fontName="Helvetica"/> |
510 | + <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/> |
511 | + <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
512 | + <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
513 | + <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/> |
514 | + <paraStyle name="Index" fontName="Helvetica"/> |
515 | + <paraStyle name="Table Contents" fontName="Helvetica"/> |
516 | + <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/> |
517 | + <images/> |
518 | + </stylesheet> |
519 | + <story> |
520 | + <para style="P1">[[repeatIn(objects,'voucher')]]</para> |
521 | + <blockTable colWidths="568.0" style="Table2" rowHeights="280"> |
522 | + <tr> |
523 | + <td> |
524 | + <blockTable colWidths="485.0,67.0" style="Table6"> |
525 | + <tr> |
526 | + <td> |
527 | + <para style="P16"></para> |
528 | + </td> |
529 | + <td> |
530 | + <para style="P14">[[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
531 | + </td> |
532 | + </tr> |
533 | + <tr> |
534 | + <td> |
535 | + <para style="P16">[[voucher.partner_id.name]]</para> |
536 | + </td> |
537 | + <td> |
538 | + <para style="P16">[[ formatLang(voucher.date , date=True) or '' ]]</para> |
539 | + </td> |
540 | + </tr> |
541 | + </blockTable> |
542 | + <blockTable colWidths="81.0,186.0,83.0,81.0,54.0,78.0" style="Table10"> |
543 | + <tr> |
544 | + <td> |
545 | + <para style="P4">Due Date</para> |
546 | + </td> |
547 | + <td> |
548 | + <para style="P4">Description</para> |
549 | + </td> |
550 | + <td> |
551 | + <para style="P4">Original Amount</para> |
552 | + </td> |
553 | + <td> |
554 | + <para style="P4">Balance Due</para> |
555 | + </td> |
556 | + <td> |
557 | + <para style="P4">Discount</para> |
558 | + </td> |
559 | + <td> |
560 | + <para style="P4">Payment</para> |
561 | + </td> |
562 | + </tr> |
563 | + <tr> |
564 | + <td> |
565 | + <para style="P19">[[ repeatIn(get_lines(voucher.line_dr_ids),'l') ]] [[ formatLang(l['date_original'] ,date=True) or '' ]]</para> |
566 | + </td> |
567 | + <td> |
568 | + <para style="P19">[[ l['name'] ]]</para> |
569 | + </td> |
570 | + <td> |
571 | + <para style="P19">[[formatLang( l['amount_original']) ]]</para> |
572 | + </td> |
573 | + <td> |
574 | + <para style="P19">[[ formatLang( l['amount_due']) ]]</para> |
575 | + </td> |
576 | + <td> |
577 | + <para style="P19"> |
578 | + <font color="white"> </font> |
579 | + </para> |
580 | + </td> |
581 | + <td> |
582 | + <para style="P19">[[ formatLang (l['amount']) ]]</para> |
583 | + </td> |
584 | + </tr> |
585 | + </blockTable> |
586 | + |
587 | + <blockTable colWidths="485.0,77.0" style="Table11"> |
588 | + <tr> |
589 | + <td> |
590 | + <para style="P24">Check Amount</para> |
591 | + </td> |
592 | + <td> |
593 | + <para style="P23">[[ formatLang (voucher.amount) ]]</para> |
594 | + </td> |
595 | + </tr> |
596 | + </blockTable> |
597 | + |
598 | + <blockTable colWidths="485.0,77.0" rowHeights="148.0,50.0" style="Table11"> |
599 | + <tr> |
600 | + <td> </td> |
601 | + <td> </td> |
602 | + </tr> |
603 | + <tr> |
604 | + <td> </td> |
605 | + <td> |
606 | + <para style="P14">[[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
607 | + </td> |
608 | + </tr> |
609 | + </blockTable> |
610 | + </td> |
611 | + </tr> |
612 | + </blockTable> |
613 | + |
614 | + <blockTable colWidths="400.0,50.0" rowHeights="29.3" style="Table5"> |
615 | + <tr> |
616 | + <td> |
617 | + <para style="P25">Date</para> |
618 | + </td> |
619 | + <td> |
620 | + <para style="P9">[[ formatLang(voucher.date , date=True) or '' ]]</para> |
621 | + </td> |
622 | + </tr> |
623 | + </blockTable> |
624 | + |
625 | + <blockTable colWidths="30.0,538.0" rowHeights="15.0" style="Table5"> |
626 | + <tr> |
627 | + <td> |
628 | + <para style="P3"><font color="white"> </font></para> |
629 | + </td> |
630 | + <td> |
631 | + <para style="P26">[[ str(fill_stars(voucher.amount_in_word)) ]]</para> |
632 | + </td> |
633 | + </tr> |
634 | + </blockTable> |
635 | + |
636 | + <blockTable colWidths="568.0" style="Table1"> |
637 | + <tr> |
638 | + <td> |
639 | + <blockTable colWidths="30.0,420.0,50.0" rowHeights="22.8,130.0" style="Table12"> |
640 | + <tr> |
641 | + <td> |
642 | + <para style="P3"><font color="white"> </font></para> |
643 | + </td> |
644 | + <td> |
645 | + <para style="P3"><font color="white"> </font></para> |
646 | + </td> |
647 | + <td> |
648 | + <para style="P9">[[ formatLang(voucher.amount) ]]</para> |
649 | + </td> |
650 | + </tr> |
651 | + <tr> |
652 | + <td> |
653 | + <para style="P3"><font color="white"> </font></para> |
654 | + </td> |
655 | + <td> |
656 | + <para style="P15">[[ voucher.partner_id.name ]]</para> |
657 | + <para style="P15">[[ display_address(voucher.partner_id) or removeParentNode('para') ]]</para> |
658 | + </td> |
659 | + <td> |
660 | + <para style="P3"><font color="white"> </font></para> |
661 | + </td> |
662 | + </tr> |
663 | + </blockTable> |
664 | + <blockTable colWidths="25.0,500" rowHeights="15.0" style="Table12"> |
665 | + <tr> |
666 | + <td> |
667 | + <para style="P3"><font color="white"> </font></para> |
668 | + </td> |
669 | + <td> |
670 | + <para style="P3"><font color="white"> </font></para> |
671 | + <!--para style="P15">[[ voucher.name ]]</para--> |
672 | + </td> |
673 | + </tr> |
674 | + </blockTable> |
675 | + <para style="P3"> |
676 | + <font color="white"> </font> |
677 | + </para> |
678 | + </td> |
679 | + </tr> |
680 | + </blockTable> |
681 | + <blockTable colWidths="568.0" style="Table3"> |
682 | + <tr> |
683 | + <td> |
684 | + <blockTable colWidths="436.0,76.0,20.0" style="Table7"> |
685 | + <tr> |
686 | + <td> |
687 | + <para style="P16">[[voucher.partner_id.name]]</para> |
688 | + </td> |
689 | + <td> |
690 | + <para style="P16">[[ formatLang(voucher.date , date=True) or '' ]]</para> |
691 | + </td> |
692 | + <td> |
693 | + <para style="P14">[[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
694 | + </td> |
695 | + </tr> |
696 | + </blockTable> |
697 | + <blockTable colWidths="82.0,185.0,89.0,76.0,52.0,78.0" style="Table8"> |
698 | + <tr> |
699 | + <td> |
700 | + <para style="P4">Due Date</para> |
701 | + </td> |
702 | + <td> |
703 | + <para style="P4">Description</para> |
704 | + </td> |
705 | + <td> |
706 | + <para style="P4">Original Amount</para> |
707 | + </td> |
708 | + <td> |
709 | + <para style="P4">Balance Due</para> |
710 | + </td> |
711 | + <td> |
712 | + <para style="P4">Discount</para> |
713 | + </td> |
714 | + <td> |
715 | + <para style="P4">Payment</para> |
716 | + </td> |
717 | + </tr> |
718 | + <tr> |
719 | + <td> |
720 | + <para style="P19">[[ repeatIn(get_lines(voucher.line_dr_ids),'l') ]] [[ formatLang(l['date_original'] ,date=True) or '' ]]</para> |
721 | + </td> |
722 | + <td> |
723 | + <para style="P19">[[ l['name'] ]]</para> |
724 | + </td> |
725 | + <td> |
726 | + <para style="P19">[[ formatLang (l['amount_original']) ]]</para> |
727 | + </td> |
728 | + <td> |
729 | + <para style="P19">[[ formatLang (l['amount_due']) ]]</para> |
730 | + </td> |
731 | + <td> |
732 | + <para style="P19"> |
733 | + <font color="white"> </font> |
734 | + </para> |
735 | + </td> |
736 | + <td> |
737 | + <para style="P19">[[ formatLang (l['amount']) ]]</para> |
738 | + </td> |
739 | + </tr> |
740 | + </blockTable> |
741 | + <blockTable colWidths="485.0,77.0" style="Table9"> |
742 | + <tr> |
743 | + <td> |
744 | + <para style="P24">Check Amount</para> |
745 | + </td> |
746 | + <td> |
747 | + <para style="P23">[[ formatLang (voucher.amount) ]]</para> |
748 | + </td> |
749 | + </tr> |
750 | + </blockTable> |
751 | + <para style="P3"> |
752 | + <font color="white"> </font> |
753 | + </para> |
754 | + </td> |
755 | + </tr> |
756 | + </blockTable> |
757 | + <para style="P2"> |
758 | + <font color="white"> </font> |
759 | + </para> |
760 | + </story> |
761 | +</document> |
762 | |
763 | === added file 'l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml' |
764 | --- l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml 1970-01-01 00:00:00 +0000 |
765 | +++ l10n_ca_account_check_writing/report/l10n_ca_check_print_top.rml 2013-04-25 22:27:14 +0000 |
766 | @@ -0,0 +1,338 @@ |
767 | +<?xml version="1.0"?> |
768 | +<document filename="test.pdf"> |
769 | + <template pageSize="(595, 842)" title="Test" author="Martin Simon" allowSplitting="20"> |
770 | + <pageTemplate id="first"> |
771 | + <frame id="first" x1="13.0" y1="0.0" width="567" height="841"/> |
772 | + </pageTemplate> |
773 | + </template> |
774 | + <stylesheet> |
775 | + <blockTableStyle id="Standard_Outline"> |
776 | + <blockAlignment value="LEFT"/> |
777 | + <blockValign value="TOP"/> |
778 | + </blockTableStyle> |
779 | + <blockTableStyle id="Table1"> |
780 | + <blockAlignment value="LEFT"/> |
781 | + <blockValign value="TOP"/> |
782 | + </blockTableStyle> |
783 | + <blockTableStyle id="Table4"> |
784 | + <blockAlignment value="LEFT"/> |
785 | + <blockValign value="TOP"/> |
786 | + </blockTableStyle> |
787 | + <blockTableStyle id="Table5"> |
788 | + <blockAlignment value="LEFT"/> |
789 | + <blockValign value="TOP"/> |
790 | + </blockTableStyle> |
791 | + <blockTableStyle id="Table12"> |
792 | + <blockAlignment value="LEFT"/> |
793 | + <blockValign value="TOP"/> |
794 | + </blockTableStyle> |
795 | + <blockTableStyle id="Table2"> |
796 | + <blockAlignment value="LEFT"/> |
797 | + <blockValign value="TOP"/> |
798 | + </blockTableStyle> |
799 | + <blockTableStyle id="Table6"> |
800 | + <blockAlignment value="LEFT"/> |
801 | + <blockValign value="TOP"/> |
802 | + </blockTableStyle> |
803 | + <blockTableStyle id="Table10"> |
804 | + <blockAlignment value="LEFT"/> |
805 | + <blockValign value="TOP"/> |
806 | + </blockTableStyle> |
807 | + <blockTableStyle id="Table11"> |
808 | + <blockAlignment value="LEFT"/> |
809 | + <blockValign value="TOP"/> |
810 | + </blockTableStyle> |
811 | + <blockTableStyle id="Table3"> |
812 | + <blockAlignment value="LEFT"/> |
813 | + <blockValign value="TOP"/> |
814 | + </blockTableStyle> |
815 | + <blockTableStyle id="Table7"> |
816 | + <blockAlignment value="LEFT"/> |
817 | + <blockValign value="TOP"/> |
818 | + </blockTableStyle> |
819 | + <blockTableStyle id="Table8"> |
820 | + <blockAlignment value="LEFT"/> |
821 | + <blockValign value="TOP"/> |
822 | + </blockTableStyle> |
823 | + <blockTableStyle id="Table9"> |
824 | + <blockAlignment value="LEFT"/> |
825 | + <blockValign value="TOP"/> |
826 | + </blockTableStyle> |
827 | + <initialize> |
828 | + <paraStyle name="all" alignment="justify"/> |
829 | + </initialize> |
830 | + <paraStyle name="P1" rightIndent="-1.0" leftIndent="0.0" fontName="Helvetica"/> |
831 | + <paraStyle name="P2" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica"/> |
832 | + <paraStyle name="P3" fontName="Helvetica"/> |
833 | + <paraStyle name="P4" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT"/> |
834 | + <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/> |
835 | + <paraStyle name="P6" fontName="Helvetica-Bold" fontSize="9.0" leading="11"/> |
836 | + <paraStyle name="P7" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/> |
837 | + <paraStyle name="P8" fontName="Helvetica" fontSize="9.0" leading="11"/> |
838 | + <paraStyle name="P9" fontName="Helvetica" fontSize="10.0" leading="13"/> |
839 | + <paraStyle name="P10" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT"/> |
840 | + <paraStyle name="P11" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="LEFT"/> |
841 | + <paraStyle name="P12" fontName="Helvetica" fontSize="12.0" leading="15"/> |
842 | + <paraStyle name="P13" fontName="Helvetica"/> |
843 | + <paraStyle name="P14" fontName="Helvetica" fontSize="10.0" leading="13"/> |
844 | + <paraStyle name="P15" fontName="Helvetica" fontSize="10.0" leading="13"/> |
845 | + <paraStyle name="P16" fontName="Helvetica-Bold" fontSize="9.0" leading="11"/> |
846 | + <paraStyle name="P17" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/> |
847 | + <paraStyle name="P18" fontName="Helvetica" fontSize="9.0" leading="11"/> |
848 | + <paraStyle name="P19" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT"/> |
849 | + <paraStyle name="P20" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/> |
850 | + <paraStyle name="P21" fontName="Helvetica" fontSize="8.0" leading="10"/> |
851 | + <paraStyle name="P22" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/> |
852 | + <paraStyle name="P23" fontName="Helvetica-Bold" fontSize="8.0" leading="10"/> |
853 | + <paraStyle name="P24" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT"/> |
854 | + <paraStyle name="Standard" fontName="Helvetica"/> |
855 | + <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/> |
856 | + <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
857 | + <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> |
858 | + <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/> |
859 | + <paraStyle name="Index" fontName="Helvetica"/> |
860 | + <paraStyle name="Table Contents" fontName="Helvetica"/> |
861 | + <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/> |
862 | + <images/> |
863 | + </stylesheet> |
864 | + <story> |
865 | + <para style="P1">[[repeatIn(objects,'voucher')]]</para> |
866 | + <blockTable colWidths="568.0" style="Table1"> |
867 | + <tr> |
868 | + <td> |
869 | + <blockTable colWidths="425.0,177.0" rowHeights="107.50,25.5" style="Table4"> |
870 | + <tr> |
871 | + <td> |
872 | + <para style="P6"> |
873 | + <font color="white"> </font> |
874 | + </para> |
875 | + </td> |
876 | + <td> |
877 | + <para style="P6"> |
878 | + <font color="white"> </font> |
879 | + </para> |
880 | + </td> |
881 | + </tr> |
882 | + <tr> |
883 | + <td> |
884 | + <para style="P6"> |
885 | + <font color="white"> </font> |
886 | + </para> |
887 | + </td> |
888 | + <td> |
889 | + <para style="P9">[[ formatLang(voucher.date , date=True) or '' ]] [[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
890 | + </td> |
891 | + </tr> |
892 | + </blockTable> |
893 | + <blockTable colWidths="54.0,425.0,85.0" rowHeights="21.5" style="Table4"> |
894 | + <tr> |
895 | + <td> |
896 | + <para style="P6"> |
897 | + <font color="white"> </font> |
898 | + </para> |
899 | + </td> |
900 | + <td> |
901 | + <para style="P9">[[ voucher.partner_id.name ]] </para> |
902 | + </td> |
903 | + <td> |
904 | + <para style="P12">[[ formatLang (voucher.amount) ]]</para> |
905 | + </td> |
906 | + </tr> |
907 | + </blockTable> |
908 | + <blockTable colWidths="550.0" rowHeights="18" style="Table5"> |
909 | + <tr> |
910 | + <td> |
911 | + <para style="P9">[[ fill_stars(voucher.amount_in_word) ]]</para> |
912 | + </td> |
913 | + </tr> |
914 | + </blockTable> |
915 | + <blockTable colWidths="54.0,425.0,85.0" rowHeights="45.5" style="Table4"> |
916 | + <tr> |
917 | + <td> |
918 | + <para style="P6"></para> |
919 | + </td> |
920 | + <td> |
921 | + <para style="P9">[[ voucher.partner_id.name ]] </para> |
922 | + <para style="P15">[[ voucher.partner_id.address and voucher.partner_id.address[0] and voucher.partner_id.address[0].street2 or removeParentNode('para') ]]</para> |
923 | + <para style="P15">[[ get_zip_line(voucher.partner_id.address[0]) ]] </para> |
924 | + <para style="P15">[[ voucher.partner_id.address[0].country_id.name]]</para> |
925 | + </td> |
926 | + <td> |
927 | + <para/> |
928 | + </td> |
929 | + </tr> |
930 | + </blockTable> |
931 | + <blockTable colWidths="25.0,350,150" rowHeights="10.5" style="Table12"> |
932 | + <tr> |
933 | + <td> |
934 | + <para style="P3"> |
935 | + <font color="white"> </font> |
936 | + </para> |
937 | + </td> |
938 | + <td> |
939 | + <para style="P15">[[ voucher.name ]]</para> |
940 | + </td> |
941 | + <td> |
942 | + <para style="P3"> |
943 | + <font color="white"> </font> |
944 | + </para> |
945 | + </td> |
946 | + </tr> |
947 | + </blockTable> |
948 | + <para style="P3"> |
949 | + <font color="white"> </font> |
950 | + </para> |
951 | + </td> |
952 | + </tr> |
953 | + </blockTable> |
954 | + <blockTable colWidths="568.0" style="Table2" rowHeights="255"> |
955 | + <tr> |
956 | + <td> |
957 | + <blockTable colWidths="445.0,117.0" style="Table6"> |
958 | + <tr> |
959 | + <td> |
960 | + <para style="P16">[[voucher.partner_id.name]]</para> |
961 | + </td> |
962 | + <td> |
963 | + <para style="P16">[[ formatLang(voucher.date , date=True) or '' ]] [[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
964 | + </td> |
965 | + </tr> |
966 | + </blockTable> |
967 | + <blockTable colWidths="82.0,185.0,89.0,76.0,52.0,78.0" style="Table10"> |
968 | + <tr> |
969 | + <td> |
970 | + <para style="P4">Due Date</para> |
971 | + </td> |
972 | + <td> |
973 | + <para style="P4">Description</para> |
974 | + </td> |
975 | + <td> |
976 | + <para style="P4">Original Amount</para> |
977 | + </td> |
978 | + <td> |
979 | + <para style="P4">Open Balance</para> |
980 | + </td> |
981 | + <td> |
982 | + <para style="P4">Discount</para> |
983 | + </td> |
984 | + <td> |
985 | + <para style="P4">Payment</para> |
986 | + </td> |
987 | + </tr> |
988 | + <tr> |
989 | + <td> |
990 | + <para style="P19">[[ repeatIn(get_lines(voucher.line_dr_ids),'l') ]] [[ formatLang(l['date_due'] ,date=True) or '' ]]</para> |
991 | + </td> |
992 | + <td> |
993 | + <para style="P19">[[ l['name'] ]]</para> |
994 | + </td> |
995 | + <td> |
996 | + <para style="P19">[[formatLang( l['amount_original']) ]]</para> |
997 | + </td> |
998 | + <td> |
999 | + <para style="P19">[[ formatLang( l['amount_unreconciled']) ]]</para> |
1000 | + </td> |
1001 | + <td> |
1002 | + <para style="P19"> |
1003 | + <font color="white"> </font> |
1004 | + </para> |
1005 | + </td> |
1006 | + <td> |
1007 | + <para style="P19">[[ formatLang (l['amount']) ]]</para> |
1008 | + </td> |
1009 | + </tr> |
1010 | + </blockTable> |
1011 | + <blockTable colWidths="485.0,77.0" style="Table11"> |
1012 | + <tr> |
1013 | + <td> |
1014 | + <para style="P24">Check Amount</para> |
1015 | + </td> |
1016 | + <td> |
1017 | + <para style="P23">[[ formatLang (voucher.amount) ]]</para> |
1018 | + </td> |
1019 | + </tr> |
1020 | + </blockTable> |
1021 | + <para style="P3"> |
1022 | + <font color="white"> </font> |
1023 | + </para> |
1024 | + </td> |
1025 | + </tr> |
1026 | + </blockTable> |
1027 | + <blockTable colWidths="568.0" style="Table3"> |
1028 | + <tr> |
1029 | + <td> |
1030 | + <blockTable colWidths="446.0,116.0" style="Table7"> |
1031 | + <tr> |
1032 | + <td> |
1033 | + <para style="P16">[[voucher.partner_id.name]]</para> |
1034 | + </td> |
1035 | + <td> |
1036 | + <para style="P16">[[ formatLang(voucher.date , date=True) or '' ]] [[ voucher.journal_id.use_preprint_check and voucher.chk_seq or '' ]]</para> |
1037 | + </td> |
1038 | + </tr> |
1039 | + </blockTable> |
1040 | + <blockTable colWidths="82.0,185.0,89.0,76.0,52.0,78.0" style="Table8"> |
1041 | + <tr> |
1042 | + <td> |
1043 | + <para style="P4">Due Date</para> |
1044 | + </td> |
1045 | + <td> |
1046 | + <para style="P4">Description</para> |
1047 | + </td> |
1048 | + <td> |
1049 | + <para style="P4">Original Amount</para> |
1050 | + </td> |
1051 | + <td> |
1052 | + <para style="P4">Open Balance</para> |
1053 | + </td> |
1054 | + <td> |
1055 | + <para style="P4">Discount</para> |
1056 | + </td> |
1057 | + <td> |
1058 | + <para style="P4">Payment</para> |
1059 | + </td> |
1060 | + </tr> |
1061 | + <tr> |
1062 | + <td> |
1063 | + <para style="P19">[[ repeatIn(get_lines(voucher.line_dr_ids),'l') ]] [[ formatLang(l['date_due'] ,date=True) or '' ]]</para> |
1064 | + </td> |
1065 | + <td> |
1066 | + <para style="P19">[[ l['name'] ]]</para> |
1067 | + </td> |
1068 | + <td> |
1069 | + <para style="P19">[[ formatLang (l['amount_original']) ]]</para> |
1070 | + </td> |
1071 | + <td> |
1072 | + <para style="P19">[[ formatLang (l['amount_unreconciled']) ]]</para> |
1073 | + </td> |
1074 | + <td> |
1075 | + <para style="P19"> |
1076 | + <font color="white"> </font> |
1077 | + </para> |
1078 | + </td> |
1079 | + <td> |
1080 | + <para style="P19">[[ formatLang (l['amount']) ]]</para> |
1081 | + </td> |
1082 | + </tr> |
1083 | + </blockTable> |
1084 | + <blockTable colWidths="485.0,77.0" style="Table9"> |
1085 | + <tr> |
1086 | + <td> |
1087 | + <para style="P17">Check Amount</para> |
1088 | + </td> |
1089 | + <td> |
1090 | + <para style="P16">[[ formatLang (voucher.amount) ]]</para> |
1091 | + </td> |
1092 | + </tr> |
1093 | + </blockTable> |
1094 | + <para style="P3"> |
1095 | + <font color="white"> </font> |
1096 | + </para> |
1097 | + </td> |
1098 | + </tr> |
1099 | + </blockTable> |
1100 | + <para style="P2"> |
1101 | + <font color="white"> </font> |
1102 | + </para> |
1103 | + </story> |
1104 | +</document> |
1105 | |
1106 | === added directory 'l10n_ca_account_check_writing/static' |
1107 | === added directory 'l10n_ca_account_check_writing/static/src' |
1108 | === added directory 'l10n_ca_account_check_writing/static/src/img' |
1109 | === added file 'l10n_ca_account_check_writing/static/src/img/icon.png' |
1110 | Binary files l10n_ca_account_check_writing/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_ca_account_check_writing/static/src/img/icon.png 2013-04-25 22:27:14 +0000 differ |
hi guys !
if someone have any idea , how to make OPENERP V7 work with 3 digit to
compute .
when i try to do a bank statement , he still validate with 2 digit ,
exemple :
Starting Balance DTEnding Balance DT is not true , and he accept :
Starting Balance DTEnding Balance DT
this like true.
2013/4/25 <email address hidden>
> The proposal to merge /code.launchpad .net/~openerp- community/ openerp- canada/ 7.0-l10n_ ca_account_ check_writing/ +merge/ 161033 /code.launchpad .net/~openerp- community/ openerp- canada/ 7.0-l10n_ ca_account_ check_writing/ +merge/ 161033 _______ _______ _______ _______ _______ _____ /launchpad. net/~openerp- community /launchpad. net/~openerp- community /help.launchpad .net/ListHelp
> lp:~openerp-community/openerp-canada/7.0-l10n_ca_account_check_writing into
> lp:openerp-canada has been updated.
>
> Status: Needs review => Merged
>
> For more details, see:
>
> https:/
> --
>
> https:/
> Your team OpenERP Community is subscribed to branch
> lp:~openerp-community/openerp-canada/7.0-l10n_ca_account_check_writing.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>