定义了一个button,点击后新建一个弹窗,然后点'x'关闭的时候总会刷新一下母页面,请问如何才不刷新??
xml:
    <button name="open_histroy_return" string="退换货历史记录" type="object" icon="" class="oe_highlight"/>
py:
    def open_histroy_return(self, cr, uid, ids, context=None):
        ......
        return {
            'name':u'退换货历史记录',
            'view_type': 'form',
            'view_mode': 'tree,form',
            'domain':[('id', 'in', return_ids)],
            'res_model': 'sale.return',
            'type': 'ir.actions.act_window',
            'target': 'new',
            'nodestroy':True,
            'context': context,
        }
X
xiaolin0199
@xiaolin0199
- 
 Act_window关闭后刷新的问题
- 
 新手:请假流程报错那就是说这个例子本来就是错了,现在的话无法解决了,是吗?