Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1069 Lượt xem

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?',        }
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 3 25
3031
0
thg 8 25
722
1
thg 2 25
1491
1
thg 2 24
2897
2
thg 7 25
524