Merge lp:~openerp-dev/openobject-addons/6.1-opw-574336-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6783
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574336-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+2/-0)
1 file modified
project/ (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574336-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email:

Description of the change

Hello Sir,

[Fix]: When you click on menu Project/Scheduling/Schedule Tasks It gives traceback when the project has no start date.

This branch fixes this issue.

Please review the branch and please share your view on it.

Somesh Khare

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :


This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Naresh Soni

Unmerged revisions

6783. By Somesh Khare

[FIX] Project: Error when no date given in the selected project in Scheduling Task Wizard and Press Compute button (Case: Ref 574336)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'project/'
2--- project/ 2012-03-02 15:13:47 +0000
3+++ project/ 2012-05-04 06:40:23 +0000
4@@ -382,6 +382,8 @@
5 return result
7 def _schedule_project(self, cr, uid, project, context=None):
8+ if not project.date_start:
9+ raise osv.except_osv(_('Warning !'),_("You must assign Start Date on the Project '%s' !") % (,))
10 resource_pool = self.pool.get('resource.resource')
11 calendar_id = project.resource_calendar_id and or False
12 working_days = resource_pool.compute_working_calendar(cr, uid, calendar_id, context=context)