Skip to content

Commit

Permalink
[FIX]Metodo no encontrado
Browse files Browse the repository at this point in the history
  • Loading branch information
dansanti committed Apr 6, 2018
1 parent 072a882 commit e2c4e59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion l10n_cl_hr/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"Francisco Lorca <fcolorca1979@gmail.com>",
],
'license': 'AGPL-3',
'version': '11.0.1.0.11',
'version': '11.0.1.0.12',
'description': """
Chilean Payroll & Human Resources.
==================================
Expand Down
7 changes: 3 additions & 4 deletions l10n_cl_hr/model/hr_holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def _get_number_of_days(self, date_from, date_to, employee_id):
return math.ceil(time_delta.days + float(time_delta.seconds) / 86400)


@api.onchange('holiday_status_id')
def _onchange_holiday_status_id(self):
self._check_and_recompute_days()
# @api.onchange('holiday_status_id')
# def _onchange_holiday_status_id(self):
# self._check_and_recompute_days()



Expand Down Expand Up @@ -74,4 +74,3 @@ def _onchange_date_to(self):
####################################################
# ORM Overrides methods
####################################################

0 comments on commit e2c4e59

Please sign in to comment.