diff options
| author | Amit Patel (OpenERP) <apa@tinyerp.com> | 2012-05-08 16:02:53 +0530 |
|---|---|---|
| committer | Amit Patel (OpenERP) <apa@tinyerp.com> | 2012-05-08 16:02:53 +0530 |
| commit | 9f0350ffb8c1ee8750711003e5512f1e9266f0cf (patch) | |
| tree | a9c3f5076d63fda932f67e7ddacbf434b037ede4 /addons/project_long_term/project_long_term.py | |
| parent | 38fd7fa19df5d752c05eb21fad9f07daccca4395 (diff) | |
| parent | a6a7276d890488085bc2eec46f57e44425df3a4b (diff) | |
[MERGE/IMP]:Mereged technically issues by rco and also removed the dummy while merging.
bzr revid: apa@tinyerp.com-20120508103253-fwq86q4be3v6hsxw
Diffstat (limited to 'addons/project_long_term/project_long_term.py')
| -rw-r--r-- | addons/project_long_term/project_long_term.py | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index 85e821703fc..0e7fcee25fb 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -234,28 +234,7 @@ class project(osv.osv): _defaults = { 'use_phases' : True, } - def open_phase(self, cr, uid, ids, context=None): - #Open the View for the Tasks for the project - """ - This opens Tasks views - @return :Dictionary value for task view - """ - if context is None: - context = {} - if ids: - context = dict(context, search_default_project_id=ids[0]) - return { - 'name': _('Phase'), - 'view_type': 'form', - 'view_mode': 'tree,calendar,form', - 'res_model': 'project.phase', - 'view_id': False, - 'domain':[('project_id','in',ids)], - 'context': context, - 'type': 'ir.actions.act_window', - 'nodestroy': True - } - + def schedule_phases(self, cr, uid, ids, context=None): context = context or {} if type(ids) in (long, int,): |
