← Back to team overview

openerp-india team mailing list archive

[Bug 1129007] Re: Record rule 'Employee HR Analytic Timesheet' to restrictive?

 

*** This bug is a duplicate of bug 1094135 ***
    https://bugs.launchpad.net/bugs/1094135

** This bug has been marked a duplicate of bug 1094135
   [7.0]Access error on project task work (Document type: hr analytic timesheet, Operation: create)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1129007

Title:
  Record rule 'Employee HR Analytic Timesheet' to restrictive?

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  We ran into write security errors on entering hours spent for a
  project task.  The group and privileges are configured properly and it
  turned out that the record rule ' Employee HR Analytic Timesheet'
  caused the error.

  
  The definition of this rule is: [('user_id', '=', user.id)], (rule applies to read/update/write/create) 

  which I interpret as  'The user can only manipulate timesheet lines
  for him/herself'

  The task where we encountered this bug had time registration of one
  user (this went fine). The error occurred when a second user tried to
  register timesheet lines appending to the existing.

  Disabling the record rule allowed the time registration to go through.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1129007/+subscriptions