只需要在向导窗口的代码执行完之后,返回:
return { 'type': 'ir.actions.client', 'tag': 'reload', }
就可以了,例如:
def some_action(self, cr, uid, ids, context=None): .... res = { 'type': 'ir.actions.client', 'tag': 'reload' } return res