diff --git a/addons/l10n_din5008_sale/i18n/l10n_din5008_sale.pot b/addons/l10n_din5008_sale/i18n/l10n_din5008_sale.pot new file mode 100644 index 00000000000..e84d0a5742e --- /dev/null +++ b/addons/l10n_din5008_sale/i18n/l10n_din5008_sale.pot @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_din5008_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server saas~15.1+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-03-24 10:21+0000\n" +"PO-Revision-Date: 2022-03-24 10:21+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Customer Reference" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Expiration" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Incoterm" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Invoicing Address:" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Invoicing and Shipping Address:" +msgstr "" + +#. module: l10n_din5008_sale +#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_addresses +msgid "L10N Din5008 Addresses" +msgstr "" + +#. module: l10n_din5008_sale +#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_document_title +msgid "L10N Din5008 Document Title" +msgstr "" + +#. module: l10n_din5008_sale +#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_template_data +msgid "L10N Din5008 Template Data" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Order Date" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Order No." +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Quotation" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Quotation Date" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Quotation No." +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#: model:ir.model,name:l10n_din5008_sale.model_sale_order +#, python-format +msgid "Sales Order" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Salesperson" +msgstr "" + +#. module: l10n_din5008_sale +#: code:addons/l10n_din5008_sale/models/sale.py:0 +#, python-format +msgid "Shipping Address:" +msgstr "" diff --git a/addons/l10n_din5008_sale/models/sale.py b/addons/l10n_din5008_sale/models/sale.py index 06e72094d3f..0e90243d9f7 100644 --- a/addons/l10n_din5008_sale/models/sale.py +++ b/addons/l10n_din5008_sale/models/sale.py @@ -28,6 +28,8 @@ class SaleOrder(models.Model): data.append((_('Customer Reference'), record.client_order_ref)) if record.user_id: data.append((_("Salesperson"), record.user_id.name)) + if 'incoterm' in record._fields and record.incoterm: + data.append((_("Incoterm"), record.incoterm.code)) def _compute_l10n_din5008_document_title(self): for record in self: