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
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 timesheet. py, inside write function for class project_work:
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_
if line_id. sheet_id. state in ['confirm','done']:
continue
# ignore changes if timesheet is in confirm or done status
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