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


Hello,

I am using odoo10 and i  have declared my _get _selection function as follows:

def _get_selection(self, cursor, user_id, context=None):

when i try to install my module i get this erreur: 

_get_selection() takes at least 3 arguments (1 given)
Any help please ??
อวตาร
ละทิ้ง

HI Zak,

@api.multi

def _get_selection(self):

#try like this