Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3842 Tampilan

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..

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mar 16
5734
1
Des 19
6949
0
Mar 16
5177
1
Mar 15
4931
0
Mar 15
4187