Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2199 Visninger


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 ??
Avatar
Kassér

HI Zak,

@api.multi

def _get_selection(self):

#try like this