diff options
| author | Paramjit Singh Sahota <psa@tinyerp.com> | 2012-09-03 18:09:41 +0530 |
|---|---|---|
| committer | Paramjit Singh Sahota <psa@tinyerp.com> | 2012-09-03 18:09:41 +0530 |
| commit | fc55cdca5153ecb65d1dba9a80f56d594c08143f (patch) | |
| tree | 8444654e98d0060aa21665e4a754a8d26a47fe35 /addons/document | |
| parent | e3f1c26e6afcf7c3df9bd98166614778e27645ea (diff) | |
[IMP] Improved code for the dashboard of DMS which was showing trashback.
bzr revid: psa@tinyerp.com-20120903123941-suhj0gco1aodjixk
Diffstat (limited to 'addons/document')
| -rw-r--r-- | addons/document/report/document_report.py | 2 | ||||
| -rw-r--r-- | addons/document/report/document_report_view.xml | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ <field name="model">report.document.user</field> <field name="arch" type="xml"> <graph string="Files by User" type="pie"> - <field name="user" /> + <field name="user_id" /> <field name="nbr" operator="+"/> </graph> </field> |
