Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2178 Lượt xem


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 ??
Ảnh đại diện
Huỷ bỏ

HI Zak,

@api.multi

def _get_selection(self):

#try like this