From 46cf65d68e9c13193dff4b563b9b0bbb2199dfc1 Mon Sep 17 00:00:00 2001 From: Pierre Rousseau Date: Tue, 3 Dec 2019 09:58:52 +0000 Subject: [REF] web: rewrite pivot view renderer with OWL Because the webclient and other higher level components such as the actionManager are not yet rewritten in OWL, we cannot make a complete migration of the controller and the model to a more OWL-ish code. We have rewritten the renderer completely in OWL, it uses more extensively a template and manages its own state and its sub-components. We did not rewrite the controller, however we have made it inherit from `web.ControllerAdapter` which is a thin compatibility layer used when a odoo controller uses a OWL renderer. In the tests, the only changes are that all the events triggered by the test and handled by OWL must be triggered on DOM nodes directly and not on JQuery elements. closes odoo/odoo#39491 Related: odoo/enterprise#7135 Signed-off-by: VincentSchippefilt Co-authored-by: VincentSchippefilt Co-authored-by: pro-odoo --- addons/web/static/src/xml/pivot.xml | 99 +++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 addons/web/static/src/xml/pivot.xml (limited to 'addons/web/static/src/xml/pivot.xml') diff --git a/addons/web/static/src/xml/pivot.xml b/addons/web/static/src/xml/pivot.xml new file mode 100644 index 00000000000..6e85f1170de --- /dev/null +++ b/addons/web/static/src/xml/pivot.xml @@ -0,0 +1,99 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + +
-- cgit v1.2.3