Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
892 Zobrazení

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?',        }
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
bře 25
2671
0
bře 25
584
1
úno 25
1246
1
úno 24
2575
2
čvc 25
133