From 740a3169ef2078edbf900d87da14b6edf158df67 Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Mon, 10 Jan 2011 10:45:03 +0100 Subject: [FIX] project_long_term : Cleaning temp file bzr revid: tfr@openerp.com-20110110094503-4ovjmqcgyfwym9de --- addons/project_long_term/project_long_term.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'addons/project_long_term/project_long_term.py') diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index 2082f156b86..fc4151d855f 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -370,11 +370,6 @@ def Phase_%d(): parent = task task_ids.append(task.id) func_str += cls_str - #Temp File to test the Code for the Allocation -# fn = '/home/tiny/Desktop/plt.py' -# fp = open(fn, 'w') -# fp.writelines(func_str) -# fp.close() # Allocating Memory for the required Project and Pahses and Resources exec(func_str) @@ -518,11 +513,6 @@ def Project_%d(): phases, child_phase_ids = phase_pool.generate_phase(cr, uid, [root_phase.id], '', context=context) func_str += phases phase_ids += child_phase_ids - #Temp File to test the Code for the Allocation - fn = '/home/tiny/Desktop/plt.py' - fp = open(fn, 'w') - fp.writelines(func_str) - fp.close() # Allocating Memory for the required Project and Pahses and Resources exec(func_str) @@ -650,11 +640,6 @@ def Project_%d(): parent = task task_ids.append(task.id) func_str += cls_str - #Temp File to test the Code for the Allocation -# fn = '/home/tiny/Desktop/plt.py' -# fp = open(fn, 'w') -# fp.writelines(func_str) -# fp.close() # Allocating Memory for the required Project and Pahses and Resources exec(func_str) -- cgit v1.2.3