In ConnectorSession, change_context fails if the self._context hasn't been initialized
Bug #1304319 reported by
Laurent Mignon (Acsone)
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenERP Connector |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
In the ConnectorSession, we can use the context managed method 'change_context' to change values in the current context. That only works if the self._context has been initialized.
Related branches
lp:~acsone-openerp/openerp-connector/7.0-bug-1304319
- Sébastien BEAU - http://www.akretion.com: Approve (not test, code review)
- Guewen Baconnier @ Camptocamp: Approve (code review)
- Laetitia Gangloff (Acsone) (community): Approve (code)
-
Diff: 36 lines (+17/-1)2 files modifiedconnector/session.py (+1/-1)
connector/tests/test_session.py (+16/-0)
| Changed in openerp-connector: | |
| status: | New → Fix Committed |
| Changed in openerp-connector: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.