Odoo Help

0

Human Resources / Approved timesheets

By
BlazeStar
on 5/20/15, 10:09 AM 976 views

Hello,

Using Odoo 8

In the Human Resources module

We use extensively the timesheet feature... the employees fill up their timesheet there, and their supervisor approves them.

What I find really surprising is that they can modify their timesheet AFTER they've been approved!

I would like to know if it is possible to block modifications everywhere for all timesheet and related timesheet activities once it's been approved.


Thank you!   

0
Pawan
On 9/20/15, 1:13 PM

Blaze,

You can take a boolean field, and make it TRUE once the Approve button is clicked by the Manager....
And on the fields for "attrs" attribute set this: attrs = {'readonly': [('YOUR_BOOLEAN_FIELD', '=', True)]}

Hope this will help you!

0
BlazeStar
On 6/5/15, 8:22 PM

Anyone?

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: 5/20/15, 10:09 AM
Seen: 976 times
Last updated: 9/20/15, 1:13 PM