← Back to team overview

openerp-connector-community team mailing list archive

Possible bug in ConnectorSession

 

Hi,

In the ConnectorSession, we can use the context managed method
'change_context' to change values in the current context. Is-it an expected
behavior to only works if the self._context has been initialized? IOW why
not use orignial_context = self.context in place of original_context =
self._context to avoid "AttributeError: 'NoneType' object has no attribute
'copy'"?

Regards,

lmi
-- 
*Laurent Mignon*
*Senior Software Engineer*

*Tel : +352 20 21 10 20 32*
*Fax : +352 20 21 10 21*
*Gsm : +352 691 506 009*
*Email: laurent.mignon@xxxxxxxxx <laurent.mignon@xxxxxxxxx>*

*Acsone SA, Succursale de Luxembourg*
*22, Zone industrielle*
*L-8287 Kehlen, Luxembourg*
*www.acsone.eu <http://www.acsone.eu>*

Follow ups