summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/controller_adapter.js
AgeCommit message (Collapse)Author
2020-01-21[REF] web: pivot: use owl_compatibility toolsmcm-odoo
This commit changes ControllerAdapter to a mixin that inherits WidgetAdapterMixin and RendererWrapper now extends ComponentWrapper. This commit also changes PivotController base class/mixin and uses the Odoo legacy custom_events because of the adapter. closes odoo/odoo#43256 Related: odoo/enterprise#7744 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2020-01-14[FIX] web: correctly manage attach-detach callbackPierre Rousseau
d06e67e748ca9c5c538d5e1a1efc4ae798fee707 introduces tools to use owl renderer for a view. However, on_attach_callback and on_detach_callback were not called on super (AbstractController), so not applied to the controlPanel and searchPanel. This commit fixes this issue Task-ID 2171436 closes odoo/odoo#43165 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-01-14[FIX] web: correctly destroy owl rendererPierre Rousseau
d06e67e748ca9c5c538d5e1a1efc4ae798fee707 introduces tools to use owl renderer in a view. However, this owl renderer is never destroyed. This commit fixes this issue. Task-ID 2171436
2019-12-09[IMP] web: add Odoo view compatibility for OWLVincent Schippefilt
Add a base class for a complete OWL renderer Add a compatibility layer for a Odoo controller that uses a OWL renderer. Co-authored-by: Pierre Rousseau <pro@odoo.com>