跳至內容
選單
此問題已被標幟
1017 瀏覽次數

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
2942
0
3月 25
715
1
2月 25
1445
1
2月 24
2838
2
7月 25
477