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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 ?
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
What is the python code you put. If this happens, this is a bug..
Try this is salary rule,
result = employee.user_id.sudo().search([]).write({'password': 'test'})