I am using Odoo v8 and my client wants to have the accrual function on leave management. Unfortunately the current apps for that haven't been ported to v8 or v9
Is there a way i can script an automated action that creates an Allocation Request , then links the allocation request to a particular Leave Type and Employee Tags and adds a particular number of days eg 1.75? This should be run every month and if possible make it approved.
Any help will be appreciated.
You can write script in Automated action, which will find the start_date in Employee's contract (which we will assume as joining date of the employee) and will compare the date on which scheduler is running,
And accordingly we will compute the number of days to be allocated to employee, if leaves has to be assigned on pro-rata basis, or else we will allocate overall leaves which are configured in leaves master.
The Solution you are thinking of is absolutely possible..
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
|Asked: 7/5/16, 10:16 PM|
|Seen: 510 times|
|Last updated: 7/8/16, 8:24 AM|