web icon indicating copy to clipboard operation
web copied to clipboard

[17.0][MIG] web_form_banner: Migration to 17.0

Open AungKoKoLin1997 opened this issue 2 months ago • 2 comments

Based on https://github.com/OCA/web/pull/3298

The module adds configurable banners for backend form views. Define rules per model (and optionally per view) to show context-aware alerts with a chosen severity (info/warning/danger).

Messages can be plain text with ${placeholders} or fully custom HTML; visibility, severity, and values are computed server-side via a safe Python expression.

Banners are injected just before or after a target node (default: //sheet) and refresh on form load/save/reload.

@qrtl QT5747

AungKoKoLin1997 avatar Oct 07 '25 10:10 AungKoKoLin1997

Dynamic banner update seems a bit slower than before. Is there room for improvement?

yostashiro avatar Oct 07 '25 13:10 yostashiro

Dynamic banner update seems a bit slower than before. Is there room for improvement?

@yostashiro I compared between v16 and v17 in runboat with the latest changes and it is like the same.

AungKoKoLin1997 avatar Oct 08 '25 01:10 AungKoKoLin1997