title: Javascript - call super on parents parent?
body: <p>I have defined this extension of current custom javascript view in Odoo:</p>
  
  <pre><code>openerp.account_move_journal_test = function(instance){
      var _t = instance.web._t,
          _lt = instance.web._lt;
      var QWeb = instance.web.qweb;
      instance.web.account.QuickAddListView.include({
          init: function(){
              this._super.apply(this, arguments);
              console.log("QuickAddListView modified init")
          },
      });    
  };
  </code></pre>
  
  <p>Now for better representation I added console log in <code>QuickAddListView</code> and in <code>ListView</code>, which are parents that are called using <code>_super</code>.</p>
  
  <p>So if I run it like this, I get these prints:</p>
  
  <pre><code>'ListView init'  // This is parent of QuickAddListView
  'QuickAddListView Init'
  'QuickAddListView modified init'
  </code></pre>
  
  <p>The order of constructors is this <code>View</code> -> <code>ListView</code> -> <code>QuickAddListView</code></p>
  
  <p>So all of this is printed like it should, but what I want is to modify <code>init</code> in a way that it would directly call <code>ListView</code> and skip <code>QuickAddListView</code> original <code>init</code>. </p>
  
  <p>So after that it should print only this (meaning original QuickAddListView init was not called):</p>
  
  <pre><code>'ListView init'  // This is parent of QuickAddListView
  'QuickAddListView modified init'
  </code></pre>
  
  <p>Is there a way in javascript to specify exact parent you want to call? So instead of calling that everything is in a chain, it would start from where you specify (Like in my case from <code>ListView</code>)?</p>
  
  <p>For example in Python you can do something like this:</p>
  
  <pre><code>from some_module import SomeBaseClass
  
  class CustomBase(SomeBaseClass):
      def m1(self):
          super(CustomBase, self).m1()
  
  class Custom(CustomBase):
      def m1(self):
          # skip CustomBase
          super(CustomBase, self).m1() 
  </code></pre>