Open SamirLadoui opened 2 years ago
When i change auto_commit value to False in odoo.config it still commit without calling the function commit in odoo.env
False
odoo.config
odoo.env
import odoorpc odoo = odoorpc.ODOO('localhost', port=8069) odoo.login('db', 'email', 'password') odoo.config['auto_commit'] = False
then call write function to a record
Expected behavior Changes don't apply till i call commit function in odoo.env
Describe the bug
When i change auto_commit value to
False
inodoo.config
it still commit without calling the function commit inodoo.env
To Reproduce
then call write function to a record
Expected behavior Changes don't apply till i call commit function in
odoo.env