hay, i have model odoo 12 called hr.expense.advances.approval, this is my code for function
hr.expense.advances.approval
@api.multi def action_submit(self): for adj in s