Estoy usando openerp web y el servidor 5.15. ¿Hay alguna manera de matar la sesión del usuario? Cuando él / ella cerró la ventana del navegador. Si no, ¿hay alguna forma de javscript que pueda implementar en la misma?

Un enfoque es hacer una XMLHttpRequest sincrónica cuando el navegador dispara la unload .

     sync unload   $(document).on("ready", function(){ $(window).on("unload", function( event ) { // This example was setup using jsfiddle and will not be // a "drop in" solution $.ajax({ url: "/echo/json/", type: "get", // Setting "async" to "false" will block the browser // until the response is returned. This ensures that // your call is made before the browser changes to the // new location async: false, data: { foo: "bar" }, success: function( data ) { // If you have the console open, // you'll see this logged before the page reloads console.log( data ); } }); }); });    unload this page be sure to open your console to see the result of the synchronous XHR call   

Vea el ejemplo de trabajo aquí: http://jsfiddle.net/rwaldron/mHd…

Y el violín del código aquí: http://jsfiddle.net/rwaldron/mHdqw/