How to Hide button in the opportunity module menu with specific criteria (Sugar 7)?

I need lIke this js
({
    extendsFrom: 'RecordView',
    
    zipJSON: {},

    initialize: function (options) {
        app.view.invokeParent(this, {type: 'view', name: 'record', method: 'initialize', args:[options]});

        var salesStage = this.model.get('sales_stage'); // this is not work

         if (!(salesStage=='Verbal Conf')) {    
             $('a[name=test_form]').hide();
          }
    },  
})