diff -r 47c768943f70 modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js	Wed Jan 11 11:27:40 2017 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js	Thu Jan 12 12:41:25 2017 +0100
@@ -42,6 +42,51 @@
     this.recentManager.recentNum = 5;
   }
 
+  isc.ClassFactory.defineClass('OBTabMenu', isc.Menu);
+
+  isc.OBTabMenu.addProperties({
+    width: 150,
+    data: [{
+      title: 'Close this tab',
+      click: function (tab) {
+        console.log('close', tab.title, tab, arguments);
+        OB.MainView.TabSet.removeTab(tab)
+      }
+    }, {
+      title: 'Close other tabs',
+      click: function (notToCloseTab) {
+        console.log('close others', notToCloseTab.title, notToCloseTab, arguments);
+        OB.MainView.TabSet.tabs.forEach(function (tab) {
+          if (tab.canClose && tab !== notToCloseTab) {
+            console.log('  close', tab.title)
+            OB.MainView.TabSet.removeTab(tab)
+          }
+        });
+      }
+    }, {
+      title: 'Close tabs to the right',
+      click: function (notToCloseTab) {
+        console.log('close right', notToCloseTab.title, notToCloseTab, arguments);
+
+        var position = OB.MainView.TabSet.tabs.length - 1,
+            tab;
+        tab = OB.MainView.TabSet.tabs[position];
+        //		 debugger
+        while (position > 2 && tab !== notToCloseTab) {
+          if (tab.canClose) {
+            console.log('  close', tab.title)
+            OB.MainView.TabSet.removeTab(position)
+          }
+          position -= 1;
+          tab = OB.MainView.TabSet.tabs[position];
+        }
+
+      }
+    }]
+  });
+
+  window.tabMenu = isc.OBTabMenu.create();
+
   ViewManager.prototype = {
 
     // if true then certain functions are disabled
@@ -181,6 +226,8 @@
       // see https://issues.openbravo.com/view.php?id=15953
       if (viewInstance.notClosable) {
         tabDef.canClose = false;
+      } else {
+        tabDef.contextMenu = window.tabMenu;
       }
 
       // 'Workspace' tab should be always in first position,
