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

Hi everyone,

I'm currently facing a challenge while trying to create a button in the Odoo form control panel that opens a custom dialog, with an Owl component inside the dialog. My goal is to use Owl to handle the frontend and allow users to upload files through this custom dialog.

Here’s what I’ve tried so far:

  1. Client Actions: I initially tried using client actions, but I realized that they are more suited for creating standalone views, not for embedding dialogs in the form view. I also attempted to use a client action with a target: "new", but this doesn't allow me to customize the dialog footer buttons, which is important for my use case.
  2. Widgets: I also experimented with mounting a widget that would control the component inside the dialog, but I couldn't get it to work properly.

Has anyone successfully implemented a custom dialog like this in Odoo using Owl? I'm really stuck at this point, and I’d appreciate any guidance or examples from those with experience in this area.

I've already checked the documentation but couldn't find a clear solution.

Thanks in advance for your help!

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
bře 25
3026
1
úno 25
1485
1
úno 24
2884
2
čvc 25
519
1
kvě 25
1306