what is difference between self._context and self.env.context in odoo new api.

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

Next >>

Leave a Reply

Your email address will not be published. Required fields are marked *

Our Clients

ir_attachment_138
ir_attachment_139
ir_attachment_137
ir_attachment_135
ir_attachment_134
ir_attachment_133
Powered by DevIntelle Consulting Service Pvt Ltd.
Copyrights © 2016 DevIntelle Consulting Service Pvt Ltd. All rights reserved.