Skip to content

Auto Commit config doesn't Effect #77

@SamirLadoui

Description

@SamirLadoui

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions