hunk.code_window:             uid = request.uid
           is_admin = request.registry['res.users']._is_admin(request.cr, uid, [uid])
           if not is_admin:
               raise openerp.exceptions.AccessError("Only administrators can upload a module")
       @route('/base_import_module/login', type='http', auth='none', methods=['POST'])
       @webservice
       def login(self, login, password, db=None):
           if db and db != request.db:
               raise Exception("Could not select database '%s'" % db)
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     @route('/base_import_module/login', type='http', auth='none', methods=['POST'], csrf=False)
  
hunk.file_path: addons/base_import_module/controllers/main.py
hunk.type: replace
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * warning
  # 
  # 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:17+0000\n"
  "Last-Translator: Martin Trigaux\n"
  "Language-Team: Macedonian (http://www.transifex.com/odoo/odoo-9/language/mk/)\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Language: mk\n"
  "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
  
  #. module: warning
  #: selection:product.template,purchase_line_warn:0
  #: selection:product.template,sale_line_warn:0
  #: selection:res.partner,invoice_warn:0 selection:res.partner,picking_warn:0
  #: selection:res.partner,purchase_warn:0 selection:res.partner,sale_warn:0
  msgid "Blocking Message"
  msgstr "Блокирање на порака"
  
  #. module: warning
  #: model:ir.model,name:warning.model_account_invoice
  #: model:ir.model.fields,field_description:warning.field_res_partner_invoice_warn
  msgid "Invoice"
  msgstr "Фактура"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_res_partner_invoice_warn_msg
  msgid "Message for Invoice"
  msgstr "Порака за фактура"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_res_partner_purchase_warn_msg
  msgid "Message for Purchase Order"
  msgstr "Порака за налог за набавка"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_product_template_purchase_line_warn_msg
  msgid "Message for Purchase Order Line"
  msgstr "Порака за ставка на налог за набавка"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_res_partner_sale_warn_msg
  msgid "Message for Sales Order"
  msgstr "Порака за налог за продажба"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_product_template_sale_line_warn_msg
  msgid "Message for Sales Order Line"
  msgstr "Порака за ставка на налог за продажба"
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_res_partner_picking_warn_msg
  msgid "Message for Stock Picking"
  msgstr ""
  
  #. module: warning
  #: selection:product.template,purchase_line_warn:0
  #: selection:product.template,sale_line_warn:0
  #: selection:res.partner,invoice_warn:0 selection:res.partner,picking_warn:0
  #: selection:res.partner,purchase_warn:0 selection:res.partner,sale_warn:0
  msgid "No Message"
  msgstr "Нема порака"
  
  #. module: warning
  #: model:ir.model,name:warning.model_res_partner
  msgid "Partner"
  msgstr "Партнер"
  
  #. module: warning
  #: model:ir.model,name:warning.model_product_template
  msgid "Product Template"
  msgstr "Урнек на производ"
  
  #. module: warning
  #: model:ir.model,name:warning.model_purchase_order
  #: model:ir.model.fields,field_description:warning.field_res_partner_purchase_warn
  msgid "Purchase Order"
  msgstr "Налог за набавка"
  
  #. module: warning
  #: model:ir.model,name:warning.model_purchase_order_line
  #: model:ir.model.fields,field_description:warning.field_product_template_purchase_line_warn
  msgid "Purchase Order Line"
  msgstr "Ставка на налогот за набавка"
  
  #. module: warning
  #: model:ir.model,name:warning.model_sale_order
  #: model:ir.model.fields,field_description:warning.field_res_partner_sale_warn
  msgid "Sales Order"
  msgstr "Налог за продажба"
  
  #. module: warning
  #: model:ir.model,name:warning.model_sale_order_line
  #: model:ir.model.fields,field_description:warning.field_product_template_sale_line_warn
  msgid "Sales Order Line"
  msgstr "Ставка од налог за продажба"
  
  #. module: warning
  #: code:addons/warning/warning.py:14
  #: model:ir.model.fields,help:warning.field_product_template_purchase_line_warn
  #: model:ir.model.fields,help:warning.field_product_template_sale_line_warn
  #: model:ir.model.fields,help:warning.field_res_partner_invoice_warn
  #: model:ir.model.fields,help:warning.field_res_partner_picking_warn
  #: model:ir.model.fields,help:warning.field_res_partner_purchase_warn
  #: model:ir.model.fields,help:warning.field_res_partner_sale_warn
  #, python-format
  msgid ""
  "Selecting the \"Warning\" option will notify user with the message, "
  "Selecting \"Blocking Message\" will throw an exception with the message and "
  "block the flow. The Message has to be written in the next field."
  msgstr "Селектирањето на опцијата \"Внимание\" ќе го извести корисникот со порака, селектирањето на \"Блокирање на порака\" ќе го отврли исклучокот со порака и ќе го блокира текот. Пораката треба да биде напишана во наредното поле."
  
  #. module: warning
  #: model:ir.model.fields,field_description:warning.field_res_partner_picking_warn
  msgid "Stock Picking"
  msgstr ""
  
  #. module: warning
  #: model:ir.model,name:warning.model_stock_picking
  msgid "Transfer"
  msgstr "Трансфер"
  
  #. module: warning
  #: selection:product.template,purchase_line_warn:0
  #: selection:product.template,sale_line_warn:0
  #: selection:res.partner,invoice_warn:0 selection:res.partner,picking_warn:0
  #: selection:res.partner,purchase_warn:0 selection:res.partner,sale_warn:0
  msgid "Warning"
  msgstr "Внимание"
  
  #. module: warning
  #: code:addons/warning/warning.py:57 code:addons/warning/warning.py:93
  #: code:addons/warning/warning.py:130 code:addons/warning/warning.py:160
  #: code:addons/warning/warning.py:207 code:addons/warning/warning.py:242
  #, python-format
  msgid "Warning for %s"
  msgstr "Предупредување за %s"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.view_partner_warning_form
  msgid "Warning on the Invoice"
  msgstr "Предупредување на фактура"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.view_partner_warning_form
  msgid "Warning on the Picking"
  msgstr "Предупредување на требување"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.view_partner_warning_form
  msgid "Warning on the Purchase Order"
  msgstr "Предупредување на налог за набавка"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.view_partner_warning_form
  msgid "Warning on the Sales Order"
  msgstr "Предупредување на налози за продажба"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.product_warning_form_view
  msgid "Warning when Purchasing this Product"
  msgstr "Внимание кога го набавувате овој производ"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.product_warning_form_view
  msgid "Warning when Selling this Product"
  msgstr "Внимание кога го продавате овој производ"
  
  #. module: warning
  #: model:ir.ui.view,arch_db:warning.view_partner_warning_form
  msgid "Warnings"
  msgstr "Предупредувања"
  