Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3598 Представления

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
5517
1
дек. 19
6805
0
мар. 16
5003
1
мар. 15
4760
0
мар. 15
4063