[IMP] Improved code for the dashboard of DMS which was showing trashback.

bzr revid: psa@tinyerp.com-20120903123941-suhj0gco1aodjixk
This commit is contained in:
Paramjit Singh Sahota 2012-09-03 18:09:41 +05:30
parent e3f1c26e6a
commit fc55cdca51
2 changed files with 3 additions and 1 deletions

View File

@ -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:

View File

@ -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>