Odoo Help

Welcome!

This community 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.

0

HR Timesheet (Time)

By
Ken Kasai
on 2/4/15, 2:41 AM 449 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

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

Developer

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!

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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