From a32b9d28efd4d4cbcbb71c71ced33e77f1c1502e Mon Sep 17 00:00:00 2001 From: saz-OpenERP Date: Thu, 7 Oct 2010 10:39:37 +0530 Subject: [PATCH] [IMP]Improve the pos reports and yml files bzr revid: azaz.201186@gmail.com-20101007050937-8lp2i9qsm5zl5v7n --- .../report/account_statement.rml | 11 +- .../report/all_closed_cashbox_of_the_day.rml | 328 ++++++++---------- addons/point_of_sale/report/pos_details.rml | 1 - .../report/pos_details_summary.rml | 9 +- addons/point_of_sale/report/pos_lines.rml | 15 +- .../report/pos_payment_report_user.rml | 12 +- .../pos_receipt_without_remboursment.rml | 2 +- .../report/pos_sales_user_today.rml | 12 +- .../pos_sales_user_today_current_user.rml | 6 +- addons/point_of_sale/statement_report.xml | 13 +- addons/point_of_sale/test/pos_report.yml | 29 +- 11 files changed, 201 insertions(+), 237 deletions(-) diff --git a/addons/point_of_sale/report/account_statement.rml b/addons/point_of_sale/report/account_statement.rml index 301370ccb59..e777bdfd8f1 100644 --- a/addons/point_of_sale/report/account_statement.rml +++ b/addons/point_of_sale/report/account_statement.rml @@ -216,10 +216,10 @@ [[ formatLang(statement.closing_date,date=True) ]] - [[ formatLang(statement.balance_start, digits=get_digits(dp='Account')) ]][[ company.currency_id.symbol ]] + [[ formatLang(statement.balance_start)]] [[ company.currency_id.symbol ]] - [[ formatLang(statement.balance_end_real, digits=get_digits(dp='Account')) ]][[ company.currency_id.symbol ]] + [[ formatLang(statement.balance_end_real)]] [[ company.currency_id.symbol ]] @@ -247,14 +247,13 @@ [[ repeatIn(statement.line_ids,'line_ids') and ' ' or removeParentNode('blockTable') ]] [[ repeatIn(get_data(statement), 'line_ids')]] - - [[ line_ids['name'] ]] + [[ line_ids.name ]] [[ line_ids.partner_id.name ]] - [[ formatLang(line_ids.amount, digits=get_digits(dp='Account')) ]][[ company.currency_id.symbol ]] + [[ formatLang(line_ids.amount) ]] [[ company.currency_id.symbol ]] @@ -269,7 +268,7 @@ Total : - [[ formatLang(get_total(statement.line_ids), digits=get_digits(dp='Account')) ]][[ company.currency_id.symbol ]] + [[ formatLang(get_total(statement.line_ids)) ]] [[ company.currency_id.symbol ]] diff --git a/addons/point_of_sale/report/all_closed_cashbox_of_the_day.rml b/addons/point_of_sale/report/all_closed_cashbox_of_the_day.rml index f75c08dbadb..04689e0e059 100644 --- a/addons/point_of_sale/report/all_closed_cashbox_of_the_day.rml +++ b/addons/point_of_sale/report/all_closed_cashbox_of_the_day.rml @@ -1,6 +1,6 @@ -