Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
2
الردود
35097
أدوات العرض
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.
Both are same, both will give same result
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل