Skip to Content
Menu
This question has been flagged
673 Views

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
Discard
Related Posts Replies Views Activity
5
Mar 25
2009
1
Feb 25
786
1
Feb 24
2105
1
May 25
405
0
May 25
272