[WIP] point_of_sale: trying to make the web client instanciation work
authorFrederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com>
Tue, 1 Jul 2014 14:14:58 +0000 (16:14 +0200)
committerFrederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com>
Tue, 1 Jul 2014 14:14:58 +0000 (16:14 +0200)
addons/point_of_sale/controllers/main.py

index 100b315..fb2a971 100644 (file)
@@ -27,7 +27,7 @@ class PosController(http.Controller):
                  wc.show_application = function(){
                      wc.action_manager.do_action("pos.ui");
                  };
-                 wc.appendTo($(document.body));
+                 wc.setElement($(document.body));
                  wc.start();
                  """