hunk.code_window:     def _compute_statistics(self):
           """ Compute statistics of the mass mailing """
           self.env.cr.execute("""
               SELECT
                   m.id as mailing_id,
                   COUNT(s.id) AS total,
                   COUNT(CASE WHEN s.sent is not null THEN 1 ELSE null END) AS sent,
                   COUNT(CASE WHEN s.scheduled is not null AND s.sent is null AND s.exception is null THEN 1 ELSE null END) AS scheduled,
                   COUNT(CASE WHEN s.scheduled is not null AND s.sent is null AND s.exception is not null THEN 1 ELSE null END) AS failed,
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:                 COUNT(s.id) AS expected,
  
hunk.file_path: addons/mass_mailing/models/mass_mailing.py
hunk.type: replace
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * website_event_sale
  #
  # Translators:
  # Ana Juaristi <ajuaristio@gmail.com>, 2015
  # Rick Hunter <rick_hunter_ec@yahoo.com>, 2015-2016
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo 9.0\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2016-08-18 14:08+0000\n"
  "PO-Revision-Date: 2016-01-20 13:08+0000\n"
  "Last-Translator: Rick Hunter <rick_hunter_ec@yahoo.com>\n"
  "Language-Team: Spanish (Ecuador) (http://www.transifex.com/odoo/odoo-9/"
  "language/es_EC/)\n"
  "Language: es_EC\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.registration_template
  msgid "<span>Free</span>"
  msgstr "<span>Gratis</span>"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.registration_template
  msgid "<span>Unlimited</span>"
  msgstr "<span>Ilimitado</span>"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.registration_template
  msgid "<span>left</span>"
  msgstr "<span>izquierda</span>"
  
  #. module: website_event_sale
  #: model:ir.model.fields,field_description:website_event_sale.field_product_product_intrastat_id
  msgid "Intrastat code"
  msgstr "Código Intrastat"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.index
  msgid "Only"
  msgstr "Solo"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.registration_template
  msgid "Order Now"
  msgstr "Pídala ahora"
  
  #. module: website_event_sale
  #: model:ir.model,name:website_event_sale.model_product_product
  msgid "Product"
  msgstr "Producto"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.index
  msgid "Remaining"
  msgstr "Restante"
  
  #. module: website_event_sale
  #: model:ir.model,name:website_event_sale.model_sale_order
  msgid "Sales Order"
  msgstr "Aviso para pedido de venta"
  
  #. module: website_event_sale
  #: model:ir.ui.view,arch_db:website_event_sale.index
  #: model:ir.ui.view,arch_db:website_event_sale.registration_template
  msgid "Sold Out"
  msgstr "Agotado"
  
  #. module: website_event_sale
  #: code:addons/website_event_sale/models/sale_order.py:71
  #, python-format
  msgid "Sorry, The %(ticket)s tickets for the %(event)s event are sold out."
  msgstr ""
  "Lo sentimos, las entradas %(ticket)s para el evento %(event)s están agotadas."
  
  #. module: website_event_sale
  #: code:addons/website_event_sale/models/sale_order.py:77
  #, python-format
  msgid ""
  "Sorry, only %(remaining_seats)d seats are still available for the %(ticket)s "
  "ticket for the %(event)s event."
  msgstr ""
  "Perdone, hay solo %(remaining_seats)d asientos todavía disponibles para la "
  "entrada %(ticket)s al evento  %(event)s ."
  
  #. module: website_event_sale
  #: code:addons/website_event_sale/controllers/main.py:65
  #, python-format
  msgid "Subscription"
  msgstr "Suscripción"
  
  #. module: website_event_sale
  #: code:addons/website_event_sale/models/sale_order.py:36
  #, python-format
  msgid "The ticket doesn't match with this product."
  msgstr "El vale no casa con este producto."
  
  #. module: website_event_sale
  #: model:ir.model,name:website_event_sale.model_website
  msgid "Website"
  msgstr "Sitio web"
  