← 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

 

Hello James,

This is not a customization. The record rule will be set automatically when you install hr_expense module.
The record rule was created in hr_expenses/security/ir.rule.xml file which is written in th __openerp__.py file. So at the installation time the record rule will be set.

Thanks.

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