Hello Chirag A Dodiya (cod)
self._context and self.env.context is same.
self._context is the shortcut of self.env.context
self._context and self.env.context gives the context of the current class.
You can refer this slide : http://www.slideshare.net/openobject/odoo-from-v7-to-v8-the-new-api
Slide number 16
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/29/14, 12:43 AM|
|Seen: 7868 times|
|Last updated: 6/1/16, 1:48 AM|