Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
986 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
5
Mar 25
3008
1
Feb 25
1477
1
Feb 24
2864
2
Jul 25
509
1
Mei 25
1297