odoomates / odooapps

250 stars 343 forks source link

[FIX]hr_payroll_account: Incorrect user error due to line variable #135

Open ezoer-elementure opened 7 months ago

ezoer-elementure commented 7 months ago

not initialized

It looks like this code was copied from a few lines below where the line variable was initialised through the for loop. This suggestion works but the original code may be better because the code no longer checks if all lines have valid debit and credit accounts.