summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/project/project.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/project/project.py b/addons/project/project.py
index 219f42c9696..623a0809b96 100644
--- a/addons/project/project.py
+++ b/addons/project/project.py
@@ -288,7 +288,9 @@ class project(osv.osv):
help="The kind of document created when an email is received on this project's email alias"),
'privacy_visibility': fields.selection(_visibility_selection, 'Privacy / Visibility', required=True),
'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'Status', required=True,),
- 'doc_count':fields.function(_get_attached_docs, string="Number of documents attached", type='int')
+ 'doc_count': fields.function(
+ _get_attached_docs, string="Number of documents attached", type='integer'
+ )
}
def _get_type_common(self, cr, uid, context):