Se rendre au contenu
Menu
Cette question a été signalée
1293 Vues

i have a tree view for account group model and i have displayed a button in the first column of this tree view. i want to update records shown in the search more section after clicking on that button. 

how can i do this ?

i have tested returning domain like below in the action of the button 

return {'domain': [('parent_id', '=', self.id)]}

or 

return {'domain': {'parent_id': [('id', '=', self.id)]}

but they didn't worked :((

can somebody please help me on this ??

Avatar
Ignorer