From f14feff3b2de05a1b98ca798ed124eb625ba5bf9 Mon Sep 17 00:00:00 2001 From: saz-OpenERP Date: Fri, 8 Oct 2010 17:28:01 +0530 Subject: [PATCH] [IMP]Improved reports of point of sale bzr revid: azaz.201186@gmail.com-20101008115801-sh5n8v5jckxp3sf1 --- addons/point_of_sale/pos_demo.xml | 135 +++++++++++- .../report/account_statement.rml | 21 +- .../report/all_closed_cashbox_of_the_day.rml | 9 +- addons/point_of_sale/report/pos_details.rml | 196 +++++++++--------- .../report/pos_details_summary.py | 17 +- .../report/pos_details_summary.rml | 64 +++--- addons/point_of_sale/report/pos_lines.rml | 15 +- .../report/pos_payment_report.rml | 20 +- .../report/pos_payment_report_date.rml | 2 +- .../report/pos_payment_report_user.rml | 13 +- .../point_of_sale/report/pos_sales_user.rml | 3 - .../report/pos_sales_user_today.rml | 3 - .../pos_sales_user_today_current_user.rml | 11 +- 13 files changed, 326 insertions(+), 183 deletions(-) diff --git a/addons/point_of_sale/pos_demo.xml b/addons/point_of_sale/pos_demo.xml index 80ba3d24397..913a2907e03 100644 --- a/addons/point_of_sale/pos_demo.xml +++ b/addons/point_of_sale/pos_demo.xml @@ -1,7 +1,140 @@ - + + POS/019 + POS/019 + SAJ/2010/010 + + + + + + none + + open + out_invoice + SAJ/2010/010 + + + + / + 2010-10-07 + + + + + + Invoice from POS: POS/019 + + + + + [PC1] Basic PC + + + + + + + + + + + + + 2011-04-07 + + + 2010-10-07 16:53:11 + + + + + + paid + + + 2010-10-07 + POS/019 + tax_excluded + + + + + + + 10 + open + + + + 2010-10-07 + + + + + general + + + + Cash Journal - (test) + + 2010-10-07 + + + + Payment POS/019 + + + + + POS/019 + + 2010-10-07 16:53:46 + + direct + + POS notes + done + out + 2010-10-07 16:53:46 + 2010-10-07 16:33:30 + OUT/00019 + none + 2010-10-07 16:53:46 + + + POS/019 + + + + + + 1 + + + done + + 2010-10-07 16:33:30 + 2010-10-07 16:33:30 + Stock move (POS 12) + + + 2010-10-07 16:53:46 + + + + + No Discount + + + + + + Order Line/07 + + diff --git a/addons/point_of_sale/report/account_statement.rml b/addons/point_of_sale/report/account_statement.rml index c576828cac1..66579ca6eaa 100644 --- a/addons/point_of_sale/report/account_statement.rml +++ b/addons/point_of_sale/report/account_statement.rml @@ -101,6 +101,7 @@ + @@ -140,17 +141,11 @@ - - - - - - Statement - + - + @@ -213,7 +208,7 @@ [[ formatLang(statement.date,date=True) ]] - [[ formatLang(statement.closing_date,date=True) ]] + [[ formatLang(statement.closing_date,date=True) or '' ]] [[ formatLang(statement.balance_start)]] [[ company.currency_id.symbol ]] @@ -229,7 +224,7 @@ - + Name @@ -242,7 +237,7 @@ - + [[ repeatIn(statement.line_ids,'line_ids') and ' ' or removeParentNode('blockTable') ]] @@ -257,7 +252,7 @@ - + @@ -268,7 +263,7 @@ Total : - [[ formatLang(get_total(statement.line_ids)) ]] [[ 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 658e7e958b9..f8381c76741 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 @@ -