hunk.code_window:                     labels = label_obj.browse(cr, uid, [row_id, answer_id], context=context)
                   filter_display_data.append({'question_text': question.question, 'labels': [label.value for label in labels]})
           return filter_display_data
       def prepare_result(self, cr, uid, question, current_filters=[], context=None):
           ''' Compute statistical data for questions by counting number of vote per choice on basis of filter '''
  
hunk.labels: keep keep keep keep replace keep
hunk.after_edit:     def prepare_result(self, cr, uid, question, current_filters=None, context=None):
  
hunk.file_path: addons/survey/survey.py
hunk.type: replace
file: # -*- encoding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  {
      'name': 'Assets Management',
      'version': '1.0',
      'depends': ['account'],
      'author': 'OpenERP S.A.',
      'description': """
  Financial and accounting asset management.
  ==========================================
  
  This Module manages the assets owned by a company or an individual. It will keep 
  track of depreciation's occurred on those assets. And it allows to create Move's 
  of the depreciation lines.
  
      """,
      'website': 'http://www.openerp.com',
      'category': 'Accounting & Finance',
      'sequence': 32,
      'demo': [ 'account_asset_demo.xml'],
      'test': [
          'test/account_asset_demo.yml',
          'test/account_asset.yml',
          'test/account_asset_wizard.yml',
      ],
      'data': [
          'security/account_asset_security.xml',
          'security/ir.model.access.csv',
          'wizard/account_asset_change_duration_view.xml',
          'wizard/wizard_asset_compute_view.xml',
          'account_asset_view.xml',
          'account_asset_invoice_view.xml',
          'report/account_asset_report_view.xml',
      ],
      'auto_install': False,
      'installable': True,
      'application': False,
  }
  # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
  
  