← Back to team overview

openerp-india team mailing list archive

[Bug 1069878] [NEW] [6.1/trunk] it should not be possible to delete confirmed expenses

 

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

Public bug reported:

Hello,

When an employee has submitted an Expense, it should not be possible to
delete it unless it is back in draft state.

Timsheets show the correct behaviour in this respect.

How to reproduce.

1. install 6.1 (or trunk) with module hr_expense
2. as an employee, create an expense and submit it to manager
3. have the manager approve it
4. as the employee, delete the expense -> it works but this should raise an error unless the expense is in draft state

This bug is related to lp:1068625

Best regards,

-sbi

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** This bug has been marked a duplicate of bug 1069879
   hr_expense: an employee is able to delete an approved expense

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

Title:
  [6.1/trunk] it should not be possible to delete confirmed expenses

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  When an employee has submitted an Expense, it should not be possible
  to delete it unless it is back in draft state.

  Timsheets show the correct behaviour in this respect.

  How to reproduce.

  1. install 6.1 (or trunk) with module hr_expense
  2. as an employee, create an expense and submit it to manager
  3. have the manager approve it
  4. as the employee, delete the expense -> it works but this should raise an error unless the expense is in draft state

  This bug is related to lp:1068625

  Best regards,

  -sbi

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


Follow ups

References