mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-26 20:42:01 +02:00
19.0 vanilla
This commit is contained in:
parent
7dc55599c6
commit
7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions
|
|
@ -10,36 +10,15 @@ pip install odoo-bringout-oca-ocb-l10n_din5008_sale
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- l10n_din5008
|
||||
- sale
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: DIN 5008 - Sale
|
||||
- **Version**: N/A
|
||||
- **Category**: Accounting/Localizations
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_din5008_sale`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_din5008_sale
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
This package preserves the original LGPL-3 license.
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
from . import models
|
||||
|
|
@ -8,6 +8,11 @@
|
|||
'l10n_din5008',
|
||||
'sale',
|
||||
],
|
||||
'data': [
|
||||
'report/din5008_sale_templates.xml',
|
||||
'report/din5008_sale_order_layout.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,132 +1,111 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_din5008_sale
|
||||
# * l10n_din5008_sale
|
||||
#
|
||||
# "Larissa Manderfeld (lman)" <lman@odoo.com>, 2026.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Project-Id-Version: Odoo Server 18.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-14 08:48+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2026-01-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2026-02-07 09:50+0000\n"
|
||||
"Last-Translator: \"Larissa Manderfeld (lman)\" <lman@odoo.com>\n"
|
||||
"Language-Team: German <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_din5008_sale/de/>\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.14.3\n"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Customer Reference"
|
||||
msgstr "Kundenreferenz"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Beneficiary:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Leistungsempfänger:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Expiration"
|
||||
msgstr "Gültigkeit"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Rechnungsadresse:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Incoterm"
|
||||
msgstr "Incoterm"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing and Shipping Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Rechnungs- und Lieferadresse:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing Address:"
|
||||
msgstr "Rechnungsadresse:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Shipping Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Lieferadresse:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing and Shipping Address:"
|
||||
msgstr "Rechnungs- und Lieferadresse:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Customer Reference:"
|
||||
msgstr "Kundenreferenz:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_addresses
|
||||
msgid "L10N Din5008 Addresses"
|
||||
msgstr "L10N Din5008 Adressen"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Delivery Date:"
|
||||
msgstr "Lieferdatum:"
|
||||
|
||||
#. 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 "L10N Din5008 Dokumenttitel"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Expiration:"
|
||||
msgstr "Gültigkeit:"
|
||||
|
||||
#. 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 "L10N Din5008 Vorlagendaten"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Incoterm:"
|
||||
msgstr "Incoterm:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order Date"
|
||||
msgstr "Auftragsdatum"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order Date:"
|
||||
msgstr "Auftragsdatum:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order No."
|
||||
msgstr "Auftragsnr."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order No.:"
|
||||
msgstr "Auftragsnr.:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Position"
|
||||
msgstr "Position"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Pro Forma Invoice"
|
||||
msgstr "Pro-forma-Rechnung"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation"
|
||||
msgstr "Angebot"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation Date"
|
||||
msgstr "Angebotsdatum"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation Date:"
|
||||
msgstr "Angebotsdatum:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation No."
|
||||
msgstr "Angebotsnr."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation No.:"
|
||||
msgstr "Angebotsnr.:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#: model:ir.model,name:l10n_din5008_sale.model_sale_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Sales Order"
|
||||
msgstr "Auftragsbestätigung"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Salesperson"
|
||||
msgstr "Vertriebsmitarbeiter"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Salesperson:"
|
||||
msgstr "Vertriebsmitarbeiter:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Shipping Address:"
|
||||
msgstr "Lieferadresse:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.external_layout_din5008_saleorder
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Tax ID"
|
||||
msgstr "USt-IdNr."
|
||||
|
|
|
|||
|
|
@ -4,129 +4,106 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 18.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-14 09:22+0100\n"
|
||||
"POT-Creation-Date: 2026-01-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2025-04-28 16:12+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Customer Reference"
|
||||
msgstr "Référence client"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Beneficiary:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Bénéficiaire :</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Expiration"
|
||||
msgstr "Expiration"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Adresse de facturation :</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Incoterm"
|
||||
msgstr "Incoterms"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing and Shipping Address:</span>"
|
||||
msgstr ""
|
||||
"<span class=\"fw-bold\">Adresse de facturation et d'expédition :</span>."
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing Address:"
|
||||
msgstr "Adresse de facturation :"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Shipping Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Adresse d'expédition :</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing and Shipping Address:"
|
||||
msgstr "Adresse de facturation et d'expédition :"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Customer Reference:"
|
||||
msgstr "Référence client :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_addresses
|
||||
msgid "L10N Din5008 Addresses"
|
||||
msgstr "Adresses L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Delivery Date:"
|
||||
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 "Titre du document L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Expiration:"
|
||||
msgstr "Expiration :"
|
||||
|
||||
#. 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 "Données de modèle L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Incoterm:"
|
||||
msgstr "Incoterm :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order Date"
|
||||
msgstr "Date de commande"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order Date:"
|
||||
msgstr "Date de commande :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order No."
|
||||
msgstr "N° de commande"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order No.:"
|
||||
msgstr "N° de commande :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Position"
|
||||
msgstr "Position"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Pro Forma Invoice"
|
||||
msgstr "Facture pro forma"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation"
|
||||
msgstr "Devis"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation Date"
|
||||
msgstr "Date du devis"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation Date:"
|
||||
msgstr "Date du devis :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation No."
|
||||
msgstr "N° de devis"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation No.:"
|
||||
msgstr "N° de devis :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#: model:ir.model,name:l10n_din5008_sale.model_sale_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Sales Order"
|
||||
msgstr "Bon de commande"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Salesperson"
|
||||
msgstr "Vendeur"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Salesperson:"
|
||||
msgstr "Vendeur :"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Shipping Address:"
|
||||
msgstr "Adresse de livraison :"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.external_layout_din5008_saleorder
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Tax ID"
|
||||
msgstr "N° TVA"
|
||||
|
|
|
|||
|
|
@ -1,132 +1,111 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_din5008_sale
|
||||
# * l10n_din5008_sale
|
||||
#
|
||||
# "Marianna Ciofani (cima)" <cima@odoo.com>, 2026.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 18.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-14 09:23+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2026-01-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2026-02-07 09:50+0000\n"
|
||||
"Last-Translator: \"Marianna Ciofani (cima)\" <cima@odoo.com>\n"
|
||||
"Language-Team: Italian <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_din5008_sale/it/>\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.14.3\n"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Customer Reference"
|
||||
msgstr "Riferimento cliente"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Beneficiary:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Beneficiario:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Expiration"
|
||||
msgstr "Scadenza"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Indirizzo di fatturazione:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Incoterm"
|
||||
msgstr "Incoterms"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing and Shipping Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Indirizzo di fatturazione e spedizione:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing Address:"
|
||||
msgstr "Indirizzo di fatturazione:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Shipping Address:</span>"
|
||||
msgstr "<span class=\"fw-bold\">Indirizzo di spedizione:</span>"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing and Shipping Address:"
|
||||
msgstr "Indirizzo di fatturazione e spedizione:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Customer Reference:"
|
||||
msgstr "Riferimento cliente:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_addresses
|
||||
msgid "L10N Din5008 Addresses"
|
||||
msgstr "Indirizzi L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Delivery Date:"
|
||||
msgstr "Data di consegna:"
|
||||
|
||||
#. 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 "Titolo del documento L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Expiration:"
|
||||
msgstr "Scadenza:"
|
||||
|
||||
#. 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 "Dati modello L10N Din5008"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Incoterm:"
|
||||
msgstr "Incoterm:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order Date"
|
||||
msgstr "Data Ordine"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order Date:"
|
||||
msgstr "Data ordine:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order No."
|
||||
msgstr "Ordine N."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order No.:"
|
||||
msgstr "Numero ordine:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Position"
|
||||
msgstr "Posizione"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Pro Forma Invoice"
|
||||
msgstr "Fattura pro forma"
|
||||
msgstr "Fattura proforma"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation"
|
||||
msgstr "Preventivo"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation Date"
|
||||
msgstr "Data Preventivo"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation Date:"
|
||||
msgstr "Data preventivo:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation No."
|
||||
msgstr "Preventivo N."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation No.:"
|
||||
msgstr "Preventivo n.:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#: model:ir.model,name:l10n_din5008_sale.model_sale_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Sales Order"
|
||||
msgstr "Ordine di vendita"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Salesperson"
|
||||
msgstr "Ordine di vendita"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Salesperson:"
|
||||
msgstr "Addetto alle vendite:"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Shipping Address:"
|
||||
msgstr "Indirizzo di spedizione:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.external_layout_din5008_saleorder
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Tax ID"
|
||||
msgstr "Partita IVA"
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Project-Id-Version: Odoo Server 19.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-13 21:51+0000\n"
|
||||
"POT-Creation-Date: 2026-01-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2026-01-30 19:07+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -16,115 +16,92 @@ msgstr ""
|
|||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Customer Reference"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Beneficiary:</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Expiration"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing Address:</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Incoterm"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Invoicing and Shipping Address:</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing Address:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "<span class=\"fw-bold\">Shipping Address:</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Invoicing and Shipping Address:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Customer Reference:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_sale.field_sale_order__l10n_din5008_addresses
|
||||
msgid "L10N Din5008 Addresses"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Delivery Date:"
|
||||
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"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Expiration:"
|
||||
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"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Incoterm:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order Date"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order Date:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Order No."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Order No.:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Position"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Pro Forma Invoice"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation Date"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation Date:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Quotation No."
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Quotation No.:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#: model:ir.model,name:l10n_din5008_sale.model_sale_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Sales Order"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Salesperson"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Salesperson:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_sale
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_sale/models/sale.py:0
|
||||
#, python-format
|
||||
msgid "Shipping Address:"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.external_layout_din5008_saleorder
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_sale.report_saleorder_document
|
||||
msgid "Tax ID"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
from . import sale
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
from odoo import models, fields, _
|
||||
from odoo.tools import format_date
|
||||
|
||||
|
||||
class SaleOrder(models.Model):
|
||||
_inherit = 'sale.order'
|
||||
|
||||
l10n_din5008_template_data = fields.Binary(compute='_compute_l10n_din5008_template_data')
|
||||
l10n_din5008_document_title = fields.Char(compute='_compute_l10n_din5008_document_title')
|
||||
l10n_din5008_addresses = fields.Binary(compute='_compute_l10n_din5008_addresses', exportable=False)
|
||||
|
||||
def _compute_l10n_din5008_template_data(self):
|
||||
for record in self:
|
||||
record.l10n_din5008_template_data = data = []
|
||||
if record.state in ('draft', 'sent'):
|
||||
if record.name:
|
||||
data.append((_("Quotation No."), record.name))
|
||||
if record.date_order:
|
||||
data.append((_("Quotation Date"), format_date(self.env, record.date_order)))
|
||||
if record.validity_date:
|
||||
data.append((_("Expiration"), format_date(self.env, record.validity_date)))
|
||||
else:
|
||||
if record.name:
|
||||
data.append((_("Order No."), record.name))
|
||||
if record.date_order:
|
||||
data.append((_("Order Date"), format_date(self.env, record.date_order)))
|
||||
if record.client_order_ref:
|
||||
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:
|
||||
if self._context.get('proforma'):
|
||||
record.l10n_din5008_document_title = _('Pro Forma Invoice')
|
||||
elif record.state in ('draft', 'sent'):
|
||||
record.l10n_din5008_document_title = _('Quotation')
|
||||
else:
|
||||
record.l10n_din5008_document_title = _('Sales Order')
|
||||
|
||||
def _compute_l10n_din5008_addresses(self):
|
||||
for record in self:
|
||||
record.l10n_din5008_addresses = data = []
|
||||
if record.partner_shipping_id == record.partner_invoice_id:
|
||||
data.append((_("Invoicing and Shipping Address:"), record.partner_shipping_id))
|
||||
else:
|
||||
data.append((_("Shipping Address:"), record.partner_shipping_id))
|
||||
data.append((_("Invoicing Address:"), record.partner_invoice_id))
|
||||
|
||||
def check_field_access_rights(self, operation, field_names):
|
||||
field_names = super().check_field_access_rights(operation, field_names)
|
||||
return [field_name for field_name in field_names if field_name not in {
|
||||
'l10n_din5008_addresses',
|
||||
}]
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="external_layout_din5008_saleorder" inherit_id="l10n_din5008.external_layout_din5008">
|
||||
<xpath expr="//div[@id='din5008_report_main_address']" position="before">
|
||||
<t t-if="doc and doc._name == 'sale.order' and doc.partner_id">
|
||||
<t t-set="address">
|
||||
<t t-if="doc.env.context.get('proforma')">
|
||||
<address class="mb-0" t-field="doc.partner_invoice_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
<t t-set="main_addr_id" t-value="doc.partner_invoice_id"/>
|
||||
<div t-if="doc.partner_id.commercial_partner_id == doc.partner_invoice_id and main_addr_id.vat" id="partner_vat_address_same_as_shipping">
|
||||
<t t-if="doc.company_id.account_fiscal_country_id.vat_label" t-out="doc.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
|
||||
<t t-else="">Tax ID</t>: <span t-field="main_addr_id.vat"/>
|
||||
</div>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<address class="mb-0" t-field="doc.partner_id.commercial_partner_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
<t t-set="main_addr_id" t-value="doc.partner_id.commercial_partner_id"/>
|
||||
<div t-if="main_addr_id.vat" id="partner_vat_address_same_as_shipping">
|
||||
<t t-if="doc.company_id.account_fiscal_country_id.vat_label" t-out="doc.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
|
||||
<t t-else="">Tax ID</t>: <span t-field="main_addr_id.vat"/>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="report_saleorder_document" inherit_id="sale.report_saleorder_document">
|
||||
<xpath expr="//t[@t-set='forced_vat']" position="after">
|
||||
<t t-set="din5008_document_information">
|
||||
<div class="information_block" t-if="doc and doc._name=='sale.order'">
|
||||
<table>
|
||||
<t t-if="doc.state in {'draft', 'sent'}">
|
||||
<tr t-if="doc.name">
|
||||
<td>Quotation No.:</td>
|
||||
<td><div t-field="doc.name"/></td>
|
||||
</tr>
|
||||
<tr t-if="doc.date_order">
|
||||
<td>Quotation Date:</td>
|
||||
<td><div t-field="doc.date_order" t-options="{'widget': 'date'}"/></td>
|
||||
</tr>
|
||||
<tr t-if="doc.validity_date">
|
||||
<td>Expiration:</td>
|
||||
<td><div t-field="doc.validity_date" t-options="{'widget': 'date'}"/></td>
|
||||
</tr>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<tr t-if="doc.name">
|
||||
<td>Order No.:</td>
|
||||
<td><div t-field="doc.name"/></td>
|
||||
</tr>
|
||||
<tr t-if="doc.date_order">
|
||||
<td>Order Date:</td>
|
||||
<td><div t-field="doc.date_order" t-options="{'widget': 'date'}"/></td>
|
||||
</tr>
|
||||
<tr t-if="doc.commitment_date">
|
||||
<td>Delivery Date:</td>
|
||||
<td><div t-field="doc.commitment_date" t-options="{'widget': 'date'}"/></td>
|
||||
</tr>
|
||||
</t>
|
||||
<tr t-if="doc.client_order_ref">
|
||||
<td>Customer Reference:</td>
|
||||
<td><div t-field="doc.client_order_ref"/></td>
|
||||
</tr>
|
||||
<tr t-if="doc.user_id">
|
||||
<td>Salesperson:</td>
|
||||
<td><div t-field="doc.user_id.name"/></td>
|
||||
</tr>
|
||||
<tr t-if="'incoterm' in doc._fields and doc.incoterm">
|
||||
<td>Incoterm:</td>
|
||||
<td><div t-field="doc.incoterm.code"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-set="din5008_address_block">
|
||||
<tr t-if="doc and doc._name=='sale.order'">
|
||||
<t t-set="commercial_partner" t-value="doc.partner_id.commercial_partner_id"/>
|
||||
<t t-set="invoice_partner" t-value="doc.partner_invoice_id"/>
|
||||
<t t-set="delivery_partner" t-value="doc.partner_shipping_id"/>
|
||||
|
||||
<t t-if="doc.env.context.get('proforma')">
|
||||
<td class="shipping_address" t-if="delivery_partner and delivery_partner != commercial_partner">
|
||||
<span class="fw-bold">Shipping Address:</span>
|
||||
<address t-esc="delivery_partner" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
</td>
|
||||
<td class="shipping_address" t-if="invoice_partner and invoice_partner != commercial_partner">
|
||||
<span class="fw-bold">Beneficiary:</span>
|
||||
<address class="mb-0" t-esc="commercial_partner" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
<div t-if="commercial_partner.vat">
|
||||
<t t-if="commercial_partner.company_id.account_fiscal_country_id.vat_label" t-out="commercial_partner.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
|
||||
<t t-else="">Tax ID</t>: <span t-field="commercial_partner.vat"/>
|
||||
</div>
|
||||
</td>
|
||||
</t>
|
||||
<t t-elif="commercial_partner != invoice_partner or commercial_partner != delivery_partner">
|
||||
<t t-if="doc.partner_invoice_id == doc.partner_shipping_id">
|
||||
<td class="shipping_address">
|
||||
<span class="fw-bold">Invoicing and Shipping Address:</span>
|
||||
<address t-esc="doc.partner_shipping_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
</td>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<td class="shipping_address">
|
||||
<span class="fw-bold">Shipping Address:</span>
|
||||
<address t-esc="doc.partner_shipping_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
</td>
|
||||
<td class="shipping_address">
|
||||
<span class="fw-bold">Invoicing Address:</span>
|
||||
<address t-esc="doc.partner_invoice_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
</td>
|
||||
</t>
|
||||
</t>
|
||||
</tr>
|
||||
</t>
|
||||
|
||||
<t t-set="din5008_document_title">
|
||||
<span t-if="doc and doc._name == 'sale.order'">
|
||||
<t t-if="doc.env.context.get('proforma')">Pro Forma Invoice</t>
|
||||
<t t-elif="doc.state in {'draft', 'sent'}">Quotation</t>
|
||||
<t t-else="">Sales Order</t>
|
||||
</span>
|
||||
</t>
|
||||
</xpath>
|
||||
<!-- Insert Position Column as the First Column in the Table Header -->
|
||||
<xpath expr="//th[@name='th_description']" position="before">
|
||||
<t t-if="doc.company_id.has_position_column">
|
||||
<th name="th_position" class="text-start">Position</th>
|
||||
</t>
|
||||
</xpath>
|
||||
<!-- Insert Empty Column for Position Numbers to Handle Section Misalignment -->
|
||||
<xpath expr="//td[@name='td_section_name']" position="after">
|
||||
<t t-if="doc.company_id.has_position_column">
|
||||
<td/>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//table/tbody" position="before">
|
||||
<t t-if="doc.company_id.has_position_column">
|
||||
<t t-set="line_number" t-value="1"/>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//td[@name='td_product_name']" position="before">
|
||||
<t t-if="doc.company_id.has_position_column">
|
||||
<td class="text-start" t-esc="line_number"/>
|
||||
<t t-set="line_number" t-value="line_number+1"/>
|
||||
</t>
|
||||
</xpath>
|
||||
<!--adding currency to unit price-->
|
||||
<xpath expr="//td[@name='td_product_priceunit']/span" position="attributes">
|
||||
<attribute name="t-options" >{"widget": "monetary", "display_currency": line.currency_id}</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
|
@ -1,13 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_din5008_sale"
|
||||
version = "16.0.0"
|
||||
description = "DIN 5008 - Sale - Odoo addon"
|
||||
description = "DIN 5008 - Sale -
|
||||
Odoo addon
|
||||
"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-l10n_din5008>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-sale>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-l10n_din5008>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-sale>=19.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
|
|
@ -17,7 +19,7 @@ classifiers = [
|
|||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue