
Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn
由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解
本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!
开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号
如果您登录系统碰到问题,请在微信公众号留言:
Act_window关闭后刷新的问题
-
定义了一个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,
}