From 7cdbdd4741662d20eed58aa3f4f238e1e5b7fa9a Mon Sep 17 00:00:00 2001 From: Alfredo Date: Tue, 26 Nov 2024 08:27:29 +0100 Subject: [PATCH] [14.0][ADD] repair_order_report_ext: In repair order new report "Quotation / Order Without Amounts". --- repair_order_report_ext/README.rst | 27 ++++++++++ repair_order_report_ext/__init__.py | 0 repair_order_report_ext/__manifest__.py | 17 ++++++ repair_order_report_ext/i18n/en_GB.po | 29 ++++++++++ repair_order_report_ext/i18n/es.po | 32 +++++++++++ .../i18n/repair_order_report_ext.pot | 29 ++++++++++ .../report/repair_report.xml | 53 +++++++++++++++++++ .../odoo/addons/repair_order_report_ext | 1 + setup/repair_order_report_ext/setup.py | 6 +++ 9 files changed, 194 insertions(+) create mode 100644 repair_order_report_ext/README.rst create mode 100644 repair_order_report_ext/__init__.py create mode 100644 repair_order_report_ext/__manifest__.py create mode 100644 repair_order_report_ext/i18n/en_GB.po create mode 100644 repair_order_report_ext/i18n/es.po create mode 100644 repair_order_report_ext/i18n/repair_order_report_ext.pot create mode 100644 repair_order_report_ext/report/repair_report.xml create mode 120000 setup/repair_order_report_ext/odoo/addons/repair_order_report_ext create mode 100644 setup/repair_order_report_ext/setup.py diff --git a/repair_order_report_ext/README.rst b/repair_order_report_ext/README.rst new file mode 100644 index 0000000..07a61e1 --- /dev/null +++ b/repair_order_report_ext/README.rst @@ -0,0 +1,27 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================= +Repair order report ext +======================= + +* In repair order new report "Quotation / Order Without Amounts". + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, +please check there if your issue has already been reported. If you spotted it +first, help us smash it by providing detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ +* Alfredo de la Fuente +* Ana Juaristi + +Do not contact contributors directly about support or help with technical issues. diff --git a/repair_order_report_ext/__init__.py b/repair_order_report_ext/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/repair_order_report_ext/__manifest__.py b/repair_order_report_ext/__manifest__.py new file mode 100644 index 0000000..8405fe1 --- /dev/null +++ b/repair_order_report_ext/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2024 Alfredo de la Fuente - AvanzOSC +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +{ + "name": "Repair Order Report Ext", + "version": "14.0.1.0.0", + "category": "Inventory/Inventory", + "license": "AGPL-3", + "author": "AvanzOSC", + "website": "https://github.com/avanzosc/mrp-repair-addons", + "depends": [ + "repair", + ], + "data": [ + "report/repair_report.xml", + ], + "installable": True, +} diff --git a/repair_order_report_ext/i18n/en_GB.po b/repair_order_report_ext/i18n/en_GB.po new file mode 100644 index 0000000..f276de3 --- /dev/null +++ b/repair_order_report_ext/i18n/en_GB.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_report_ext +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-11-26 07:04+0000\n" +"PO-Revision-Date: 2024-11-26 07:04+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: repair_order_report_ext +#: model:ir.actions.report,print_report_name:repair_order_report_ext.action_report_repair_order_without +msgid "" +"(\n" +" object.state == 'draft' and 'Repair Quotation - %s without amounts' % (object.name) or\n" +" 'Repair Order - %s without amounts' % (object.name))" +msgstr "" + +#. module: repair_order_report_ext +#: model:ir.actions.report,name:repair_order_report_ext.action_report_repair_order_without +msgid "Quotation / Order Without Amounts" +msgstr "" diff --git a/repair_order_report_ext/i18n/es.po b/repair_order_report_ext/i18n/es.po new file mode 100644 index 0000000..a261ee9 --- /dev/null +++ b/repair_order_report_ext/i18n/es.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_report_ext +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-11-26 07:05+0000\n" +"PO-Revision-Date: 2024-11-26 07:05+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: repair_order_report_ext +#: model:ir.actions.report,print_report_name:repair_order_report_ext.action_report_repair_order_without +msgid "" +"(\n" +" object.state == 'draft' and 'Repair Quotation - %s without amounts' % (object.name) or\n" +" 'Repair Order - %s without amounts' % (object.name))" +msgstr "" +"(\n" +" object.state == 'draft' and 'Presupuesto de ReparaciĆ³n - %s sin importes' % (object.name) or\n" +" 'Orden de reparaciĆ³n - %s sin importes' % (object.name))" + +#. module: repair_order_report_ext +#: model:ir.actions.report,name:repair_order_report_ext.action_report_repair_order_without +msgid "Quotation / Order Without Amounts" +msgstr "Presupuesto / Pedido Sin Importes" diff --git a/repair_order_report_ext/i18n/repair_order_report_ext.pot b/repair_order_report_ext/i18n/repair_order_report_ext.pot new file mode 100644 index 0000000..f276de3 --- /dev/null +++ b/repair_order_report_ext/i18n/repair_order_report_ext.pot @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_report_ext +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-11-26 07:04+0000\n" +"PO-Revision-Date: 2024-11-26 07:04+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: repair_order_report_ext +#: model:ir.actions.report,print_report_name:repair_order_report_ext.action_report_repair_order_without +msgid "" +"(\n" +" object.state == 'draft' and 'Repair Quotation - %s without amounts' % (object.name) or\n" +" 'Repair Order - %s without amounts' % (object.name))" +msgstr "" + +#. module: repair_order_report_ext +#: model:ir.actions.report,name:repair_order_report_ext.action_report_repair_order_without +msgid "Quotation / Order Without Amounts" +msgstr "" diff --git a/repair_order_report_ext/report/repair_report.xml b/repair_order_report_ext/report/repair_report.xml new file mode 100644 index 0000000..daa6f3f --- /dev/null +++ b/repair_order_report_ext/report/repair_report.xml @@ -0,0 +1,53 @@ + + + + + + + + + + Quotation / Order Without Amounts + repair.order + qweb-pdf + repair_order_report_ext.report_repairorder_without_amounts + repair.report_repairorder + ( + object.state == 'draft' and 'Repair Quotation - %s without amounts' % (object.name) or + 'Repair Order - %s without amounts' % (object.name)) + + report + + diff --git a/setup/repair_order_report_ext/odoo/addons/repair_order_report_ext b/setup/repair_order_report_ext/odoo/addons/repair_order_report_ext new file mode 120000 index 0000000..4f63818 --- /dev/null +++ b/setup/repair_order_report_ext/odoo/addons/repair_order_report_ext @@ -0,0 +1 @@ +../../../../repair_order_report_ext \ No newline at end of file diff --git a/setup/repair_order_report_ext/setup.py b/setup/repair_order_report_ext/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/repair_order_report_ext/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)