Odoo Help


how to cancel an approved leave request

Tobias Cock
on 3/29/14, 4:12 AM 5,108 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.

--Hilar AK--



Hilar AK
On 2/9/18, 3:31 AM
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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/29/14, 4:12 AM
Seen: 5108 times
Last updated: 2/9/18, 3:31 AM