Hello there,
Recently I'm trying to figuring out how Odoo Payroll works. Later then, I'm having an issue where I can't compute my payslip, it says that I submitting a wrong code in my Salary Rules
so here's my code
if contract.wage <= 50000000:
result = -(contract.wage * 0.05)
else:
result = -(contract.wage * 0.15)
I don't really know if it's the right code for If-Else statement haha. I really appreciate any kind of help from you guys, thank you