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

Not able to Submit timesheet to my manager.

By
Sufyan
on 10/27/14, 7:29 AM 2,086 views

Hi,

I have created two users ( User and Manager) in OpenERP ( 7.x) . User has employee access and manager has officer access in HR Access rights. And I assigned Manager as manager of user. But when I try to submit my timesheet by hitting on "SUBMIT MANAGER" button by login in as User, I am getting the following error.

As a result of this, User is not able to submit his timesheet to his manager.

"Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator. (Document type: Employee, Operation: read)"

Also have given full access right to employee as Read Access Write Access Create Access and Delete Access.

Please let me know if somewhere there is mis-configuration or need some more configuration.

0
André Antoine
On 10/27/14, 9:08 AM

Hello,

maybe you missed something on the employee linked to your employee. On the employee form, in the "HR settings" tab, did you set a value on the following fields :

- product

- analytic journal

 

?

 

Hi, I have value in both of the field. The same user if i give Human Resource / Officer access, user is able to submit the timesheet to the manager

Sufyan
on 10/28/14, 2:20 AM

Hum weird, do you work with the muli company feature?

André Antoine
on 10/28/14, 2:56 AM
No i am not working on the mutlicompany

On Tue, Oct 28, 2014 at 12:26 PM, André Antoine <antoine.andre1986@mail.odoo.com> wrote:

Hum weird, do you work with the muli company feature?

Functional Analyst Odoo working @ Realdolmen


Sent by Odoo Inc. using Odoo about Forum Post False



--
Regards,
Sufyan Reshamwala
"There is no Gods but God, and Prophet Muhammad ( صلى الله عليه وسلم‎) is the Last Messenger of God"
mobile,valid: +91-9821-304-301 
Sufyan
on 10/28/14, 2:57 AM

ok, maybe take a look at the record rules...this kind of error message is often leaked to those rules. Go to Settings/Technical/Security/Record rules. Then search for "employee", you'll find at least 3 rules. Then set theses rules inactive (untick active) one by one and test your TS submission (don't forget to refresh the page if you work with several tab or browser)

André Antoine
on 10/28/14, 3:11 AM
I tried all of them but the error seems to be bit rigid.

It seems to be a bug which is been faced in all database i have checked where in user is not allowed to submit there timesheet to there manager with Employee access in hr, if access is turned to officer they are able to submit it.

On Tue, Oct 28, 2014 at 12:41 PM, André Antoine <antoine.andre1986@mail.odoo.com> wrote:

ok, maybe take a look at the record rules...this kind of error message is often leaked to those rules. Go to Settings/Technical/Security/Record rules. Then search for "employee", you'll find at least 3 rules. Then set theses rules inactive (untick active) one by one and test your TS submission (don't forget to refresh the page if you work with several tab or browser)

Functional Analyst Odoo working @ Realdolmen


Sent by Odoo Inc. using Odoo about Forum Post False



--
Regards,
Sufyan Reshamwala
"There is no Gods but God, and Prophet Muhammad ( صلى الله عليه وسلم‎) is the Last Messenger of God"
mobile,valid: +91-9821-304-301 
Sufyan
on 10/28/14, 4:01 AM
I got it fixed 

On Tue, Oct 28, 2014 at 1:31 PM, Sufyan <sufyan9@gmail.com> wrote:
I tried all of them but the error seems to be bit rigid.

It seems to be a bug which is been faced in all database i have checked where in user is not allowed to submit there timesheet to there manager with Employee access in hr, if access is turned to officer they are able to submit it.

On Tue, Oct 28, 2014 at 12:41 PM, André Antoine <antoine.andre1986@mail.odoo.com> wrote:

ok, maybe take a look at the record rules...this kind of error message is often leaked to those rules. Go to Settings/Technical/Security/Record rules. Then search for "employee", you'll find at least 3 rules. Then set theses rules inactive (untick active) one by one and test your TS submission (don't forget to refresh the page if you work with several tab or browser)

Functional Analyst Odoo working @ Realdolmen


Sent by Odoo Inc. using Odoo about Forum Post False



--
Regards,
Sufyan Reshamwala
"There is no Gods but God, and Prophet Muhammad ( صلى الله عليه وسلم‎) is the Last Messenger of God"
mobile,valid: +91-9821-304-301 



--
Regards,
Sufyan Reshamwala
"There is no Gods but God, and Prophet Muhammad ( صلى الله عليه وسلم‎) is the Last Messenger of God"
mobile,valid: +91-9821-304-301 
Sufyan
on 10/29/14, 8:30 AM

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: 10/27/14, 7:29 AM
Seen: 2086 times
Last updated: 3/16/15, 8:10 AM