Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


how to cancel an approved leave request

Tobias Cock
on 3/29/14, 4:12 AM 2,541 views

If an employee would like to cancel an approved leave request, how can this be done? When log in as an administrator and try to delete the approved leave request I get the following message: Warning! You cannot delete a leave which is in validate state.



| 5 2 8
Ahmadabad, India
On 3/29/14, 4:31 AM


Leave request which is in Approved State is not allowed to delete. If you want to delete it, you need to set it in Draft/To Approve state by refusing it first, then reset it as New state. Then you can delete the leave request.

Tobias Cock
On 3/29/14, 1:04 PM

I think the reason for why I could not refuse an approved leave request is because I had changed the “refuse” Activity in the workflow from function to dummy. I did this because I followed the following instructions for enabling email notifications:

Next step is you want to call these server actions from workflow. Setting->Technical->Workflow->Workflow->hr.wkf.holidays confirm->server action->leave_request_manager validate->server action->leave_approval_manager refuse->server action->leave_refusal_manager(Kind:Dummy in Workflow)

See url below for the full instruction.


The strange thing is that I am still not able refuse the original leave request even if I have changed the workflow back from “dummy” to “function”, however all new leave requests can be refused after it has been approved.

Could it be that the leave request that was approved while the “refuse” activity in the work flow was set dummy has inherent this information and therefore will not be impacted when changing the “refuse” activity back to function?

Yes, this can be a possibile cause sometimes.

on 3/31/14, 1:48 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 3/29/14, 4:12 AM
Seen: 2541 times
Last updated: 3/16/15, 8:10 AM