Comment 19 for bug 1023047

Revision history for this message
joachim grubelnik (j-grubelnik) wrote :

hey there

this fix of serge, does not resolve the problem on our side. can anyone tell me how else we can solve this...

for me
this makes sense what javier wrote... but then the tread started to get intersting and some said this change is risky and should not be done ....
Possible fix:
--------------
To fix this issue I added this code in file project_timesheet.py, inside write function for class project_work:

            if line_id.sheet_id.state in ['confirm','done']:
                # ignore changes if timesheet is in confirm or done status
                continue

I added the lines inside the "for task" just after the line_id null verification. With this is now working for me.
--------------

but i am not a programmer ...
i just addres the if vals_line: but this makes no difference, we still cannot add some more working entries if there are already some others which has been confirmed...

hope anyone can comment something about this problem

cheers joe