hunk.code_window:         res = super(PaymentTransaction, self).form_feedback(cr, uid, data, acquirer_name, context=context)
           # fetch the tx, check its state, confirm the potential SO
           tx_find_method_name = '_%s_form_get_tx_from_data' % acquirer_name
           if hasattr(self, tx_find_method_name):
               tx = getattr(self, tx_find_method_name)(cr, uid, data, context=context)
           if tx and tx.state == 'done' and tx.acquirer_id.auto_confirm == 'at_pay_confirm' and tx.sale_order_id and tx.sale_order_id.state in ['draft', 'sent']:
               self.pool['sale.order'].action_confirm(cr, SUPERUSER_ID, [tx.sale_order_id.id], context=dict(context, send_email=True))
           elif tx and tx.state not in ['cancel', 'error'] and tx.sale_order_id and tx.sale_order_id.state in ['draft']:
               self.pool['sale.order'].force_quotation_send(cr, SUPERUSER_ID, [tx.sale_order_id.id], context=context)
           return res
hunk.labels: keep keep keep replace replace replace replace replace replace replace keep keep
hunk.after_edit:         try:
               tx_find_method_name = '_%s_form_get_tx_from_data' % acquirer_name
               if hasattr(self, tx_find_method_name):
                   tx = getattr(self, tx_find_method_name)(cr, uid, data, context=context)
               if tx and tx.state == 'done' and tx.acquirer_id.auto_confirm == 'at_pay_confirm' and tx.sale_order_id and tx.sale_order_id.state in ['draft', 'sent']:
                   self.pool['sale.order'].action_confirm(cr, SUPERUSER_ID, [tx.sale_order_id.id], context=dict(context, send_email=True))
               elif tx and tx.state not in ['cancel', 'error'] and tx.sale_order_id and tx.sale_order_id.state in ['draft']:
                   self.pool['sale.order'].force_quotation_send(cr, SUPERUSER_ID, [tx.sale_order_id.id], context=context)
           except Exception:
               _logger.exception('Fail to confirm the order or send the confirmation email%s', tx and ' for the transaction %s' % tx.reference or '')
  
hunk.file_path: addons/website_sale/models/payment.py
hunk.type: replace
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * web_kanban
  # 
  # Translators:
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo 9.0\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2015-09-07 14:41+0000\n"
  "PO-Revision-Date: 2015-09-08 09:38+0000\n"
  "Last-Translator: Martin Trigaux\n"
  "Language-Team: Gujarati (http://www.transifex.com/odoo/odoo-9/language/gu/)\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Language: gu\n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_column.js:168
  #: code:addons/web_kanban/static/src/js/kanban_column.js:170
  #, python-format
  msgid " records"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:53
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:54
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:66
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:67
  #, python-format
  msgid "Add"
  msgstr "ઉમેરો"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:50
  #, python-format
  msgid "Add new Column"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_relational.js:50
  #, python-format
  msgid "Add: "
  msgstr "ઉમેરો: "
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:27
  #, python-format
  msgid "Archive Records"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_column.js:206
  #, python-format
  msgid "Are you sure that you want to remove this column ?"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_view.js:475
  #, python-format
  msgid "Are you sure you want to delete this record ?"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_column.js:200
  #, python-format
  msgid "Cancel"
  msgstr "રદ કરો"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_relational.js:27
  #: code:addons/web_kanban/static/src/js/kanban_view.js:651
  #, python-format
  msgid "Create: "
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:24
  #, python-format
  msgid "Delete"
  msgstr "કાઢી નાંખો"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:55
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:68
  #, python-format
  msgid "Discard"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:23
  #, python-format
  msgid "Edit"
  msgstr "ફેરફાર કરો"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_column.js:216
  #, python-format
  msgid "Edit Column"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:21
  #, python-format
  msgid "Fold"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_view.js:29
  #, python-format
  msgid "Kanban"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:43
  #, python-format
  msgid "Load more... ("
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_column.js:195
  #, python-format
  msgid "Ok"
  msgstr "બરાબર"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_relational.js:64
  #, python-format
  msgid "Open: "
  msgstr "ખોલો: "
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:28
  #, python-format
  msgid "Unarchive Records"
  msgstr ""
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/js/kanban_view.js:209
  #: code:addons/web_kanban/static/src/js/kanban_view.js:224
  #: code:addons/web_kanban/static/src/js/kanban_view.js:231
  #, python-format
  msgid "Undefined"
  msgstr "અવ્યાખ્યાયિત"
  
  #. module: web_kanban
  #. openerp-web
  #: code:addons/web_kanban/static/src/xml/web_kanban.xml:43
  #, python-format
  msgid "remaining)"
  msgstr ""
  