I am using Odoo 13 and creating my custom module wherein I am inheriting the Time-off module to make changes in it. It is under hr_holidays.
I want to create a feature where the user can request a combination of time off types for eg: he takes 1 day from sick leave and 1 day from paid leave which sums up to 2 days of total leave, now the leaves should be deducted from the respective time off types only.
I tried to add a second dropdown but it was not updating properly. Please provide a solution to this and approach towards this.
Thanks in advance.
model name : hr.leave view name : hr.leave.view.form, externalid = hr_holidays.hr_leave_view_form