[FIX] l10n_de_sale: add missing incoterm on SO
Current behavior : Incoterm isn't printed on quotation/order report with DIN5008 layout Steps : - Install Sales, Inventory and Germany - Sale - In Settings : - Enable Incoterms under Sales section - Select DIN5008 Layout (external_layout_din5008) for documents - Go to Sales and get a new one - Select an incoterm in Other info tab OPW-2759568 closes odoo/odoo#87184 X-original-commit: b6db1b7ba3439d2b0ae7ef7ccc7ee15e1642ecba Signed-off-by: Claude Thibault (thcl) <thcl@odoo.com>
This commit is contained in:
@@ -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 ""
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user