Merge lp:~openerp-dev/openobject-addons/6.1-opw-577185-jap into lp:openobject-addons/6.1

Proposed by Jagdish Panchal (Open ERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6938
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577185-jap
Merge into: lp:openobject-addons/6.1
Diff against target: 651 lines (+60/-60)
20 files modified
account/report/account_print_overdue.rml (+1/-1)
account_invoice_layout/report/report_account_invoice_layout.py (+1/-1)
account_invoice_layout/report/report_account_invoice_layout.rml (+6/-6)
account_invoice_layout/report/special_message_invoice.py (+1/-1)
account_invoice_layout/report/special_message_invoice.rml (+6/-6)
base_report_designer/plugin/openerp_report_designer/bin/script/ConvertBracesToField.py (+1/-1)
hr_expense/report/expense.rml (+2/-2)
hr_payroll/report/report_contribution_register.rml (+2/-2)
hr_payroll/report/report_payslip.rml (+1/-1)
hr_payroll/report/report_payslip_details.rml (+2/-2)
mrp_repair/report/order.rml (+5/-5)
point_of_sale/report/account_statement.rml (+4/-4)
point_of_sale/report/all_closed_cashbox_of_the_day.rml (+5/-5)
point_of_sale/report/pos_details.rml (+8/-8)
point_of_sale/report/pos_payment_report_user.rml (+2/-2)
point_of_sale/report/pos_users_product.rml (+2/-2)
sale_layout/report/report_sale_layout.py (+1/-1)
sale_layout/report/report_sale_layout.rml (+4/-4)
stock/report/lot_overview.rml (+3/-3)
stock/report/lot_overview_all.rml (+3/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577185-jap
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+118085@code.launchpad.net

Description of the change

Hello,

[FIX] improve the code in sxw files_Passed the code of printing symbol in formatLang() method

I have changed the code in sxw files for printing symbol and passed the code in formatLang() function, because while using the option "Conversion Braces---> Field" in OpenOffice the report removes the spaces between the amount and symbol.

Stpes:
1). Open "Invoices" report in OpenOffice
2). Click on "Conversion Braces---> Fields", and click on send to server
3). Now print the report you will see the spaces are remove from field "Price, Total, Tax an Net Total"

Thanks,
JAP

To post a comment you must log in.
6931. By Olivier Dony (Odoo)

[MERGE] project.issue: actually use the Reply-To address of the project when sending out messages

6932. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6933. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6934. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6935. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6936. By Xavier ALT

[MERGE] OPW 576898: stock: when changing stock.move product lot, do not crash if user didn't fill the product field

6937. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6938. By Amit Dodiya<email address hidden>

[FIX] (1) base report designer plugin removes the space from two attached string in report while using the option Conversion_Braces_to_fields (2) Improve the code in sxw files_Passed the code of printing symbol in formatLang() method

Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Confirmed(partially) on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577185-port-dhr/+merge/139390 and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6938. By Amit Dodiya<email address hidden>

