From fc55cdca5153ecb65d1dba9a80f56d594c08143f Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Mon, 3 Sep 2012 18:09:41 +0530 Subject: [PATCH] [IMP] Improved code for the dashboard of DMS which was showing trashback. bzr revid: psa@tinyerp.com-20120903123941-suhj0gco1aodjixk --- addons/document/report/document_report.py | 2 ++ addons/document/report/document_report_view.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/document/report/document_report.py b/addons/document/report/document_report.py index 92e33c13746..66630dc3d43 100644 --- a/addons/document/report/document_report.py +++ b/addons/document/report/document_report.py @@ -63,6 +63,7 @@ class report_document_user(osv.osv): ) """) +report_document_user() class report_document_file(osv.osv): _name = "report.document.file" @@ -87,5 +88,6 @@ class report_document_file(osv.osv): ) """) +report_document_file() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/document/report/document_report_view.xml b/addons/document/report/document_report_view.xml index 2a8b9f34ddf..2740967d53a 100644 --- a/addons/document/report/document_report_view.xml +++ b/addons/document/report/document_report_view.xml @@ -114,7 +114,7 @@ report.document.user - +