hunk.code_window:         for box in self.browse(cr, uid, ids, context=context):
               for record in records:
                   if not record.journal_id:
                       raise UserError(_("Please check that the field 'Journal' is set on the Bank Statement"))
                   if not record.journal_id.internal_account_id:
                       raise UserError(_("Please check that the field 'Internal Transfers Account' is set on the payment method '%s'.") % (record.journal_id.name,))
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.file_path: addons/account/wizard/pos_box.py
hunk.type: replace
file: # -*- encoding: utf-8 -*-
  from openerp import models, fields
  from openerp.addons.sale.res_config import sale_configuration
  
  class website_sale_configuration(models.TransientModel):
      _inherit = 'sale.config.settings'
  
      module_website_sale_digital = fields.Boolean('Sell digital products', 
          help="Allow you to set mark a product as a digital product, allowing customers that have purchased the product to download its attachments. This installs the module website_sale_digital.")