if I understood your problem the right way there is no JS or QWEB customization necessary
First you have to edit the python object: hr_timesheet_sheet.py
Add your custom columns with key and type.
Then edit the view: hr_timesheet_sheet_view.xml
Add whatever you want to see and remove what you don't want to see.
The drawing and checking if something is empty is done by the web-module, which you don't need to edit.
Hope this helps, Greetz
[EDIT] posted the answer to the comment here, because the comment doesn't format it:
grep gives me in the addons folder:
grep -RFn hr_analytic_timesheet *
don't know if that's what ur looking for. account_analytic_line should be found the same way I hope.
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
|Asked: 9/16/14, 7:12 AM|
|Seen: 1106 times|
|Last updated: 3/16/15, 8:10 AM|