跳至内容
菜单
此问题已终结
1 回复
3601 查看

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