[FIX] project_long_term : Cleaning temp file

bzr revid: tfr@openerp.com-20110110094503-4ovjmqcgyfwym9de
This commit is contained in:
Thibault Francois 2011-01-10 10:45:03 +01:00
parent 0496162946
commit 740a3169ef
1 changed files with 0 additions and 15 deletions

View File

@ -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)