Skip to Content
Menu
This question has been flagged
1870 Views


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
Discard

HI Zak,

@api.multi

def _get_selection(self):

#try like this