Hello, I need a help. To validate an expense sheet, the user must have the specific role "Human Resources - Expenses". To avoid people having this role to validate their own expense sheets, I need to check that the employee_id is different from the uid (user_valid) in the workflow function expense_accept() in the file hr_expense.py. How can i make this test.
Best regards, MBY. _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
