Odoo Help

0

HR Timesheet (Time)

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

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

please see the link: 

http://i166.photobucket.com/albums/u108/kenkasai222/Q1_pic_zpsd72acef8.jpg

 

 

0
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,

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.

Register

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)

Stats

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