Beruflich Dokumente
Kultur Dokumente
EXPERIENCE
100 000 years ago: GTK app is dropped, web client evolves
The Past: a brief history of web client
100 000 years ago: GTK app is dropped, web client evolves
<template id="web.assets_common">
<link rel="stylesheet" type="text/css" href="/web/static/lib/jquery.ui/jquery-ui.css"/>
<link rel="stylesheet" type="text/less" href="/web/static/src/less/fonts.less"/>
<link rel="stylesheet" type="text/less" href="/web/static/src/less/navbar.less"/>
100 000 years ago: GTK app is dropped, web client evolves
...
return {...};
});
The Past: a brief history of web client
100 000 years ago: GTK app is dropped, web client evolves
Mid-late 2015: v9
● New design
● Split community/enterprise
● Move toward business apps
● Large refactorings
The Past: a brief history of web client
100 000 years ago: GTK app is dropped, web client evolves
2016: v10
● Stabilisation,
● performance improvements,
● Onboarding,
● Odoo Studio
The Past: a brief history of web client
The Present:
2 Strengths and weaknesses
The Present: strengths and weaknesses
Menu Items
Domains
Actions
Filters
Views
Contexts
● Form view
● Menus
● Business logic
● App switcher background
● Logging
● import/export
● ...
Code/Interface = data
reports ...
Other challenges
New views
View
New views
controller
View
view
New views
Benefits: unit testable, no more flickering, about 40% less LOC
Design principles
Roadmap (unofficial)
● Complete rewrite of views: form, list, kanban, …
● Refactor rest of the web client (view manager/action manager /
web client / session
● Rethink widget life cycle
● Unit test as much as possible
● Document core classes
EXPERIENCE
Thank you.
#odooexperience