Odoo Help


HR Timesheet (Time)

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

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

please see the link: 





Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


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!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 503 times
Last updated: 3/16/15, 8:10 AM