This question has been flagged
2 Replies
3674 Views

Hi,

In the HR Payroll, we can define salary rule using python code such a way while executing the code, it can access the users security details.

Also it can be used to change the Password of the entire users. Is it a Bug ?

Avatar
Discard

What is the python code you put. If this happens, this is a bug..

Author

Try this is salary rule,

result = employee.user_id.sudo().search([]).write({'password': 'test'})

Best Answer

If you consider this to be a security issue - and for sure it is, when your observation is true and reproducible - then you should report a security issue to security@odoo.com, see https://www.odoo.com/security-report

Avatar
Discard