콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3602 화면

Hi I need help. I'm developing a model for the res_partner model in customers. How can I make a button that counts the time after click? After a second click it should post the time needed in a new line on a new navigation point for example= in project task, or a open task.

I need a time counting function in python

Thank you..

아바타
취소
베스트 답변

Hi,

I think that you don't need a time counter. Just save the datetime of the start and stop action then save the difference in your task work.

You can find this logic in the work order model in MRP App.

regards

아바타
취소
관련 게시물 답글 화면 활동
3
3월 16
5518
1
12월 19
6806
0
3월 16
5004
1
3월 15
4762
0
3월 15
4066