summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-01-16 20:50:19 +0100
committerAaron Bohy <aab@odoo.com>2018-01-16 20:50:19 +0100
commit7b6056a0b580d3b9f335344c946132767a10981c (patch)
treebdec228e8eb3973ada0defc66d7aedaac7b82985 /addons/web/static/src/js/views/basic/basic_renderer.js
parent285d95e946e5a15139c961e30dbe3598e0d99f6a (diff)
parentb20a6f60ae67ed1c8e33509ee4460934d8378f9d (diff)
[MERGE] web,*: ActionManager/ViewManager refactoring
This branch is the first part (out of 3) of the refactoring of the ActionManager and ViewManager layer of the webclient. The main changes are: - there is no ViewManager anymore, its work is now handled by the ActionManager itself, but isolated in a specific file ; this eases a lot of things, as the breadcrumbs handling for example. - the ActionManager code is converted to the new coding principles and guidelines ; mainly, children widgets communicate with it by triggering events up, and not by function calls anymore. - the ActionManager layer is now testable, and a lot of tests have already been written. - the code in other addons has been adapted consequently. What's coming next: - introduce the 'AbstractAction' Widget, and make client actions and view controllers inherit from it ; this widget will implement a common API that could be used uniformly by the ActionManager (e.g. restore(), canBeLeft(), renderButtons(), getTitle()...). - move the ControlPanel handling from the ActionManager to the AbstractAction.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions