Odoo Help

5
2 Answers
19
Avatar

Kazim Mirza | Founder at TechUltra Solutions

--Kazim Mirza | Founder at TechUltra Solutions --
846
| 3 3 5
Ahmedabad, India
--Kazim Mirza | Founder at TechUltra Solutions --
 
Kazim Mirza | Founder at TechUltra Solutions
8/29/14, 1:11 AM

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 

Thank You.

0
Avatar

subbarao

--subbarao--

1075
| 5 1 5
Chennai, India
--subbarao--


subbarao
10/23/18, 12:32 AM

Both are same, both will give same result

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now