Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3625 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
бер. 16
5526
1
груд. 19
6813
0
бер. 16
5031
1
бер. 15
4790
0
бер. 15
4080