[PEP8]
authorYanina Aular <yanina.aular@vauxoo.com>
Wed, 26 Mar 2014 22:33:29 +0000 (18:03 -0430)
committerYanina Aular <yanina.aular@vauxoo.com>
Wed, 26 Mar 2014 22:33:29 +0000 (18:03 -0430)
bzr revid: yanina.aular@vauxoo.com-20140326223329-o0dlgynicv0vq0t1

addons/project/project.py

index c7b394a..937973c 100644 (file)
@@ -288,8 +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='integer')
+        'doc_count': fields.function(
+            _get_attached_docs, string="Number of documents attached", type='integer'
+        )
      }
 
     def _get_type_common(self, cr, uid, context):