Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3607 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mar 16
5520
1
dic 19
6808
0
mar 16
5007
1
mar 15
4763
0
mar 15
4067