commit
3b13b37d91
|
|
@ -310,8 +310,8 @@ class OverTimeController(http.Controller):
|
|||
s.line_ids_over_time.get_max_remain_hours()
|
||||
if s.transfer_type == 'accounting' and body.get("account") and body.get("journal"):
|
||||
vals.update({
|
||||
'account_id': body['account'],
|
||||
'journal_id': body['journal'],
|
||||
'account_id':int( body['account']),
|
||||
'journal_id': int(body['journal']),
|
||||
})
|
||||
s.benefits_discounts = False
|
||||
elif s.transfer_type == 'payroll' and body.get("rule") :
|
||||
|
|
|
|||
Loading…
Reference in New Issue