[FIX] (1) base report designer plugin removes the space from two attached string in report while using the option Conversion_Braces_to_fields (2) Improve the code in sxw files_Passed the code of printing symbol in formatLang() method

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/report/account_aged_partner_balance.sxw'
0Binary files account/report/account_aged_partner_balance.sxw 2011-02-07 09:06:40 +0000 and account/report/account_aged_partner_balance.sxw 2012-08-09 09:37:21 +0000 differ0Binary files account/report/account_aged_partner_balance.sxw 2011-02-07 09:06:40 +0000 and account/report/account_aged_partner_balance.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_balance.sxw'
1Binary files account/report/account_balance.sxw 2011-10-27 21:11:24 +0000 and account/report/account_balance.sxw 2012-08-09 09:37:21 +0000 differ1Binary files account/report/account_balance.sxw 2011-10-27 21:11:24 +0000 and account/report/account_balance.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_general_ledger.sxw'
2Binary files account/report/account_general_ledger.sxw 2011-10-27 21:11:24 +0000 and account/report/account_general_ledger.sxw 2012-08-09 09:37:21 +0000 differ2Binary files account/report/account_general_ledger.sxw 2011-10-27 21:11:24 +0000 and account/report/account_general_ledger.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_general_ledger_landscape.sxw'
3Binary files account/report/account_general_ledger_landscape.sxw 2011-10-27 21:11:24 +0000 and account/report/account_general_ledger_landscape.sxw 2012-08-09 09:37:21 +0000 differ3Binary files account/report/account_general_ledger_landscape.sxw 2011-10-27 21:11:24 +0000 and account/report/account_general_ledger_landscape.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_partner_ledger.sxw'
4Binary files account/report/account_partner_ledger.sxw 2011-10-27 21:11:24 +0000 and account/report/account_partner_ledger.sxw 2012-08-09 09:37:21 +0000 differ4Binary files account/report/account_partner_ledger.sxw 2011-10-27 21:11:24 +0000 and account/report/account_partner_ledger.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_partner_ledger_other.sxw'
5Binary files account/report/account_partner_ledger_other.sxw 2011-10-27 21:11:24 +0000 and account/report/account_partner_ledger_other.sxw 2012-08-09 09:37:21 +0000 differ5Binary files account/report/account_partner_ledger_other.sxw 2011-10-27 21:11:24 +0000 and account/report/account_partner_ledger_other.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_print_invoice.sxw'
6Binary files account/report/account_print_invoice.sxw 2011-01-14 00:11:01 +0000 and account/report/account_print_invoice.sxw 2012-08-09 09:37:21 +0000 differ6Binary files account/report/account_print_invoice.sxw 2011-01-14 00:11:01 +0000 and account/report/account_print_invoice.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account/report/account_print_overdue.rml'
--- account/report/account_print_overdue.rml 2011-12-22 15:17:58 +0000
+++ account/report/account_print_overdue.rml 2012-08-09 09:37:21 +0000
@@ -219,7 +219,7 @@
219 <para style="terp_default_Right_9">[[ (line['account_id']['type'] == 'receivable' and formatLang(line['credit']) or 0) or (line['account_id']['type'] == 'payable' and formatLang(line['debit'] * -1) or 0) ]]</para>219 <para style="terp_default_Right_9">[[ (line['account_id']['type'] == 'receivable' and formatLang(line['credit']) or 0) or (line['account_id']['type'] == 'payable' and formatLang(line['debit'] * -1) or 0) ]]</para>
220 </td>220 </td>
221 <td>221 <td>
222 <para style="terp_default_Right_9">[[ time.strftime('%Y-%m-%d') > formatLang((line['date_maturity'])) and formatLang(line['debit'] - line['credit']) ]] [[ company.currency_id.symbol ]] </para>222 <para style="terp_default_Right_9">[[ time.strftime('%Y-%m-%d') > formatLang((line['date_maturity'])) and formatLang(line['debit'] - line['credit'], currency_obj=company.currency_id) ]] </para>
223 </td>223 </td>
224 <td>224 <td>
225 <para style="terp_default_Centre_9">[[ line['blocked'] and 'X' or '' ]]</para>225 <para style="terp_default_Centre_9">[[ line['blocked'] and 'X' or '' ]]</para>
226226
=== modified file 'account/report/account_print_overdue.sxw'
227Binary files account/report/account_print_overdue.sxw 2011-12-21 09:55:12 +0000 and account/report/account_print_overdue.sxw 2012-08-09 09:37:21 +0000 differ227Binary files account/report/account_print_overdue.sxw 2011-12-21 09:55:12 +0000 and account/report/account_print_overdue.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account_analytic_plans/report/crossovered_analytic.sxw'
228Binary files account_analytic_plans/report/crossovered_analytic.sxw 2011-01-14 00:11:01 +0000 and account_analytic_plans/report/crossovered_analytic.sxw 2012-08-09 09:37:21 +0000 differ228Binary files account_analytic_plans/report/crossovered_analytic.sxw 2011-01-14 00:11:01 +0000 and account_analytic_plans/report/crossovered_analytic.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account_budget/report/analytic_account_budget_report.sxw'
229Binary files account_budget/report/analytic_account_budget_report.sxw 2011-01-14 00:11:01 +0000 and account_budget/report/analytic_account_budget_report.sxw 2012-08-09 09:37:21 +0000 differ229Binary files account_budget/report/analytic_account_budget_report.sxw 2011-01-14 00:11:01 +0000 and account_budget/report/analytic_account_budget_report.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account_budget/report/crossovered_budget_report.sxw'
230Binary files account_budget/report/crossovered_budget_report.sxw 2011-01-14 00:11:01 +0000 and account_budget/report/crossovered_budget_report.sxw 2012-08-09 09:37:21 +0000 differ230Binary files account_budget/report/crossovered_budget_report.sxw 2011-01-14 00:11:01 +0000 and account_budget/report/crossovered_budget_report.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account_invoice_layout/report/report_account_invoice_layout.py'
--- account_invoice_layout/report/report_account_invoice_layout.py 2011-04-29 08:49:48 +0000
+++ account_invoice_layout/report/report_account_invoice_layout.py 2012-08-09 09:37:21 +0000
@@ -70,7 +70,7 @@
70 res['quantity'] = self.formatLang(entry.quantity, digits=self.get_digits(dp='Account'))70 res['quantity'] = self.formatLang(entry.quantity, digits=self.get_digits(dp='Account'))
71 res['price_unit'] = self.formatLang(entry.price_unit, digits=self.get_digits(dp='Account'))71 res['price_unit'] = self.formatLang(entry.price_unit, digits=self.get_digits(dp='Account'))
72 res['discount'] = self.formatLang(entry.discount, digits=self.get_digits(dp='Account'))72 res['discount'] = self.formatLang(entry.discount, digits=self.get_digits(dp='Account'))
73 res['price_subtotal'] = self.formatLang(entry.price_subtotal, digits=self.get_digits(dp='Account'))73 res['price_subtotal'] = self.formatLang(entry.price_subtotal, digits=self.get_digits(dp='Account'), currency_obj=invoice.currency_id)
74 sub_total[i] = entry.price_subtotal74 sub_total[i] = entry.price_subtotal
75 i = i + 175 i = i + 1
76 res['note'] = entry.note76 res['note'] = entry.note
7777
=== modified file 'account_invoice_layout/report/report_account_invoice_layout.rml'
--- account_invoice_layout/report/report_account_invoice_layout.rml 2011-12-22 15:17:58 +0000
+++ account_invoice_layout/report/report_account_invoice_layout.rml 2012-08-09 09:37:21 +0000
@@ -293,7 +293,7 @@
293 <para style="terp_default_Centre_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font>[[ a['discount'] ]]</para>293 <para style="terp_default_Centre_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font>[[ a['discount'] ]]</para>
294 </td>294 </td>
295 <td>295 <td>
296 <para style="terp_default_Right_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font> [[ a['price_subtotal'] ]] [[ a['currency'] ]]</para>296 <para style="terp_default_Right_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font> [[ a['price_subtotal'] ]]</para>
297 </td>297 </td>
298 </tr>298 </tr>
299 <tr>299 <tr>
@@ -377,7 +377,7 @@
377 <para style="terp_default_9">Net Total:</para>377 <para style="terp_default_9">Net Total:</para>
378 </td>378 </td>
379 <td>379 <td>
380 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed, dp='Account') ]] [[ o.currency_id.symbol ]]</para>380 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</para>
381 </td>381 </td>
382 </tr>382 </tr>
383 </blockTable>383 </blockTable>
@@ -392,7 +392,7 @@
392 <para style="terp_default_9">Taxes:</para>392 <para style="terp_default_9">Taxes:</para>
393 </td>393 </td>
394 <td>394 <td>
395 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax, dp='Account') ]] [[ o.currency_id.symbol ]]</para>395 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</para>
396 </td>396 </td>
397 </tr>397 </tr>
398 </blockTable>398 </blockTable>
@@ -407,7 +407,7 @@
407 <para style="terp_default_Bold_9">Total:</para>407 <para style="terp_default_Bold_9">Total:</para>
408 </td>408 </td>
409 <td>409 <td>
410 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total, dp='Account') ]] [[ o.currency_id.symbol ]]</para>410 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</para>
411 </td>411 </td>
412 </tr>412 </tr>
413 </blockTable>413 </blockTable>
@@ -443,10 +443,10 @@
443 <para style="terp_default_8">[[ t.name ]]</para>443 <para style="terp_default_8">[[ t.name ]]</para>
444 </td>444 </td>
445 <td>445 <td>
446 <para style="terp_default_Right_8">[[ formatLang(t.base, dp='Account') ]] [[ o.currency_id.symbol ]]</para>446 <para style="terp_default_Right_8">[[ formatLang(t.base, dp='Account', currency_obj=o.currency_id) ]]</para>
447 </td>447 </td>
448 <td>448 <td>
449 <para style="terp_default_Right_8">[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account') ]] [[ o.currency_id.symbol ]]</para>449 <para style="terp_default_Right_8">[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account', currency_obj=o.currency_id) ]]</para>
450 </td>450 </td>
451 <td>451 <td>
452 <para style="terp_default_Right_8">452 <para style="terp_default_Right_8">
453453
=== modified file 'account_invoice_layout/report/report_account_invoice_layout.sxw'
454Binary files account_invoice_layout/report/report_account_invoice_layout.sxw 2011-01-14 00:11:01 +0000 and account_invoice_layout/report/report_account_invoice_layout.sxw 2012-08-09 09:37:21 +0000 differ454Binary files account_invoice_layout/report/report_account_invoice_layout.sxw 2011-01-14 00:11:01 +0000 and account_invoice_layout/report/report_account_invoice_layout.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'account_invoice_layout/report/special_message_invoice.py'
--- account_invoice_layout/report/special_message_invoice.py 2011-04-29 08:49:48 +0000
+++ account_invoice_layout/report/special_message_invoice.py 2012-08-09 09:37:21 +0000
@@ -80,7 +80,7 @@
80 res['quantity'] = self.formatLang(entry.quantity, digits=self.get_digits(dp='Account'))80 res['quantity'] = self.formatLang(entry.quantity, digits=self.get_digits(dp='Account'))
81 res['price_unit'] = self.formatLang(entry.price_unit, digits=self.get_digits(dp='Account'))81 res['price_unit'] = self.formatLang(entry.price_unit, digits=self.get_digits(dp='Account'))
82 res['discount'] = self.formatLang(entry.discount, digits=self.get_digits(dp='Account'))82 res['discount'] = self.formatLang(entry.discount, digits=self.get_digits(dp='Account'))
83 res['price_subtotal'] = self.formatLang(entry.price_subtotal, digits=self.get_digits(dp='Account'))83 res['price_subtotal'] = self.formatLang(entry.price_subtotal, digits=self.get_digits(dp='Account'), currency_obj=invoice.currency_id)
84 sub_total[i] = entry.price_subtotal84 sub_total[i] = entry.price_subtotal
85 i = i + 185 i = i + 1
86 res['note'] = entry.note86 res['note'] = entry.note
8787
=== modified file 'account_invoice_layout/report/special_message_invoice.rml'
--- account_invoice_layout/report/special_message_invoice.rml 2011-12-22 15:17:58 +0000
+++ account_invoice_layout/report/special_message_invoice.rml 2012-08-09 09:37:21 +0000
@@ -297,7 +297,7 @@
297 <para style="terp_default_Centre_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font>[[ a['discount'] ]]</para>297 <para style="terp_default_Centre_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font>[[ a['discount'] ]]</para>
298 </td>298 </td>
299 <td>299 <td>
300 <para style="terp_default_Right_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font> [[ a['price_subtotal'] ]] [[ a['currency'] ]]</para>300 <para style="terp_default_Right_9"><font face="Helvetica">[[ (a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'}))) or removeParentNode('font') ]]</font> [[ a['price_subtotal'] ]]</para>
301 </td>301 </td>
302 </tr>302 </tr>
303 <tr>303 <tr>
@@ -381,7 +381,7 @@
381 <para style="terp_default_9">Net Total : </para>381 <para style="terp_default_9">Net Total : </para>
382 </td>382 </td>
383 <td>383 <td>
384 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed, dp='Account') ]] [[ o.currency_id.symbol ]]</para>384 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed, dp='Account', currency_obj=o.currency_id.symbol) ]]</para>
385 </td>385 </td>
386 </tr>386 </tr>
387 </blockTable>387 </blockTable>
@@ -396,7 +396,7 @@
396 <para style="terp_default_9">Taxes : </para>396 <para style="terp_default_9">Taxes : </para>
397 </td>397 </td>
398 <td>398 <td>
399 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax, dp='Account') ]] [[ o.currency_id.symbol ]]</para>399 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax, dp='Account', currency_obj=o.currency_id.symbol ]]</para>
400 </td>400 </td>
401 </tr>401 </tr>
402 </blockTable>402 </blockTable>
@@ -411,7 +411,7 @@
411 <para style="terp_default_Bold_9">Total : </para>411 <para style="terp_default_Bold_9">Total : </para>
412 </td>412 </td>
413 <td>413 <td>
414 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total, dp='Account') ]] [[ o.currency_id.symbol ]]</para>414 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total, dp='Account', currency_obj=o.currency_id.symbol) ]]</para>
415 </td>415 </td>
416 </tr>416 </tr>
417 </blockTable>417 </blockTable>
@@ -447,10 +447,10 @@
447 <para style="terp_default_8">[[ t.name ]]</para>447 <para style="terp_default_8">[[ t.name ]]</para>
448 </td>448 </td>
449 <td>449 <td>
450 <para style="terp_default_Right_8">[[ formatLang(t.base, dp='Account') ]] [[ o.currency_id.symbol ]]</para>450 <para style="terp_default_Right_8">[[ formatLang(t.base, dp='Account', currency_obj=o.currency_id.symbol ]]</para>
451 </td>451 </td>
452 <td>452 <td>
453 <para style="terp_default_Right_8">[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account') ]] [[ o.currency_id.symbol ]]</para>453 <para style="terp_default_Right_8">[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, dp='Account', currency_obj=o.currency_id.symbol) ]]</para>
454 </td>454 </td>
455 <td>455 <td>
456 <para style="terp_default_Right_8">456 <para style="terp_default_Right_8">
457457
=== modified file 'account_invoice_layout/report/special_message_invoice.sxw'
458Binary files account_invoice_layout/report/special_message_invoice.sxw 2011-01-14 00:11:01 +0000 and account_invoice_layout/report/special_message_invoice.sxw 2012-08-09 09:37:21 +0000 differ458Binary files account_invoice_layout/report/special_message_invoice.sxw 2011-01-14 00:11:01 +0000 and account_invoice_layout/report/special_message_invoice.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'base_report_designer/plugin/openerp_report_designer.zip'
459Binary files base_report_designer/plugin/openerp_report_designer.zip 2011-06-17 14:10:24 +0000 and base_report_designer/plugin/openerp_report_designer.zip 2012-08-09 09:37:21 +0000 differ459Binary files base_report_designer/plugin/openerp_report_designer.zip 2011-06-17 14:10:24 +0000 and base_report_designer/plugin/openerp_report_designer.zip 2012-08-09 09:37:21 +0000 differ
=== modified file 'base_report_designer/plugin/openerp_report_designer/bin/script/ConvertBracesToField.py'
--- base_report_designer/plugin/openerp_report_designer/bin/script/ConvertBracesToField.py 2011-12-19 16:54:40 +0000
+++ base_report_designer/plugin/openerp_report_designer/bin/script/ConvertBracesToField.py 2012-08-09 09:37:21 +0000
@@ -268,7 +268,7 @@
268 if res[1]<>"Expression":268 if res[1]<>"Expression":
269 oInputList.Items=(u""+found.String,u""+found.String)269 oInputList.Items=(u""+found.String,u""+found.String)
270 else:270 else:
271 oInputList.Items=(u"?",u""+found.String)271 oInputList.Items=(u"?",u" "+found.String)
272 aReportSyntex.append([oInputList,res[1]])272 aReportSyntex.append([oInputList,res[1]])
273 text.insertTextContent(found,oInputList,False)273 text.insertTextContent(found,oInputList,False)
274 found.String =""274 found.String =""
275275
=== modified file 'hr_expense/report/expense.rml'
--- hr_expense/report/expense.rml 2011-12-21 09:08:11 +0000
+++ hr_expense/report/expense.rml 2012-08-09 09:37:21 +0000
@@ -231,7 +231,7 @@
231 <para style="terp_default_Right_9">[[ formatLang(line.unit_quantity) ]]</para>231 <para style="terp_default_Right_9">[[ formatLang(line.unit_quantity) ]]</para>
232 </td>232 </td>
233 <td>233 <td>
234 <para style="terp_default_Right_9">[[ formatLang(line.total_amount) ]] [[ o.currency_id.symbol ]] </para>234 <para style="terp_default_Right_9">[[ formatLang(line.total_amount, currency_obj=o.currency_id) ]]</para>
235 </td>235 </td>
236 </tr>236 </tr>
237 <tr>237 <tr>
@@ -277,7 +277,7 @@
277 <para style="terp_tblheader_Details">Total:</para>277 <para style="terp_tblheader_Details">Total:</para>
278 </td>278 </td>
279 <td>279 <td>
280 <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount) ]] [[ o.currency_id.symbol ]]</para>280 <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount, currency_obj=o.currency_id) ]]</para>
281 </td>281 </td>
282 </tr>282 </tr>
283 </blockTable>283 </blockTable>
284284
=== modified file 'hr_expense/report/expense.sxw'
285Binary files hr_expense/report/expense.sxw 2011-01-14 00:11:01 +0000 and hr_expense/report/expense.sxw 2012-08-09 09:37:21 +0000 differ285Binary files hr_expense/report/expense.sxw 2011-01-14 00:11:01 +0000 and hr_expense/report/expense.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'hr_payroll/report/report_contribution_register.rml'
--- hr_payroll/report/report_contribution_register.rml 2011-12-21 09:08:11 +0000
+++ hr_payroll/report/report_contribution_register.rml 2012-08-09 09:37:21 +0000
@@ -206,7 +206,7 @@
206 <para style="P2">[[ formatLang(r['amount']) ]]</para>206 <para style="P2">[[ formatLang(r['amount']) ]]</para>
207 </td>207 </td>
208 <td>208 <td>
209 <para style="P3">[[ formatLang(r['total']) ]] [[o.company_id and o.company_id.currency_id.symbol or '']]</para>209 <para style="P3">[[ formatLang(r['total'], currency_obj=o.company_id.currency_id) ]]</para>
210 </td>210 </td>
211 </tr>211 </tr>
212 </blockTable>212 </blockTable>
@@ -222,7 +222,7 @@
222 <para style="P15">Total:</para>222 <para style="P15">Total:</para>
223 </td>223 </td>
224 <td>224 <td>
225 <para style="P11">[[ formatLang(sum_total()) ]] [[o.company_id and o.company_id.currency_id.symbol or '']]</para>225 <para style="P11">[[ formatLang(sum_total(), currency_obj=o.company_id.currency_id) ]]</para>
226 </td>226 </td>
227 </tr>227 </tr>
228 </blockTable>228 </blockTable>
229229
=== modified file 'hr_payroll/report/report_contribution_register.sxw'
230Binary files hr_payroll/report/report_contribution_register.sxw 2011-06-29 10:31:10 +0000 and hr_payroll/report/report_contribution_register.sxw 2012-08-09 09:37:21 +0000 differ230Binary files hr_payroll/report/report_contribution_register.sxw 2011-06-29 10:31:10 +0000 and hr_payroll/report/report_contribution_register.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'hr_payroll/report/report_payslip.rml'
--- hr_payroll/report/report_payslip.rml 2011-12-21 09:08:11 +0000
+++ hr_payroll/report/report_payslip.rml 2012-08-09 09:37:21 +0000
@@ -293,7 +293,7 @@
293 <para style="P4">[[ formatLang(p.amount) ]]</para>293 <para style="P4">[[ formatLang(p.amount) ]]</para>
294 </td>294 </td>
295 <td>295 <td>
296 <para style="P5">[[ formatLang(p.total) ]] [[o.company_id and o.company_id.currency_id.symbol or '']]</para>296 <para style="P5">[[ formatLang(p.total, currency_obj=o.company_id.currency_id) ]]</para>
297 </td>297 </td>
298 </tr>298 </tr>
299 </blockTable>299 </blockTable>
300300
=== modified file 'hr_payroll/report/report_payslip.sxw'
301Binary files hr_payroll/report/report_payslip.sxw 2011-06-03 10:32:38 +0000 and hr_payroll/report/report_payslip.sxw 2012-08-09 09:37:21 +0000 differ301Binary files hr_payroll/report/report_payslip.sxw 2011-06-03 10:32:38 +0000 and hr_payroll/report/report_payslip.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'hr_payroll/report/report_payslip_details.rml'
--- hr_payroll/report/report_payslip_details.rml 2011-12-21 09:08:11 +0000
+++ hr_payroll/report/report_payslip_details.rml 2012-08-09 09:37:21 +0000
@@ -334,7 +334,7 @@
334 <para style="P17"><font face="Helvetica" color="white">[[ '..'*h['level'] ]]</font>[[ h['rule_category'] ]]<font face="Helvetica">[[ h['level']!=0 and ( setTag('para','para',{'style':'terp_default_8'})) or removeParentNode('font') ]]</font></para>334 <para style="P17"><font face="Helvetica" color="white">[[ '..'*h['level'] ]]</font>[[ h['rule_category'] ]]<font face="Helvetica">[[ h['level']!=0 and ( setTag('para','para',{'style':'terp_default_8'})) or removeParentNode('font') ]]</font></para>
335 </td>335 </td>
336 <td>336 <td>
337 <para style="P6">[[ formatLang(h['total']) ]] [[o.company_id and o.company_id.currency_id.symbol or '']] <font face="Helvetica" size="8.0">[[ h['level']==0 and ( setTag('para','para',{'style':'terp_default_10'})) or removeParentNode('font') ]]</font></para>337 <para style="P6">[[ formatLang(h['total'], currency_obj=o.company_id.currency_id) ]]<font face="Helvetica" size="8.0">[[ h['level']==0 and ( setTag('para','para',{'style':'terp_default_10'})) or removeParentNode('font') ]]</font></para>
338 </td>338 </td>
339 </tr>339 </tr>
340 </blockTable>340 </blockTable>
@@ -391,7 +391,7 @@
391 <para style="P5">[[ formatLang(r['amount']) ]]</para>391 <para style="P5">[[ formatLang(r['amount']) ]]</para>
392 </td>392 </td>
393 <td>393 <td>
394 <para style="P6">[[ formatLang(r['total']) ]] [[ o.company_id and o.company_id.currency_id.symbol or '']]<font face="Helvetica">[[ r.get('register_name', False) and ( setTag('para','para',{'style':'terp_default_10'})) or removeParentNode('font')]]</font></para>394 <para style="P6">[[ formatLang(r['total'], currency_obj=o.company_id.currency_id) ]]<font face="Helvetica">[[ r.get('register_name', False) and ( setTag('para','para',{'style':'terp_default_10'})) or removeParentNode('font')]]</font></para>
395 </td>395 </td>
396 </tr>396 </tr>
397 </blockTable>397 </blockTable>
398398
=== modified file 'hr_payroll/report/report_payslip_details.sxw'
399Binary files hr_payroll/report/report_payslip_details.sxw 2011-06-03 10:32:38 +0000 and hr_payroll/report/report_payslip_details.sxw 2012-08-09 09:37:21 +0000 differ399Binary files hr_payroll/report/report_payslip_details.sxw 2011-06-03 10:32:38 +0000 and hr_payroll/report/report_payslip_details.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'mrp_repair/report/order.rml'
--- mrp_repair/report/order.rml 2011-12-22 15:17:58 +0000
+++ mrp_repair/report/order.rml 2012-08-09 09:37:21 +0000
@@ -312,7 +312,7 @@
312 <para style="terp_default_Right_9">[[ formatLang(line.price_unit) ]] </para>312 <para style="terp_default_Right_9">[[ formatLang(line.price_unit) ]] </para>
313 </td>313 </td>
314 <td>314 <td>
315 <para style="terp_default_Right_9">[[ formatLang(line.price_subtotal) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>315 <para style="terp_default_Right_9">[[ formatLang(line.price_subtotal, currency_obj=o.pricelist_id.currency_id) ]]</para>
316 </td>316 </td>
317 </tr>317 </tr>
318 </blockTable>318 </blockTable>
@@ -337,7 +337,7 @@
337 <para style="terp_default_Right_9">[[ formatLang(fees.price_unit) ]]</para>337 <para style="terp_default_Right_9">[[ formatLang(fees.price_unit) ]]</para>
338 </td>338 </td>
339 <td>339 <td>
340 <para style="terp_default_Right_9">[[ formatLang(fees.price_subtotal) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>340 <para style="terp_default_Right_9">[[ formatLang(fees.price_subtotal, currency_obj=o.pricelist_id.currency_id) ]]</para>
341 </td>341 </td>
342 </tr>342 </tr>
343 </blockTable>343 </blockTable>
@@ -353,7 +353,7 @@
353 <para style="terp_default_9">Net Total :</para>353 <para style="terp_default_9">Net Total :</para>
354 </td>354 </td>
355 <td>355 <td>
356 <para style="P26">[[ formatLang(o.amount_untaxed, dp='Sale Price')]] [[ o.pricelist_id.currency_id. symbol ]]</para>356 <para style="P26">[[ formatLang(o.amount_untaxed, dp='Sale Price', currency_obj=o.pricelist_id.currency_id)]]</para>
357 </td>357 </td>
358358
359 </tr>359 </tr>
@@ -367,7 +367,7 @@
367 <para style="terp_default_9">Taxes:</para>367 <para style="terp_default_9">Taxes:</para>
368 </td>368 </td>
369 <td>369 <td>
370 <para style="P26">[[ formatLang(o.amount_tax, dp='Account')]] [[ o.pricelist_id.currency_id. symbol ]]</para>370 <para style="P26">[[ formatLang(o.amount_tax, dp='Account', currency_obj=o.pricelist_id.currency_id)]]</para>
371 </td>371 </td>
372 </tr>372 </tr>
373 <tr>373 <tr>
@@ -380,7 +380,7 @@
380 <para style="terp_tblheader_Details">Total :</para>380 <para style="terp_tblheader_Details">Total :</para>
381 </td>381 </td>
382 <td>382 <td>
383 <para style="terp_default_right_bold_9">[[ formatLang(total(o), dp='Sale Price') ]] [[ o.pricelist_id.currency_id. symbol ]]</para>383 <para style="terp_default_right_bold_9">[[ formatLang(total(o), dp='Sale Price', currency_obj=o.pricelist_id.currency_id) ]]</para>
384 </td>384 </td>
385 </tr>385 </tr>
386 </blockTable>386 </blockTable>
387387
=== modified file 'point_of_sale/report/account_statement.rml'
--- point_of_sale/report/account_statement.rml 2011-12-21 09:08:11 +0000
+++ point_of_sale/report/account_statement.rml 2012-08-09 09:37:21 +0000
@@ -214,10 +214,10 @@
214 <para style="terp_default_Centre_8">[[ formatLang(statement.closing_date,date_time=True)]]</para>214 <para style="terp_default_Centre_8">[[ formatLang(statement.closing_date,date_time=True)]]</para>
215 </td>215 </td>
216 <td>216 <td>
217 <para style="terp_default_Centre_8">[[ formatLang(statement.balance_start, dp='Account') ]][[ company.currency_id.symbol ]]</para>217 <para style="terp_default_Centre_8">[[ formatLang(statement.balance_start, dp='Account', currency_obj=o.company.currency_id) ]]</para>
218 </td>218 </td>
219 <td>219 <td>
220 <para style="terp_default_Centre_8">[[ formatLang(statement.balance_end_real, dp='Account') ]][[ company.currency_id.symbol ]]</para>220 <para style="terp_default_Centre_8">[[ formatLang(statement.balance_end_real, dp='Account', currency_obj=o.company.currency_id) ]]</para>
221 </td>221 </td>
222 </tr>222 </tr>
223 </blockTable>223 </blockTable>
@@ -250,7 +250,7 @@
250 <para style="terp_default_9">[[ line_ids.partner_id.name ]]</para>250 <para style="terp_default_9">[[ line_ids.partner_id.name ]]</para>
251 </td>251 </td>
252 <td>252 <td>
253 <para style="terp_default_Right_9">[[ formatLang(line_ids.amount, dp='Account') ]] [[ company.currency_id.symbol ]]</para>253 <para style="terp_default_Right_9">[[ formatLang(line_ids.amount, dp='Account', currency_obj=o.company.currency_id) ]]</para>
254 </td>254 </td>
255 </tr>255 </tr>
256 </blockTable>256 </blockTable>
@@ -267,7 +267,7 @@
267 <para style="terp_tblheader_Details">Total :</para>267 <para style="terp_tblheader_Details">Total :</para>
268 </td>268 </td>
269 <td>269 <td>
270 <para style="terp_default_Right_9_Bold">[[ formatLang(get_total(statement.line_ids), dp='Account') ]] [[ company.currency_id.symbol ]]</para>270 <para style="terp_default_Right_9_Bold">[[ formatLang(get_total(statement.line_ids), dp='Account', currency_obj=o.company.currency_id) ]]</para>
271 </td>271 </td>
272 </tr>272 </tr>
273 </blockTable>273 </blockTable>
274274
=== modified file 'point_of_sale/report/account_statement.sxw'
275Binary files point_of_sale/report/account_statement.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/account_statement.sxw 2012-08-09 09:37:21 +0000 differ275Binary files point_of_sale/report/account_statement.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/account_statement.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'point_of_sale/report/all_closed_cashbox_of_the_day.rml'
--- point_of_sale/report/all_closed_cashbox_of_the_day.rml 2011-12-21 09:08:11 +0000
+++ point_of_sale/report/all_closed_cashbox_of_the_day.rml 2012-08-09 09:37:21 +0000
@@ -183,10 +183,10 @@
183 </para>183 </para>
184 </td>184 </td>
185 <td>185 <td>
186 <para style="terp_tblheader_General_Right"><u>[[ formatLang(get_net_total_starting(user)[1]) ]] [[company.currency_id.symbol]]</u></para>186 <para style="terp_tblheader_General_Right"><u>[[ formatLang(get_net_total_starting(user)[1], currency_obj=o.company.currency_id) ]]</u></para>
187 </td>187 </td>
188 <td>188 <td>
189 <para style="terp_tblheader_General_Right"><u>[[ formatLang(get_net_total(user)) ]] [[company.currency_id.symbol]]</u></para>189 <para style="terp_tblheader_General_Right"><u>[[ formatLang(get_net_total(user), currency_obj=o.company.currency_id) ]]</u></para>
190 </td>190 </td>
191 </tr>191 </tr>
192 </blockTable>192 </blockTable>
@@ -207,10 +207,10 @@
207 <para style="terp_default_Bold_8">[[ statement['closing_date'] ]]</para>207 <para style="terp_default_Bold_8">[[ statement['closing_date'] ]]</para>
208 </td>208 </td>
209 <td>209 <td>
210 <para style="P1"><u>[[ (get_bal(statement)) or '0.00' ]] [[company.currency_id.symbol]]</u></para>210 <para style="P1"><u>[[ (get_bal(statement)) or '0.00' , currency_obj=o.company.currency_id]]</u></para>
211 </td>211 </td>
212 <td>212 <td>
213 <para style="P1"><u>[[ formatLang(get_sub_total(user,statement['journal_id'],statement['date'])) ]] [[company.currency_id.symbol]]</u></para>213 <para style="P1"><u>[[ formatLang(get_sub_total(user,statement['journal_id'],statement['date']) ,currency_obj=o.company.currency_id) ]]</u></para>
214 </td>214 </td>
215 </tr>215 </tr>
216 </blockTable>216 </blockTable>
@@ -236,7 +236,7 @@
236 </para>236 </para>
237 </td>237 </td>
238 <td>238 <td>
239 <para style="terp_default_Right_9">[[ formatLang(line_ids['amount']) ]] [[company.currency_id.symbol]]</para>239 <para style="terp_default_Right_9">[[ formatLang(line_ids['amount'], currency_obj=o.company.currency_id) ]]</para>
240 </td>240 </td>
241 </tr>241 </tr>
242 </blockTable>242 </blockTable>
243243
=== modified file 'point_of_sale/report/all_closed_cashbox_of_the_day.sxw'
244Binary files point_of_sale/report/all_closed_cashbox_of_the_day.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/all_closed_cashbox_of_the_day.sxw 2012-08-09 09:37:21 +0000 differ244Binary files point_of_sale/report/all_closed_cashbox_of_the_day.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/all_closed_cashbox_of_the_day.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'point_of_sale/report/pos_details.rml'
--- point_of_sale/report/pos_details.rml 2011-12-29 16:58:23 +0000
+++ point_of_sale/report/pos_details.rml 2012-08-09 09:37:21 +0000
@@ -252,7 +252,7 @@
252 <para style="terp_default_9">[ [[ line_ids['code'] ]] ] [[ line_ids['name'] ]]</para>252 <para style="terp_default_9">[ [[ line_ids['code'] ]] ] [[ line_ids['name'] ]]</para>
253 </td>253 </td>
254 <td>254 <td>
255 <para style="terp_default_Right_9">[[ formatLang(line_ids['price_unit'], dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>255 <para style="terp_default_Right_9">[[ formatLang(line_ids['price_unit'], dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
256 </td>256 </td>
257 <td>257 <td>
258 <para style="terp_default_Centre_9">[[ formatLang(line_ids['qty']) ]] [[ line_ids['uom'] ]]</para>258 <para style="terp_default_Centre_9">[[ formatLang(line_ids['qty']) ]] [[ line_ids['uom'] ]]</para>
@@ -289,7 +289,7 @@
289 <para style="terp_default_9">[[ p['name'] or removeParentNode('para') ]]</para>289 <para style="terp_default_9">[[ p['name'] or removeParentNode('para') ]]</para>
290 </td>290 </td>
291 <td>291 <td>
292 <para style="terp_default_Right_9_Bold">[[ formatLang(p['amount']) or removeParentNode('tr') ]] [[ company.currency_id.symbol ]]</para>292 <para style="terp_default_Right_9_Bold">[[ formatLang(p['amount'], currency_obj=o.company.currency_id) or removeParentNode('tr') ]]</para>
293 </td>293 </td>
294 </tr>294 </tr>
295 </blockTable>295 </blockTable>
@@ -320,7 +320,7 @@
320 <para style="terp_default_9">[[ p['name'] or removeParentNode('para') ]]</para>320 <para style="terp_default_9">[[ p['name'] or removeParentNode('para') ]]</para>
321 </td>321 </td>
322 <td>322 <td>
323 <para style="terp_default_Right_9_Bold">[[ formatLang(p['sum'], dp='Account') or removeParentNode('tr') ]] [[ company.currency_id.symbol ]]</para>323 <para style="terp_default_Right_9_Bold">[[ formatLang(p['sum'], dp='Account', currency_obj=o.company.currency_id) or removeParentNode('tr') ]]</para>
324 </td>324 </td>
325 </tr>325 </tr>
326 </blockTable>326 </blockTable>
@@ -349,7 +349,7 @@
349 <para style="terp_default_Bold_9">Sales total(Revenue)</para>349 <para style="terp_default_Bold_9">Sales total(Revenue)</para>
350 </td>350 </td>
351 <td>351 <td>
352 <para style="terp_default_Right_9_Bold">[[ formatLang(getsalestotal2(), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>352 <para style="terp_default_Right_9_Bold">[[ formatLang(getsalestotal2(), dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
353 </td>353 </td>
354 </tr>354 </tr>
355 <tr>355 <tr>
@@ -365,7 +365,7 @@
365 <para style="terp_default_Bold_9">Total invoiced</para>365 <para style="terp_default_Bold_9">Total invoiced</para>
366 </td>366 </td>
367 <td>367 <td>
368 <para style="terp_default_Right_9_Bold">[[ formatLang(getsuminvoice2(data['form']), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>368 <para style="terp_default_Right_9_Bold">[[ formatLang(getsuminvoice2(data['form']), dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
369 </td>369 </td>
370 </tr>370 </tr>
371 <tr>371 <tr>
@@ -373,7 +373,7 @@
373 <para style="terp_default_Bold_9">Total discount</para>373 <para style="terp_default_Bold_9">Total discount</para>
374 </td>374 </td>
375 <td>375 <td>
376 <para style="terp_default_Right_9_Bold">[[ formatLang(getsumdisc(), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>376 <para style="terp_default_Right_9_Bold">[[ formatLang(getsumdisc(), dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
377 </td>377 </td>
378 </tr>378 </tr>
379 <tr>379 <tr>
@@ -381,7 +381,7 @@
381 <para style="terp_default_Bold_9">Total paid</para>381 <para style="terp_default_Bold_9">Total paid</para>
382 </td>382 </td>
383 <td>383 <td>
384 <para style="terp_default_Right_9_Bold">[[ formatLang(getpaidtotal2(), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>384 <para style="terp_default_Right_9_Bold">[[ formatLang(getpaidtotal2(), dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
385 </td>385 </td>
386 </tr>386 </tr>
387 <tr>387 <tr>
@@ -389,7 +389,7 @@
389 <para style="terp_default_Bold_9">Total of the day</para>389 <para style="terp_default_Bold_9">Total of the day</para>
390 </td>390 </td>
391 <td>391 <td>
392 <para style="terp_default_Right_9_Bold">[[ formatLang(gettotalofthaday(data['form']), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>392 <para style="terp_default_Right_9_Bold">[[ formatLang(gettotalofthaday(data['form']), dp='Sale Price', currency_obj=o.company.currency_id) ]]</para>
393 </td>393 </td>
394 </tr>394 </tr>
395 </blockTable>395 </blockTable>
396396
=== modified file 'point_of_sale/report/pos_details.sxw'
397Binary files point_of_sale/report/pos_details.sxw 2011-11-25 09:47:15 +0000 and point_of_sale/report/pos_details.sxw 2012-08-09 09:37:21 +0000 differ397Binary files point_of_sale/report/pos_details.sxw 2011-11-25 09:47:15 +0000 and point_of_sale/report/pos_details.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'point_of_sale/report/pos_payment_report_user.rml'
--- point_of_sale/report/pos_payment_report_user.rml 2011-12-21 09:08:11 +0000
+++ point_of_sale/report/pos_payment_report_user.rml 2012-08-09 09:37:21 +0000
@@ -168,7 +168,7 @@
168 <para style="terp_default_Right_9">[[ formatLang(line_ids['price_unit']) ]]</para>168 <para style="terp_default_Right_9">[[ formatLang(line_ids['price_unit']) ]]</para>
169 </td>169 </td>
170 <td>170 <td>
171 <para style="terp_default_Right_9">[[ formatLang(line_ids['total']) ]] [[company.currency_id.symbol]]</para>171 <para style="terp_default_Right_9">[[ formatLang(line_ids['total'], currency_obj=o.company.currency_id) ]]</para>
172 </td>172 </td>
173 </tr>173 </tr>
174 </blockTable>174 </blockTable>
@@ -194,7 +194,7 @@
194 <para style="terp_tblheader_General_Right">Total:</para>194 <para style="terp_tblheader_General_Right">Total:</para>
195 </td>195 </td>
196 <td>196 <td>
197 <para style="terp_default_Right_9">[[ formatLang(pos_payment_user_total(data['form'])) or removeParentNode('blockTable')]] [[company.currency_id.symbol]]</para>197 <para style="terp_default_Right_9">[[ formatLang(pos_payment_user_total(data['form']), currency_obj=o.company.currency_id) or removeParentNode('blockTable')]]</para>
198 </td>198 </td>
199 </tr>199 </tr>
200 </blockTable>200 </blockTable>
201201
=== modified file 'point_of_sale/report/pos_payment_report_user.sxw'
202Binary files point_of_sale/report/pos_payment_report_user.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/pos_payment_report_user.sxw 2012-08-09 09:37:21 +0000 differ202Binary files point_of_sale/report/pos_payment_report_user.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/pos_payment_report_user.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'point_of_sale/report/pos_users_product.rml'
--- point_of_sale/report/pos_users_product.rml 2011-12-21 09:08:11 +0000
+++ point_of_sale/report/pos_users_product.rml 2012-08-09 09:37:21 +0000
@@ -191,7 +191,7 @@
191 <para style="terp_default_Right_9">[[ formatLang(line_ids['qty']) ]] [[line_ids['uom'] ]]</para>191 <para style="terp_default_Right_9">[[ formatLang(line_ids['qty']) ]] [[line_ids['uom'] ]]</para>
192 </td>192 </td>
193 <td>193 <td>
194 <para style="terp_default_Right_9">[[ formatLang(line_ids['amt']) ]] [[ company.currency_id.symbol ]]</para>194 <para style="terp_default_Right_9">[[ formatLang(line_ids['amt'], currency_obj=o.company.currency_id) ]]</para>
195 </td>195 </td>
196 </tr>196 </tr>
197 </blockTable>197 </blockTable>
@@ -208,7 +208,7 @@
208 <para style="terp_tblheader_General_Right">Total :</para>208 <para style="terp_tblheader_General_Right">Total :</para>
209 </td>209 </td>
210 <td>210 <td>
211 <para style="terp_default_Right_9_Bold">[[ formatLang(get_total(statement)) ]] [[ company.currency_id.symbol ]]</para>211 <para style="terp_default_Right_9_Bold">[[ formatLang(get_total(statement), currency_obj=o.company.currency_id) ]]</para>
212 </td>212 </td>
213 </tr>213 </tr>
214 </blockTable>214 </blockTable>
215215
=== modified file 'point_of_sale/report/pos_users_product.sxw'
216Binary files point_of_sale/report/pos_users_product.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/pos_users_product.sxw 2012-08-09 09:37:21 +0000 differ216Binary files point_of_sale/report/pos_users_product.sxw 2011-01-14 00:11:01 +0000 and point_of_sale/report/pos_users_product.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'purchase/report/order.sxw'
217Binary files purchase/report/order.sxw 2011-11-03 11:53:04 +0000 and purchase/report/order.sxw 2012-08-09 09:37:21 +0000 differ217Binary files purchase/report/order.sxw 2011-11-03 11:53:04 +0000 and purchase/report/order.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'sale/report/sale_order.sxw'
218Binary files sale/report/sale_order.sxw 2011-05-10 09:14:36 +0000 and sale/report/sale_order.sxw 2012-08-09 09:37:21 +0000 differ218Binary files sale/report/sale_order.sxw 2011-05-10 09:14:36 +0000 and sale/report/sale_order.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'sale_layout/report/report_sale_layout.py'
--- sale_layout/report/report_sale_layout.py 2011-07-18 06:44:21 +0000
+++ sale_layout/report/report_sale_layout.py 2012-08-09 09:37:21 +0000
@@ -67,7 +67,7 @@
67 sub_total[i] = entry.price_subtotal and entry.price_subtotal67 sub_total[i] = entry.price_subtotal and entry.price_subtotal
68 i = i + 168 i = i + 1
69 res['note'] = entry.notes or ''69 res['note'] = entry.notes or ''
70 res['currency'] = sale_order.pricelist_id.currency_id.symbol70 res['currency'] = sale_order.pricelist_id.currency_id
71 res['layout_type'] = entry.layout_type71 res['layout_type'] = entry.layout_type
72 else:72 else:
73 res['product_uom_qty'] = ''73 res['product_uom_qty'] = ''
7474
=== modified file 'sale_layout/report/report_sale_layout.rml'
--- sale_layout/report/report_sale_layout.rml 2012-03-15 18:11:12 +0000
+++ sale_layout/report/report_sale_layout.rml 2012-08-09 09:37:21 +0000
@@ -257,7 +257,7 @@
257 <para style="terp_default_Centre_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['discount']) ]]</para>257 <para style="terp_default_Centre_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['discount']) ]]</para>
258 </td>258 </td>
259 <td>259 <td>
260 <para style="terp_default_Right_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['price_subtotal'], digits=get_digits(dp='Sale Price')) ]] [[ a['currency'] ]]</para>260 <para style="terp_default_Right_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['price_subtotal'], digits=get_digits(dp='Sale Price'), currency_obj=a['currency']) ]]</para>
261 </td>261 </td>
262 </tr>262 </tr>
263 <tr>263 <tr>
@@ -313,7 +313,7 @@
313 <para style="terp_default_9">Net Total :</para>313 <para style="terp_default_9">Net Total :</para>
314 </td>314 </td>
315 <td>315 <td>
316 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed , digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>316 <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed , digits=get_digits(dp='Sale Price'), currency_obj=o.pricelist_id.currency_id) ]]</para>
317 </td>317 </td>
318 </tr>318 </tr>
319 <tr>319 <tr>
@@ -326,7 +326,7 @@
326 <para style="terp_default_9">Taxes :</para>326 <para style="terp_default_9">Taxes :</para>
327 </td>327 </td>
328 <td>328 <td>
329 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax , digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>329 <para style="terp_default_Right_9">[[ formatLang(o.amount_tax , digits=get_digits(dp='Sale Price'), currency_obj=o.pricelist_id.currency_id) ]]</para>
330 </td>330 </td>
331 </tr>331 </tr>
332 <tr>332 <tr>
@@ -339,7 +339,7 @@
339 <para style="terp_default_Bold_9">Total :</para>339 <para style="terp_default_Bold_9">Total :</para>
340 </td>340 </td>
341 <td>341 <td>
342 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total , digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id. symbol ]] </para>342 <para style="terp_default_Right_9_Bold">[[ formatLang(o.amount_total , digits=get_digits(dp='Sale Price'), currency_obj=o.pricelist_id.currency_id) ]] </para>
343 </td>343 </td>
344 </tr>344 </tr>
345 </blockTable>345 </blockTable>
346346
=== modified file 'sale_layout/report/report_sale_layout.sxw'
347Binary files sale_layout/report/report_sale_layout.sxw 2011-05-10 09:14:36 +0000 and sale_layout/report/report_sale_layout.sxw 2012-08-09 09:37:21 +0000 differ347Binary files sale_layout/report/report_sale_layout.sxw 2011-05-10 09:14:36 +0000 and sale_layout/report/report_sale_layout.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'stock/report/lot_overview.rml'
--- stock/report/lot_overview.rml 2011-12-21 09:08:11 +0000
+++ stock/report/lot_overview.rml 2012-08-09 09:37:21 +0000
@@ -184,7 +184,7 @@
184 <para style="terp_default_Right_9">[[ formatLang(p['price'], dp='Account') ]]</para>184 <para style="terp_default_Right_9">[[ formatLang(p['price'], dp='Account') ]]</para>
185 </td>185 </td>
186 <td>186 <td>
187 <para style="terp_default_Right_9">[[ formatLang(p['price_value'], dp='Account') ]] [[ o.company_id.currency_id.symbol]]</para>187 <para style="terp_default_Right_9">[[ formatLang(p['price_value'], dp='Account', currency_obj=o.company_id.currency_id) ]]</para>
188 </td>188 </td>
189 </tr>189 </tr>
190 </blockTable>190 </blockTable>
@@ -198,7 +198,7 @@
198 <para style="terp_default_Bold_9">Total:</para>198 <para style="terp_default_Bold_9">Total:</para>
199 </td>199 </td>
200 <td>200 <td>
201 <para style="terp_tblheader_Details_Right">[[ formatLang(price_total(), dp='Account') ]] [[ o.company_id.currency_id.symbol ]]</para>201 <para style="terp_tblheader_Details_Right">[[ formatLang(price_total(), dp='Account', currency_obj=o.company.currency_id) ]]</para>
202 </td>202 </td>
203 </tr>203 </tr>
204 </blockTable>204 </blockTable>
@@ -215,7 +215,7 @@
215 </para>215 </para>
216 </td>216 </td>
217 <td>217 <td>
218 <para style="terp_tblheader_Details_Right">[[ formatLang(grand_total_price(), dp='Account') ]] [[ o.company_id.currency_id.symbol ]]</para>218 <para style="terp_tblheader_Details_Right">[[ formatLang(grand_total_price(), dp='Account', currency_obj=o.company_id.currency_id) ]]</para>
219 </td>219 </td>
220 </tr>220 </tr>
221 </blockTable>221 </blockTable>
222222
=== modified file 'stock/report/lot_overview.sxw'
223Binary files stock/report/lot_overview.sxw 2011-01-14 00:11:01 +0000 and stock/report/lot_overview.sxw 2012-08-09 09:37:21 +0000 differ223Binary files stock/report/lot_overview.sxw 2011-01-14 00:11:01 +0000 and stock/report/lot_overview.sxw 2012-08-09 09:37:21 +0000 differ
=== modified file 'stock/report/lot_overview_all.rml'
--- stock/report/lot_overview_all.rml 2011-12-21 09:08:11 +0000
+++ stock/report/lot_overview_all.rml 2012-08-09 09:37:21 +0000
@@ -184,7 +184,7 @@
184 <para style="terp_default_Right_9">[[ formatLang(p['price'], dp='Account') ]]</para>184 <para style="terp_default_Right_9">[[ formatLang(p['price'], dp='Account') ]]</para>
185 </td>185 </td>
186 <td>186 <td>
187 <para style="terp_default_Right_9">[[ formatLang(p['price_value'], dp='Account') ]] [[ o.company_id.currency_id.symbol]]</para>187 <para style="terp_default_Right_9">[[ formatLang(p['price_value'], dp='Account', currency_obj=o.company_id.currency_id) ]] </para>
188 </td>188 </td>
189 </tr>189 </tr>
190 </blockTable>190 </blockTable>
@@ -198,7 +198,7 @@
198 <para style="terp_default_Bold_9">Total:</para>198 <para style="terp_default_Bold_9">Total:</para>
199 </td>199 </td>
200 <td>200 <td>
201 <para style="terp_tblheader_Details_Right">[[ formatLang(price_total(), dp='Account') ]] [[ o.company_id.currency_id.symbol ]]</para>201 <para style="terp_tblheader_Details_Right">[[ formatLang(price_total(), dp='Account', currency_obj=o.company_id.currency_id) ]]</para>
202 </td>202 </td>
203 </tr>203 </tr>
204 </blockTable>204 </blockTable>
@@ -215,7 +215,7 @@
215 </para>215 </para>
216 </td>216 </td>
217 <td>217 <td>
218 <para style="terp_tblheader_Details_Right">[[ formatLang(grand_total_price(), dp='Account') ]] [[ o.company_id.currency_id.symbol ]]</para>218 <para style="terp_tblheader_Details_Right">[[ formatLang(grand_total_price(), dp='Account' , currency_obj=o.company.currency_id) ]]</para>
219 </td>219 </td>
220 </tr>220 </tr>
221 </blockTable>221 </blockTable>
222222
=== modified file 'stock/report/lot_overview_all.sxw'
223Binary files stock/report/lot_overview_all.sxw 2011-01-14 00:11:01 +0000 and stock/report/lot_overview_all.sxw 2012-08-09 09:37:21 +0000 differ223Binary files stock/report/lot_overview_all.sxw 2011-01-14 00:11:01 +0000 and stock/report/lot_overview_all.sxw 2012-08-09 09:37:21 +0000 differ