Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3907 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
bře 16
5779
1
pro 19
7000
0
bře 16
5207
1
bře 15
4964
0
bře 15
4233