Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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?
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/29/14, 4:12 AM|
|Seen: 5108 times|
|Last updated: 2/9/18, 3:31 AM|