openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00276
Re: Possible bug in ConnectorSession
On 04/08/2014 12:09 PM, Mignon, Laurent wrote:
> 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
>
>
>
You are correct.
Can you report a bug please?
Thanks
--
Guewen Baconnier
Business Solutions Software Developer
Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 39
Office: +41 21 619 10 10
http://www.camptocamp.com/
References