[MERGE] Merged with main addons

bzr revid: tde@openerp.com-20120403071255-mbwxgy63kvvnpre4
This commit is contained in:
Thibault Delavallée
2012-04-03 09:12:55 +02:00
3 changed files with 139 additions and 4 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ openerp.edi.EdiView = openerp.web.OldWidget.extend({
});
openerp.edi.edi_view = function (db, token) {
openerp.connection.bind().then(function () {
openerp.connection.session_bind().then(function () {
new openerp.edi.EdiView(null,db,token).appendTo($("body").addClass('openerp'));
});
}
@@ -188,7 +188,7 @@ openerp.edi.EdiImport = openerp.web.OldWidget.extend({
});
openerp.edi.edi_import = function (url) {
openerp.connection.bind().then(function () {
openerp.connection.session_bind().then(function () {
new openerp.edi.EdiImport(null,url).appendTo($("body").addClass('openerp'));
});
}
+2 -2
View File
@@ -82,7 +82,7 @@ class sale_order(osv.osv, EDIMixin):
'__import_module': 'purchase',
'company_address': res_company.edi_export_address(cr, uid, order.company_id, context=context),
'partner_id': res_partner_obj.edi_export(cr, uid, [order.partner_id], context=context)[0],
'partner_address': res_partner_obj.edi_export(cr, uid, [order.partner_id], context=context)[0],
'currency': self.pool.get('res.currency').edi_export(cr, uid, [order.pricelist_id.currency_id],
context=context)[0],
@@ -214,4 +214,4 @@ class sale_order_line(osv.osv, EDIMixin):
edi_doc_list.append(edi_doc)
return edi_doc_list
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+135
View File
@@ -0,0 +1,135 @@
# Norwegian Bokmal translation for openobject-addons
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-02-08 00:37+0000\n"
"PO-Revision-Date: 2012-04-02 11:19+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2012-04-03 04:53+0000\n"
"X-Generator: Launchpad (build 15052)\n"
#. module: sale_crm
#: field:sale.order,categ_id:0
msgid "Category"
msgstr "Kategori"
#. module: sale_crm
#: sql_constraint:sale.order:0
msgid "Order Reference must be unique per Company!"
msgstr ""
#. module: sale_crm
#: code:addons/sale_crm/wizard/crm_make_sale.py:112
#, python-format
msgid "Converted to Sales Quotation(%s)."
msgstr ""
#. module: sale_crm
#: view:crm.make.sale:0
msgid "Convert to Quotation"
msgstr ""
#. module: sale_crm
#: code:addons/sale_crm/wizard/crm_make_sale.py:89
#, python-format
msgid "Data Insufficient!"
msgstr "Utilstrekkelig data!"
#. module: sale_crm
#: code:addons/sale_crm/wizard/crm_make_sale.py:89
#, python-format
msgid "Customer has no addresses defined!"
msgstr "Kunden har ikke definert en adresse!"
#. module: sale_crm
#: model:ir.model,name:sale_crm.model_crm_make_sale
msgid "Make sales"
msgstr ""
#. module: sale_crm
#: view:crm.make.sale:0
msgid "_Create"
msgstr "_Opprett"
#. module: sale_crm
#: view:sale.order:0
msgid "My Sales Team(s)"
msgstr "Mine salgsteam"
#. module: sale_crm
#: help:crm.make.sale,close:0
msgid ""
"Check this to close the opportunity after having created the sale order."
msgstr ""
#. module: sale_crm
#: view:board.board:0
msgid "My Opportunities"
msgstr ""
#. module: sale_crm
#: view:crm.lead:0
msgid "Convert to Quote"
msgstr ""
#. module: sale_crm
#: field:crm.make.sale,shop_id:0
msgid "Shop"
msgstr "Butikk"
#. module: sale_crm
#: field:crm.make.sale,partner_id:0
msgid "Customer"
msgstr "Kunde"
#. module: sale_crm
#: code:addons/sale_crm/wizard/crm_make_sale.py:92
#, python-format
msgid "Opportunity: %s"
msgstr ""
#. module: sale_crm
#: field:crm.make.sale,close:0
msgid "Close Opportunity"
msgstr ""
#. module: sale_crm
#: view:board.board:0
msgid "My Planned Revenues by Stage"
msgstr ""
#. module: sale_crm
#: code:addons/sale_crm/wizard/crm_make_sale.py:110
#, python-format
msgid "Opportunity '%s' is converted to Quotation."
msgstr ""
#. module: sale_crm
#: view:sale.order:0
#: field:sale.order,section_id:0
msgid "Sales Team"
msgstr "Salgsteam"
#. module: sale_crm
#: model:ir.actions.act_window,name:sale_crm.action_crm_make_sale
msgid "Make Quotation"
msgstr "Lag tilbud"
#. module: sale_crm
#: view:crm.make.sale:0
msgid "Cancel"
msgstr ""
#. module: sale_crm
#: model:ir.model,name:sale_crm.model_sale_order
msgid "Sales Order"
msgstr "Salgsordre"