تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3608 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مارس 16
5520
1
ديسمبر 19
6808
0
مارس 16
5007
1
مارس 15
4763
0
مارس 15
4067