fix
This commit is contained in:
parent
5fee16f23a
commit
e932f0c730
|
|
@ -18,10 +18,10 @@ _logger = logging.getLogger(__name__)
|
|||
import re
|
||||
|
||||
class LeaveController(http.Controller):
|
||||
|
||||
def get_return_data(self,hol,approvel=None):
|
||||
value = {'id': hol.id, 'type': hol.holiday_status_id.name,
|
||||
'type_value': hol.holiday_status_id.id,
|
||||
'reason_msg': hol.reject_reason or "",
|
||||
'alternative_chick': hol.holiday_status_id.alternative_chick,
|
||||
'replacement_id': hol.replace_by.id if hol.replace_by else False,
|
||||
'replacement_name': hol.replace_by.name if hol.replace_by else False,
|
||||
|
|
|
|||
Loading…
Reference in New Issue