From 42dbaa3952e7d6c248fc98703526205366ca579b Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 26 May 2010 12:24:21 +0530 Subject: [PATCH 01/14] [IMP]:hr_evaluation:improved the SQL report. bzr revid: apa@tinyerp.com-20100526065421-tuy6sw96apgkz22b --- .../report/hr_evaluation_report_view.xml | 54 ++++++++++--------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml index 921d8b43a2b..6b2e6ead15f 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml +++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml @@ -42,35 +42,42 @@ - - + + + string=" 7 Days " + separator="1" + domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')), ('create_date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]" + help="Tasks during last 7 days"/> + icon="terp-hr" + domain="[('state','=','draft')]" + help = "Draft Evaluations"/> + icon="terp-hr" + domain="[('state', '=' ,'wait')]" + help = "In progress Evaluations"/> + icon="terp-hr" + domain="[('state','=','progress')]" + help = "Final Validation Evaluations"/> + + +<<<<<<< TREE + +======= @@ -91,13 +98,12 @@ string="Cancelled" domain="[('state','=','cancel')]"/> +>>>>>>> MERGE-SOURCE - - - - + + From 115b74cf8acfc303545196c59e4bc6ac7c0d13cf Mon Sep 17 00:00:00 2001 From: "Jni (Open ERP)" Date: Wed, 26 May 2010 16:15:44 +0530 Subject: [PATCH 02/14] [IMP]:account:Changed the spelling for statistic bzr revid: jni@tinyerp.co.in-20100526104544-nm2x5rujey8pp1ex --- addons/account/account_menuitem.xml | 2 +- addons/account/report/account_account_report_view.xml | 2 +- addons/account/report/account_analytic_entries_report_view.xml | 2 +- addons/account/report/account_entries_report_view.xml | 2 +- addons/account/report/account_invoice_report_view.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account/account_menuitem.xml b/addons/account/account_menuitem.xml index a2d18095618..4cdcb7787b6 100644 --- a/addons/account/account_menuitem.xml +++ b/addons/account/account_menuitem.xml @@ -22,7 +22,7 @@ groups="group_account_user"/> - + diff --git a/addons/account/report/account_account_report_view.xml b/addons/account/report/account_account_report_view.xml index f2d6338c951..efdb4567935 100644 --- a/addons/account/report/account_account_report_view.xml +++ b/addons/account/report/account_account_report_view.xml @@ -87,7 +87,7 @@ - + diff --git a/addons/account/report/account_analytic_entries_report_view.xml b/addons/account/report/account_analytic_entries_report_view.xml index e1cd7967b8d..84dca63f440 100644 --- a/addons/account/report/account_analytic_entries_report_view.xml +++ b/addons/account/report/account_analytic_entries_report_view.xml @@ -107,7 +107,7 @@ - + diff --git a/addons/account/report/account_entries_report_view.xml b/addons/account/report/account_entries_report_view.xml index 625d98fa9cb..f07de0cdf8d 100644 --- a/addons/account/report/account_entries_report_view.xml +++ b/addons/account/report/account_entries_report_view.xml @@ -122,6 +122,6 @@ {'search_default_This Month':1,'search_default_Journal':1,'group_by_no_leaf':1,'group_by':[]} - + diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index ae00608b164..7acd0c332b1 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -151,7 +151,7 @@ - + From 0c9201fd9963f898afff18a8b6d01be957cb1d7f Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 26 May 2010 18:21:05 +0530 Subject: [PATCH 03/14] [IMP]:sale:Reverted SQL report changes applied at Revision ID: hmo@hmo-20100525163303-0la5uyj7e23dgvk9 bzr revid: apa@tinyerp.com-20100526125105-za72ql0p1tdr5sd2 --- addons/sale/report/sale_report.py | 3 +++ addons/sale/report/sale_report_view.xml | 27 ++++++------------------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py index e713c479f72..ec8be2160a0 100644 --- a/addons/sale/report/sale_report.py +++ b/addons/sale/report/sale_report.py @@ -36,6 +36,7 @@ class sale_report(osv.osv): ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True), 'day': fields.char('Day', size=128, readonly=True), 'product_id':fields.many2one('product.product', 'Product', readonly=True), + 'uom_id': fields.many2one('product.uom', 'Default Unit Of Measure', readonly=True), 'product_qty':fields.float('# of Qty', readonly=True), 'partner_id':fields.many2one('res.partner', 'Partner', readonly=True), 'shop_id':fields.many2one('sale.shop', 'Shop', readonly=True), @@ -71,6 +72,7 @@ class sale_report(osv.osv): to_char(s.date_order, 'MM') as month, to_char(s.date_order, 'YYYY-MM-DD') as day, l.product_id as product_id, + pt.uom_id as uom_id, sum(l.product_uom_qty * u.factor) as product_qty, s.partner_id as partner_id, s.user_id as user_id, @@ -96,6 +98,7 @@ class sale_report(osv.osv): l.product_uom, s.user_id, pt.categ_id, + pt.uom_id, s.state, s.shop_id, s.company_id, diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 2fca6dedd5a..0891efee88b 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -17,6 +17,7 @@ + @@ -86,7 +87,7 @@ - + @@ -99,28 +100,12 @@ - - - + + - - - - - - - - - - - - - - - - - + + From 335d3ce95c0fa664ac35423a3b5aeaef267e0404 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 26 May 2010 18:26:38 +0530 Subject: [PATCH 04/14] [IMP]:account:improved menus. bzr revid: apa@tinyerp.com-20100526125638-rpcu5iyapi2imnli --- addons/account/report/account_analytic_report_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/report/account_analytic_report_view.xml b/addons/account/report/account_analytic_report_view.xml index 0d05d5f0d76..9a7c02ff8e7 100644 --- a/addons/account/report/account_analytic_report_view.xml +++ b/addons/account/report/account_analytic_report_view.xml @@ -139,7 +139,7 @@ {'search_default_This Month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]} - + From 9be38e6ed277b2fda2540ee5afc21d4fd2dfacf7 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 26 May 2010 18:36:02 +0530 Subject: [PATCH 05/14] [IMP]:project:improved SQL report.(Tasks Analysis) bzr revid: apa@tinyerp.com-20100526130602-0o370fizfv0iy3od --- addons/project/report/project_report_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index a978587e232..4eac32fb284 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -103,6 +103,7 @@ domain="[('project_id','=',context.get('project_id', False)]"/> + @@ -248,6 +249,6 @@ graph,tree - + From ee2637fe9ed07c7f0c295245f8658210bb136579 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Wed, 26 May 2010 18:51:37 +0530 Subject: [PATCH 06/14] [IMP]:hr_recruitment:Resolved conflicts bzr revid: apa@tinyerp.com-20100526132137-88wnjs0mog14xr69 --- .../report/hr_evaluation_report_view.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml index 6b2e6ead15f..44c20ebbe16 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml +++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml @@ -75,9 +75,6 @@ -<<<<<<< TREE - -======= @@ -91,14 +88,6 @@ - - - ->>>>>>> MERGE-SOURCE From 7e47dbd1cdecfc2cec961fcc630ee7c21531efdf Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 11:52:02 +0530 Subject: [PATCH 07/14] [IMP]:account:Improved SQL reports(Invoice Analysis and Entries Analysis). bzr revid: apa@tinyerp.com-20100527062202-p926f650dwok9h9f --- .../report/account_entries_report_view.xml | 71 +++++++++---------- .../report/account_invoice_report_view.xml | 35 ++++----- 2 files changed, 54 insertions(+), 52 deletions(-) diff --git a/addons/account/report/account_entries_report_view.xml b/addons/account/report/account_entries_report_view.xml index f07de0cdf8d..b31d3bbfd0a 100644 --- a/addons/account/report/account_entries_report_view.xml +++ b/addons/account/report/account_entries_report_view.xml @@ -6,7 +6,7 @@ account.entries.report tree - + @@ -37,7 +37,7 @@ account.entries.report graph - + @@ -48,15 +48,15 @@ account.entries.report search - + - - + + help="Entries of last 30 days"/> + help = "Draft entries"/> + - - - - + + + + + - - - - - + + + + + + + - - + - - - - - - - - - + + + + + + + - - + - - + - Entries + Entries Analysis account.entries.report form tree,graph diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index 7acd0c332b1..b8b0b09490b 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -6,7 +6,7 @@ account.invoice.report tree - + @@ -42,7 +42,7 @@ account.invoice.report graph - + @@ -54,7 +54,7 @@ account.invoice.report search - + + help = "Draft Invoices"/> + help = "Pro-forma Invoices"/> + help = "open Invoices"/> + help = "Done Invoices"/> + string="My Invoices" + help="My Invoices" + domain="[('user_id','=',uid)]"/> + @@ -119,6 +120,9 @@ + + + @@ -127,27 +131,26 @@ + + - + - - - - Invoices + Invoices Analysis account.invoice.report form tree,graph - {'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[],'search_default_user_id':uid} + {'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]} From bebd1e65d0dd18bad051a59230447446dd1aef80 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 15:52:38 +0530 Subject: [PATCH 08/14] [IMP]:sale:Improved SQL reports(Sales Analysis). bzr revid: apa@tinyerp.com-20100527102238-34qm76q6uxe1u21y --- addons/sale/report/sale_report.py | 6 +++--- addons/sale/report/sale_report_view.xml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py index ec8be2160a0..4fef5fd2595 100644 --- a/addons/sale/report/sale_report.py +++ b/addons/sale/report/sale_report.py @@ -36,7 +36,7 @@ class sale_report(osv.osv): ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True), 'day': fields.char('Day', size=128, readonly=True), 'product_id':fields.many2one('product.product', 'Product', readonly=True), - 'uom_id': fields.many2one('product.uom', 'Default Unit Of Measure', readonly=True), + 'uom_name': fields.char('Default UoM', size=128, readonly=True), 'product_qty':fields.float('# of Qty', readonly=True), 'partner_id':fields.many2one('res.partner', 'Partner', readonly=True), 'shop_id':fields.many2one('sale.shop', 'Shop', readonly=True), @@ -72,7 +72,7 @@ class sale_report(osv.osv): to_char(s.date_order, 'MM') as month, to_char(s.date_order, 'YYYY-MM-DD') as day, l.product_id as product_id, - pt.uom_id as uom_id, + u.name as uom_name, sum(l.product_uom_qty * u.factor) as product_qty, s.partner_id as partner_id, s.user_id as user_id, @@ -98,7 +98,7 @@ class sale_report(osv.osv): l.product_uom, s.user_id, pt.categ_id, - pt.uom_id, + u.name, s.state, s.shop_id, s.company_id, diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 0891efee88b..2542257ddac 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -17,7 +17,7 @@ - + @@ -88,6 +88,7 @@ + From 92cdfc41a45bdd3c64f18c77f42e4781249d90f7 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 16:47:21 +0530 Subject: [PATCH 09/14] [IMP]:account,sale:Improved SQL reports(Sales Analysis and account's reports). bzr revid: apa@tinyerp.com-20100527111721-co6kddx5umt805hd --- .../report/account_account_report_view.xml | 13 ++-- .../account_analytic_entries_report_view.xml | 33 +++++---- .../report/account_analytic_report_view.xml | 71 +++++++------------ .../report/account_entries_report_view.xml | 2 +- addons/sale/report/sale_report_view.xml | 2 +- 5 files changed, 52 insertions(+), 69 deletions(-) diff --git a/addons/account/report/account_account_report_view.xml b/addons/account/report/account_account_report_view.xml index efdb4567935..137fa0c69ae 100644 --- a/addons/account/report/account_account_report_view.xml +++ b/addons/account/report/account_account_report_view.xml @@ -6,7 +6,7 @@ account.account.report tree - + @@ -29,7 +29,7 @@ account.account.report graph - + @@ -43,7 +43,7 @@ account.account.report search - + - @@ -69,9 +68,11 @@ + + - + @@ -79,7 +80,7 @@ - Accounts + Accounts Analysis account.account.report form tree,graph diff --git a/addons/account/report/account_analytic_entries_report_view.xml b/addons/account/report/account_analytic_entries_report_view.xml index 84dca63f440..610cf14a1d8 100644 --- a/addons/account/report/account_analytic_entries_report_view.xml +++ b/addons/account/report/account_analytic_entries_report_view.xml @@ -6,7 +6,7 @@ analytic.entries.report tree - + @@ -33,26 +33,25 @@ analytic.entries.report search - + - - + + help="Analytic Entries of last 30 days"/> - + - + - @@ -73,15 +72,15 @@ - + - - - - + + + + + - @@ -90,7 +89,7 @@ analytic.entries.report graph - + @@ -99,7 +98,7 @@ - Analytic Entries + Analytic Entries Analysis analytic.entries.report form tree,graph diff --git a/addons/account/report/account_analytic_report_view.xml b/addons/account/report/account_analytic_report_view.xml index a013f8a7369..2864386f582 100644 --- a/addons/account/report/account_analytic_report_view.xml +++ b/addons/account/report/account_analytic_report_view.xml @@ -6,7 +6,7 @@ analytic.report tree - + @@ -19,9 +19,9 @@ - - - + + + @@ -34,20 +34,20 @@ analytic.report search - + - - - + + + + + - @@ -85,34 +86,16 @@ - - - - - - - - - - - - - - + + + + + + @@ -122,7 +105,7 @@ analytic.report graph - + @@ -132,7 +115,7 @@ - Analytic Accounts + Analytic Accounts Analysis analytic.report form tree,graph diff --git a/addons/account/report/account_entries_report_view.xml b/addons/account/report/account_entries_report_view.xml index b31d3bbfd0a..f61348c290c 100644 --- a/addons/account/report/account_entries_report_view.xml +++ b/addons/account/report/account_entries_report_view.xml @@ -76,7 +76,6 @@ - @@ -105,6 +104,7 @@ + diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 2542257ddac..91cada4c858 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -79,7 +79,6 @@ help="My Sales" domain="[('user_id','=',uid)]"/> - @@ -107,6 +106,7 @@ + From 1aed90730d3115439303f580f155b94c533d1359 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 16:57:13 +0530 Subject: [PATCH 10/14] [IMP]:account:Improved SQL reports(account's reports). bzr revid: apa@tinyerp.com-20100527112713-4g3umpeqekm7mp2e --- addons/account/report/account_analytic_report_view.xml | 2 +- addons/account/report/account_invoice_report_view.xml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/addons/account/report/account_analytic_report_view.xml b/addons/account/report/account_analytic_report_view.xml index 2864386f582..eba69e2785b 100644 --- a/addons/account/report/account_analytic_report_view.xml +++ b/addons/account/report/account_analytic_report_view.xml @@ -40,7 +40,7 @@ domain="[('day','<=', time.strftime('%%Y-%%m-%%d')),('day','>',(datetime.date.today()-datetime.timedelta(days=365)).strftime('%%Y-%%m-%%d'))]" help="Analytic Accounts of last 365 days"/> - - @@ -110,9 +108,7 @@ - - @@ -126,14 +122,12 @@ - - From d46d3ebdc36ad8586fe0db4f42de1aa69db6dd57 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 17:18:36 +0530 Subject: [PATCH 11/14] [IMP]:crm:Improved SQL reports(Leads Analysis). bzr revid: apa@tinyerp.com-20100527114836-hxdrjv0c3p9sukwf --- addons/crm/report/crm_lead_report_view.xml | 96 +++++++--------------- 1 file changed, 31 insertions(+), 65 deletions(-) diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index c65ee0fd285..da480d21dc0 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -9,7 +9,7 @@ crm.lead.report tree - + @@ -34,7 +34,7 @@ crm.lead.report form -
+ @@ -54,7 +54,7 @@ crm.lead.report graph - + @@ -69,103 +69,69 @@ crm.lead.report search - - - - + + - - - - - + - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -199,7 +165,7 @@ - Leads + Leads Analysis crm.lead.report form {"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]} @@ -246,7 +212,7 @@ - From 834b3fcf2b4e3cf3a59f930c4df143c6eb3995a3 Mon Sep 17 00:00:00 2001 From: "Jni (Open ERP)" Date: Thu, 27 May 2010 18:01:25 +0530 Subject: [PATCH 12/14] [IMP]:account:Improved account reports bzr revid: jni@tinyerp.co.in-20100527123125-g2icffru6d7g9g3w --- .../account/report/account_analytic_entries_report_view.xml | 6 +++--- addons/sale/report/sale_report_view.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account/report/account_analytic_entries_report_view.xml b/addons/account/report/account_analytic_entries_report_view.xml index 610cf14a1d8..157a08f8ca5 100644 --- a/addons/account/report/account_analytic_entries_report_view.xml +++ b/addons/account/report/account_analytic_entries_report_view.xml @@ -13,7 +13,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -76,10 +76,10 @@ - + diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 91cada4c858..98e74c363b9 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -17,10 +17,10 @@ - + From d861ea005f74d0050a256fd945ffc272f3891385 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 18:23:47 +0530 Subject: [PATCH 13/14] [IMP]:sale:Improved SQL reports(Sales Analysis). bzr revid: apa@tinyerp.com-20100527125347-8i06sow31mmuy1aq --- addons/sale/report/sale_report.py | 4 ++-- addons/sale/report/sale_report_view.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py index 4fef5fd2595..cad05c8dcc8 100644 --- a/addons/sale/report/sale_report.py +++ b/addons/sale/report/sale_report.py @@ -37,7 +37,7 @@ class sale_report(osv.osv): 'day': fields.char('Day', size=128, readonly=True), 'product_id':fields.many2one('product.product', 'Product', readonly=True), 'uom_name': fields.char('Default UoM', size=128, readonly=True), - 'product_qty':fields.float('# of Qty', readonly=True), + 'product_uom_qty':fields.float('# of Qty', readonly=True), 'partner_id':fields.many2one('res.partner', 'Partner', readonly=True), 'shop_id':fields.many2one('sale.shop', 'Shop', readonly=True), 'company_id':fields.many2one('res.company', 'Company', readonly=True), @@ -73,7 +73,7 @@ class sale_report(osv.osv): to_char(s.date_order, 'YYYY-MM-DD') as day, l.product_id as product_id, u.name as uom_name, - sum(l.product_uom_qty * u.factor) as product_qty, + sum(l.product_uom_qty * u.factor) as product_uom_qty, s.partner_id as partner_id, s.user_id as user_id, s.shop_id as shop_id, diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 98e74c363b9..117eedf7af3 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -19,7 +19,7 @@ - + From 9936ec6b22d92c2afaf33403041b05e31ea218ca Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 27 May 2010 19:03:02 +0530 Subject: [PATCH 14/14] [IMP]:sale,project:Improved SQL reports(Sales Analysis,Tasks Analysis). bzr revid: apa@tinyerp.com-20100527133302-7s6ztbuw63yqdj90 --- addons/project/report/project_report_view.xml | 4 ++-- addons/sale/report/sale_report_view.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index 4eac32fb284..9babb1655ef 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -55,10 +55,10 @@ - - diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 117eedf7af3..98ae326fc14 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -51,10 +51,10 @@ - -