← 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 james,

I have tested your whole scenario. But all are working as expected.
We have made a record rule for the HR/User and HR/Manager.
For that the HR/User can see only his expenses so he can only approve and create his expenses and HR/Manager can see the all user's expenses and also approve it. I have created  the two users and for first user i gave only group HR/User and for the second i gave both HR/user and HR/Manager. So first user can see only his expanses and second can see all user's expanses. 
Hope you will agree with this.

So all are works fine and i am closing this bug now.

I have attached a screen-shots for your reference. So please  check it.

Thanks.

** Changed in: openobject-addons
       Status: Opinion => Invalid

-- 
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:
  Invalid

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