hunk.code_window:     @api.cr_uid_ids_context
       def open_barcode_interface(self, cr, uid, picking_ids, context=None):
           final_url="/barcode/web/#action=stock.ui&picking_id="+str(picking_ids[0])
           return {'type': 'ir.actions.act_url', 'url':final_url, 'target': 'self',}
       @api.cr_uid_ids_context
       def do_partial_open_barcode(self, cr, uid, picking_ids, context=None):
           self.do_prepare_partial(cr, uid, picking_ids, context=context)
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:         final_url="/stock/barcode/#action=stock.ui&picking_id="+str(picking_ids[0])
  
hunk.file_path: addons/stock/stock.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 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': 'Intrastat Reporting',
      'version': '1.0',
      'category': 'Accounting & Finance',
      'description': """
  A module that adds intrastat reports.
  =====================================
  
  This module gives the details of the goods traded between the countries of
  European Union.""",
      'author': 'OpenERP SA',
      'website': 'http://www.openerp.com',
      'depends': ['base', 'product', 'stock', 'sale', 'purchase'],
      'data': [
          'security/ir.model.access.csv',
          'report_intrastat_view.xml',
          'intrastat_report.xml',
          'report_intrastat_data.xml',
          'views/report_intrastatinvoice.xml'
      ],
      'demo': [],
      'test': ['test/report_intrastat_report.yml'],
      'installable': True,
      'auto_install': False,
      'images': ['images/country_intrastat_code.jpeg','images/intrastat_code.jpeg'],
  }
  
  # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
  