Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: [8.0] AccessError: (Document type: hr.payslip, Operation: read)') - using Human Resources / Manager

by
ClosingAp Open Source Integrators Europe, LDA, Daniel Reis
- 05/11/2015 22:31:46
Nor sure if its the same, but I have found similar Issues with "related" (computed) fields.
I added a related field to a model, and then saving other data on it somehow also triggered a write operation on the related model, even though the related field was readonly in the form.

Other than adding the permission, I found that  making the related field readonly in the model also "solved", but I suspect of an ORM bug.

--Daniel


Às 14:37 de 05-11-2015, moy lop escreveu:
<blockquote cite="mid:CAGro9RXADnxe=pTe4a38Wcp0fvK24E6=Q76w6Rfq7+vbuV4rJw@mail.gmail.com" type="cite">

You could create a new issue in https://github.com/odoo/odoo/issues/new
With next template: https://github.com/odoo/odoo/wiki/Contributing#reporting-issues

El 05/11/2015 06:23 a.m., "Salton Arthur Massally" <smassally@idtlabs.sl> escribió:

Hello Community,

I keep getting this error when creating payslip using Human Resources / Manager role;

AccessError: ('AccessError', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: hr.payslip, Operation: read)')

hr.payslip model permission has not being touched and looks fine; tested on base with only hr_payroll and requirement installed also tested on latest runbot.odoo.com 2 days ago.

Is this happening with anyone else?

Merci



--
<img src="cid:part1.02010707.00060600@idtlabs.sl" border="0">

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe