mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-27 02:22:02 +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_repair
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- l10n_din5008
|
||||
- repair
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: DIN 5008 - Repair
|
||||
- **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_repair`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_din5008_repair
|
||||
|
||||
## 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.
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@
|
|||
'l10n_din5008',
|
||||
'repair',
|
||||
],
|
||||
'data': [
|
||||
'report/din5008_repair_templates.xml',
|
||||
'report/din5008_repair_order_layout.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,71 +1,66 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_din5008_repair
|
||||
# * l10n_din5008_repair
|
||||
#
|
||||
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Project-Id-Version: Odoo Server 17.3alpha1+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: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
|
||||
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
|
||||
"Language-Team: German <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_din5008_repair/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.12.2\n"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_document_title
|
||||
msgid "L10N Din5008 Document Title"
|
||||
msgstr "L10N Din5008 Dokumenttitel"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Name anzeigen"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_template_data
|
||||
msgid "L10N Din5008 Template Data"
|
||||
msgstr "L10N Din5008 Vorlagendaten"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Lot/Serial Number"
|
||||
msgstr "Los-/Seriennummer"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_printing_date
|
||||
msgid "L10N Din5008 Printing Date"
|
||||
msgstr "L10N Din5008 Druckdatum"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Printing Date"
|
||||
msgstr "Druckdatum"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Lot/Serial Number:"
|
||||
msgstr "Los-/Seriennummer:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Product to Repair"
|
||||
msgstr "Zu reparierendes Produkt"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Printing Date:"
|
||||
msgstr "Druckdatum:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Product to Repair:"
|
||||
msgstr "Zu reparierendes Produkt:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#: model:ir.model,name:l10n_din5008_repair.model_repair_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Order"
|
||||
msgstr "Reparaturauftrag"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Quotation"
|
||||
msgstr "Kostenvoranschlag"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Warranty"
|
||||
msgstr "Garantie"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.external_layout_din5008_repairorder
|
||||
msgid "Tax ID"
|
||||
msgstr "USt-IdNr."
|
||||
|
|
|
|||
|
|
@ -1,71 +1,66 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_din5008_repair
|
||||
# * l10n_din5008_repair
|
||||
#
|
||||
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 17.3alpha1+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-14 09:19+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
|
||||
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
|
||||
"Language-Team: French <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_din5008_repair/fr/>\n"
|
||||
"Language: fr\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.12.2\n"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_document_title
|
||||
msgid "L10N Din5008 Document Title"
|
||||
msgstr "Titre du document L10N Din5008"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Nom affiché"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_template_data
|
||||
msgid "L10N Din5008 Template Data"
|
||||
msgstr "Données de modèle L10N Din5008"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Lot/Serial Number"
|
||||
msgstr "Numéro de lot/série"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_printing_date
|
||||
msgid "L10N Din5008 Printing Date"
|
||||
msgstr "Date d'impression L10N Din5008"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Printing Date"
|
||||
msgstr "Date d'impression"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Lot/Serial Number:"
|
||||
msgstr "Numéro de lot/série :"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Product to Repair"
|
||||
msgstr "Article à réparer"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Printing Date:"
|
||||
msgstr "Date d'impression :"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Product to Repair:"
|
||||
msgstr "Produit à réparer :"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#: model:ir.model,name:l10n_din5008_repair.model_repair_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Order"
|
||||
msgstr "Ordre de réparation"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Quotation"
|
||||
msgstr "Devis de réparation"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Warranty"
|
||||
msgstr "Garantie"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.external_layout_din5008_repairorder
|
||||
msgid "Tax ID"
|
||||
msgstr "N° TVA"
|
||||
|
|
|
|||
|
|
@ -1,71 +1,66 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_din5008_repair
|
||||
# * l10n_din5008_repair
|
||||
#
|
||||
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 17.3alpha1+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-13 21:51+0000\n"
|
||||
"PO-Revision-Date: 2024-02-14 09:20+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-11-17 03:10+0000\n"
|
||||
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
|
||||
"Language-Team: Italian <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_din5008_repair/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.12.2\n"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_document_title
|
||||
msgid "L10N Din5008 Document Title"
|
||||
msgstr "Titolo del documento L10N Din5008"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Nome visualizzato"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_template_data
|
||||
msgid "L10N Din5008 Template Data"
|
||||
msgstr "Dati modello L10N Din5008"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Lot/Serial Number"
|
||||
msgstr "Numero di lotto/di serie"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_printing_date
|
||||
msgid "L10N Din5008 Printing Date"
|
||||
msgstr "L10N Din5008 Data di stampa"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Printing Date"
|
||||
msgstr "Data di stampa"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Lot/Serial Number:"
|
||||
msgstr "Numero di lotto/serie:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Product to Repair"
|
||||
msgstr "Prodotto da riparare"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Printing Date:"
|
||||
msgstr "Data di stampa:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Product to Repair:"
|
||||
msgstr "Prodotto da riparare:"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#: model:ir.model,name:l10n_din5008_repair.model_repair_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Order"
|
||||
msgstr "Ordine di riparazione"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Quotation"
|
||||
msgstr "Preventivo riparazione"
|
||||
msgstr "Preventivo di riparazione"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Warranty"
|
||||
msgstr "Garanzia"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.external_layout_din5008_repairorder
|
||||
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: 2025-12-30 19:06+0000\n"
|
||||
"PO-Revision-Date: 2025-12-30 19:06+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -16,54 +16,47 @@ msgstr ""
|
|||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_document_title
|
||||
msgid "L10N Din5008 Document Title"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_template_data
|
||||
msgid "L10N Din5008 Template Data"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Lot/Serial Number"
|
||||
#: model:ir.model.fields,field_description:l10n_din5008_repair.field_repair_order__l10n_din5008_printing_date
|
||||
msgid "L10N Din5008 Printing Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Printing Date"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Lot/Serial Number:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Product to Repair"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Printing Date:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Product to Repair:"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#: model:ir.model,name:l10n_din5008_repair.model_repair_order
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Order"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.report_repairorder
|
||||
msgid "Repair Quotation"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_din5008_repair
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_din5008_repair/models/repair.py:0
|
||||
#, python-format
|
||||
msgid "Warranty"
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_din5008_repair.external_layout_din5008_repairorder
|
||||
msgid "Tax ID"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -1,27 +1,7 @@
|
|||
from odoo import models, fields, _
|
||||
from odoo.tools import format_date
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class RepairOrder(models.Model):
|
||||
_inherit = 'repair.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')
|
||||
|
||||
def _compute_l10n_din5008_template_data(self):
|
||||
for record in self:
|
||||
record.l10n_din5008_template_data = data = []
|
||||
if record.product_id:
|
||||
data.append((_("Product to Repair"), record.product_id.name))
|
||||
if record.lot_id:
|
||||
data.append((_("Lot/Serial Number"), record.lot_id.name))
|
||||
if record.guarantee_limit:
|
||||
data.append((_("Warranty"), format_date(self.env, record.guarantee_limit)))
|
||||
data.append((_("Printing Date"), format_date(self.env, fields.Date.today())))
|
||||
|
||||
def _compute_l10n_din5008_document_title(self):
|
||||
for record in self:
|
||||
if record.state == 'draft':
|
||||
record.l10n_din5008_document_title = _("Repair Quotation")
|
||||
else:
|
||||
record.l10n_din5008_document_title = _("Repair Order")
|
||||
l10n_din5008_printing_date = fields.Date(default=fields.Date.today, store=False)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="external_layout_din5008_repairorder" inherit_id="l10n_din5008.external_layout_din5008">
|
||||
<xpath expr="//div[@id='din5008_report_main_address']" position="before">
|
||||
<t t-if="o and o._name == 'repair.order' and o.partner_id">
|
||||
<t t-set="address">
|
||||
<address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'/>
|
||||
<div t-if="o.partner_id.vat">
|
||||
<t t-if="o.company_id.account_fiscal_country_id.vat_label" t-out="o.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
|
||||
<t t-else="">Tax ID</t>: <span t-field="o.partner_id.vat"/>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="report_repairorder" inherit_id="repair.report_repairorder">
|
||||
<xpath expr="//t[@t-set='o']" position="after">
|
||||
<t t-set="din5008_document_information">
|
||||
<div class="information_block" t-if="o and o._name=='repair.order'">
|
||||
<table>
|
||||
<tr t-if="o.product_id">
|
||||
<td>Product to Repair:</td>
|
||||
<td><t t-out="o.product_id.name"/></td>
|
||||
</tr>
|
||||
<tr t-if="o.lot_id">
|
||||
<td>Lot/Serial Number:</td>
|
||||
<td><t t-out="o.lot_id.name"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Printing Date:</td>
|
||||
<td><t t-out="o.l10n_din5008_printing_date" t-options="{'widget': 'date'}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-set="din5008_document_title">
|
||||
<span t-if="o and o._name == 'repair.order'">
|
||||
<t t-if="o.state == 'draft'">Repair Quotation</t>
|
||||
<t t-else="">Repair Order</t>
|
||||
</span>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
|
@ -1,13 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_din5008_repair"
|
||||
version = "16.0.0"
|
||||
description = "DIN 5008 - Repair - Odoo addon"
|
||||
description = "DIN 5008 - Repair -
|
||||
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-repair>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-l10n_din5008>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-repair>=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