# 返回
return {
‘type’: ‘ir.actions.cus_function’,
‘func’: “function play(){new signDialog(self,”+ ‘{params}’.format(params = params) + “).open()}”,
}
或
# 返回
return {
‘type’: ‘ir.actions.cus_function’,
‘funcName’: ‘_handleSign’,
‘args’: [params]
}