Skip to content
Snippets Groups Projects
Commit 7c4f200b authored by Samuel Degueldre's avatar Samuel Degueldre
Browse files

[IMP] web: improve core Dialog API

*: base_automation, iap, web_tour

Previously, when trying to create a custom dialog, one would need to
extend the base Dialog class and configure it directly on the class,
using separate templates for the body and footer as necessary. This is
very unidiomatic owl code, and it is much more natural to simply extend
Component, and use Dialog at the root of the template, giving it slots
and props to configure its properties and contents.

This commit changes the dialog API to work as described and adapts code
that uses it.

closes odoo/odoo#89113

Enterprise: https://github.com/odoo/enterprise/pull/26462


Related: odoo/enterprise#26462
Signed-off-by: default avatarGéry Debongnie <ged@odoo.com>
parent e9b87c2c
No related branches found
No related tags found
Loading
Showing
with 364 additions and 395 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment