Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3874 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
3
mars 16
5752
1
déc. 19
6969
0
mars 16
5194
1
mars 15
4947
0
mars 15
4212