[15.0][MIG] web_form_banner: Migration to 15.0
Based on https://github.com/OCA/web/pull/3286
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 Please confirm my commits and sort out the commit history. I think my changes can be squashed into the migration commit but comment the changed points.
@AungKoKoLin1997 Can you also please switch the archive box icon to the banner?
@AungKoKoLin1997 Just noticed an issue with banner presentation. Can you please follow up on this?
Just noticed an issue with banner presentation. Can you please follow up on this?
@yostashiro Fixed it and explain the changes in the migration commit message as well.
@yostashiro I added some changes that are to make consistent with odoo 16 changes. Please review my last two commits.