Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5262 Переглядів

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!   

Аватар
Відмінити
Найкраща відповідь

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!

Аватар
Відмінити
Автор Найкраща відповідь

Anyone?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
6192
0
бер. 15
3475
0
квіт. 16
3489
0
січ. 16
3353
2
вер. 15
6797