Odoo Help


HR Timesheet (Time)

Ken Kasai
on 2/4/15, 2:41 AM 712 views

How to change the default no. of hour textbox value from "0" to "8"? anyone can help? 

please see the link: 




Ludo - Neobis
On 2/4/15, 6:04 AM

Try to inherit the javascript (located in hr_timesheet_sheet module) and make the default_value 8 instead of 0. 
I'm not a javascript man, but I think you need to look for this line:

unit_amount: 0,

Ken Kasai
On 2/4/15, 10:55 AM

thank you!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/4/15, 2:41 AM
Seen: 712 times
Last updated: 3/16/15, 8:10 AM