Merge pull request #293 from expsa/dev_odex25_mobile

Dev odex25 mobile
This commit is contained in:
AbuzarExp 2024-07-20 14:18:27 +03:00 committed by GitHub
commit bc3a593b26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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") :