Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
997 Widoki

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!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
5
mar 25
3010
1
lut 25
1482
1
lut 24
2865
2
lip 25
511
1
maj 25
1298