← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701982] Re: [hr_expense] By default an "HR user" can approve their own expenses

 

Hi Amit,

I think you're wrong on this: a user *has* to be a member of the "HR
User" group to be able to enter expenses. Otherwise they don't have
permissions to read hr.department and therefore cannot create an expense
record. I've verified this on the latest trunk using the demo data.

This problem is very similar to Bug #689637, which has been accepted and
fixed.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701982

Title:
  [hr_expense] By default an "HR user" can approve their own expenses

Status in Canonical OpenERP:
  Confirmed
Status in OpenObject Addons Modules:
  Opinion

Bug description:
  By default, anyone in the "HR / User" group can approve their own
  expenses.

  A better default would be to allow "HR / Managers" (or even an "HR /
  Expense Approver") to be able to approve expenses. Also, the user
  should only be able to approve the expenses of those that they manage
  (not any expense within the system).

  In general terms, no one in the system should be able to approve their
  own expenses (perhaps there could be a group to represent those top-
  level users that are allowed to do so).





References