odoo response = f(*args, **kw) TypeError: call_button() missing 1 required positional argument: 'method'

出现这种情况的有一种可能性是,在xml 中的 button 中,使用event提交时,type如果设置了object,则会报出这个错误

posted @ 2020-12-25 10:18  以写不出bug为目标  阅读(276)  评论(0编辑  收藏  举报