Skip to content
Snippets Groups Projects
Commit b37677b9 authored by David Tran's avatar David Tran
Browse files

[IMP] hr_holidays: separate value preparation and record creation into 2


methods for others to extend functionality

1. _prepare_resource_leave_vals_list() that will prepare value for
creation
later in _create_resource_leave()
2. _create_resource_leave() now calls the
_prepare_resource_leave_vals_list()
instead of having done the job itself

closes odoo/odoo#84775

Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 09b91b4b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment