跳至内容
菜单
此问题已终结
1148 查看

I'm trying to create a OWL component that is registered to a client action registry. My goal is to open this client action using the target 'new' in a dialog modal but i have no control over the params of the dialog I would love to be able to customise the buttons of the footer currently I have just an "Ok" primary button. 



I tried looking in the source code of the web addon with no luck :(

  def action_image_template_js(self):        return {            'type': 'ir.actions.client',            'tag': 'image_annotator_js',             'target': 'new',            'context': {'active_id': self.id},            'name': 'Test?',        }
形象
丢弃
相关帖文 回复 查看 活动
5
3月 25
3294
0
8月 25
722
1
2月 25
1605
1
2月 24
3025
2
7月 25
757