Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Commit config doesn't Effect #77

Open
SamirLadoui opened this issue Sep 5, 2022 · 0 comments
Open

Auto Commit config doesn't Effect #77

SamirLadoui opened this issue Sep 5, 2022 · 0 comments
Labels

Comments

@SamirLadoui
Copy link

SamirLadoui commented Sep 5, 2022

Describe the bug

When i change auto_commit value to False in odoo.config it still commit without calling the function commit in odoo.env

To Reproduce

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

@SamirLadoui SamirLadoui added the bug label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant