Merge lp:~vauxoo/openobject-addons/7.0-project_fix_doc_count into lp:openobject-addons/7.0

Proposed by Somesh Khare
Status: Merged
Merged at revision: 9938
Proposed branch: lp:~vauxoo/openobject-addons/7.0-project_fix_doc_count
Merge into: lp:openobject-addons/7.0
Diff against target: 14 lines (+3/-1)
1 file modified
project/project.py (+3/-1)
To merge this branch: bzr merge lp:~vauxoo/openobject-addons/7.0-project_fix_doc_count
Reviewer Review Type Date Requested Status
Martin Trigaux (OpenERP) (community) Approve
Naresh(OpenERP) Pending
Review via email: mp+195713@code.launchpad.net

Description of the change

Hello Sir,

[FIX]function field with wrong type int instead of integer

Proposing the customer branch as there is wrong type on the function field 'doc_count' given as 'int' instead of 'integer'.

Kindly review the branch and please share your views on it.

Thanks & Regards,
Somesh Khare

To post a comment you must log in.
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

Thanks for your fix, was merged in 7.0

revno: 9938 [merge]
revision-id: <email address hidden>

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'project/project.py'
--- project/project.py 2014-03-25 10:49:21 +0000
+++ project/project.py 2014-03-26 22:37:03 +0000
@@ -288,7 +288,9 @@
288 help="The kind of document created when an email is received on this project's email alias"),288 help="The kind of document created when an email is received on this project's email alias"),
289 'privacy_visibility': fields.selection(_visibility_selection, 'Privacy / Visibility', required=True),289 'privacy_visibility': fields.selection(_visibility_selection, 'Privacy / Visibility', required=True),
290 'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'Status', required=True,),290 'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'Status', required=True,),
291 'doc_count':fields.function(_get_attached_docs, string="Number of documents attached", type='int')291 'doc_count': fields.function(
292 _get_attached_docs, string="Number of documents attached", type='integer'
293 )
292 }294 }
293295
294 def _get_type_common(self, cr, uid, context):296 def _get_type_common(self, cr, uid, context):