[IMP] web: add legacy view logging in debug mode
This helps tracking views that still need to be converted, like we already do for fields. closes odoo/odoo#101676 X-original-commit: aea1b4af1d88b19392eb9f42a42fd970017d5630 Signed-off-by: Géry Debongnie <ged@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
@@ -174,6 +174,9 @@ function registerView(name, LegacyView) {
|
||||
Controller,
|
||||
};
|
||||
viewRegistry.add(name, legacyView);
|
||||
if (odoo.debug) {
|
||||
console.log(`Views: using legacy view: ${name}`);
|
||||
}
|
||||
}
|
||||
|
||||
// register views already in the legacy registry, and listens to future registrations
|
||||
|
||||
Reference in New Issue
Block a user