FIX typo get_action_values class
This commit is contained in:
parent
a7aec6b257
commit
d4d41388da
|
@ -25,7 +25,7 @@ class Action(metaclass=PoolMeta):
|
|||
__name__ = 'ir.action'
|
||||
|
||||
@classmethod
|
||||
def get_action_values(self, type_, action_ids, columns=None):
|
||||
def get_action_values(cls, type_, action_ids, columns=None):
|
||||
pool = Pool()
|
||||
ActionDashboard = pool.get('babi.action.dashboard')
|
||||
|
||||
|
@ -64,4 +64,4 @@ class Menu(metaclass=PoolMeta):
|
|||
action = Action(action_id)
|
||||
if action.type == 'babi.action.dashboard':
|
||||
action = ActionDashboard(action_id)
|
||||
return super()._get_action(action)
|
||||
return super()._get_action(action)
|
||||
|
|
Loading…
Reference in New Issue