Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4245 มุมมอง

Hello, I am new at openERP7, I want to know the function of the parameter 'context'. Thank you for your answer?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi In OpenERP context is a dictionary parameter used to define default values, which are used many time and some special values you want this is a default parameter ( means you can use send this DIC variable from fuction call or not ) and use to default values like your field name "name" context={'default_name' : 'xyz'}

example : language value context={'lang':'US_en'}

อวตาร
ละทิ้ง