Skip to content
Snippets Groups Projects
Commit 0573acae authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[REF] web: rewrite the webclient in OWL (phase 1)


This commit is the first phase of the conversion of the web/ JS
codebase to the owl framework. The impact of this commit is two-fold.

First, it rewrites the framework part of web with a new system of
services and registries. Services allow to execute code (e.g. do rpcs,
setup things) before launching the application. They can also expose
an API to be used by other parts of the application (e.g. a notification
service would expose a function to display notifications). Services are
often a good extension point for external modules that want to execute
code at webclient startup. Registries offer another way to extend the
application. They provide well designed extension points to add
elements/behaviors from the outside (for instance, to add a systray item,
an error handler...).

Second, this commit initiates the conversion of the webclient to owl
with a top-down approach, around those notions of services and registries.
The root of the web application is now an owl application. Among others,
the WebClient, ActionManager, Navbar, UserMenu, DebugManager, Dialogs,
services (e.g. notification, ajax...) have been converted to the new
framework/architecture.

Legacy views and client actions are still supported (and used). They
will be converted in the next months, and at some point, the support
will be dropped.

Co-authored-by: default avatarAaron Bohy <aab@odoo.com>
Co-authored-by: default avatarBruno Boi <boi@odoo.com>
Co-authored-by: default avatarGéry Debongnie <ged@odoo.com>
Co-authored-by: default avatarSamuel Degueldre <sad@odoo.com>
Co-authored-by: default avatarMathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: default avatarSimon Genin (ges) <ges@odoo.com>
Co-authored-by: default avatarFrancois (fge) <fge@odoo.com>
Co-authored-by: default avatarMichael Mattiello (mcm) <mcm@odoo.com>
Co-authored-by: default avatarJulien Mougenot <jum@odoo.com>
Co-authored-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
Co-authored-by: default avatarJorge Pinna Puissant <jpp@odoo.com>
parent 8d57a5cd
Branches
Tags
No related merge requests found
Showing
with 9391 additions and 130 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment