From 1c89538b2ddbfa7673809bab375e4ac5816e6144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20G=C3=B6ttsch?= Date: Thu, 24 Jul 2025 20:32:48 +0200 Subject: [PATCH] [IMP] nfu_account: add amount total to invoice portal view --- nfu_account/README.rst | 1 + nfu_account/__manifest__.py | 3 +- nfu_account/i18n/de.po | 103 +++++----------------- nfu_account/readme/HISTORY.rst | 1 + nfu_account/static/description/index.html | 9 ++ nfu_account/views/template.xml | 22 +++++ setup/nfu_account/odoo/addons/nfu_account | 1 + setup/nfu_account/setup.py | 6 ++ 8 files changed, 64 insertions(+), 82 deletions(-) create mode 100644 nfu_account/views/template.xml create mode 120000 setup/nfu_account/odoo/addons/nfu_account create mode 100644 setup/nfu_account/setup.py diff --git a/nfu_account/README.rst b/nfu_account/README.rst index b17f6b9..4015a83 100644 --- a/nfu_account/README.rst +++ b/nfu_account/README.rst @@ -35,6 +35,7 @@ Changelog ========= - :16.0.1.0.0: Initial module. +- :16.0.1.1.0: add amount total to portal account view Bug Tracker =========== diff --git a/nfu_account/__manifest__.py b/nfu_account/__manifest__.py index ff8285f..d5705a2 100644 --- a/nfu_account/__manifest__.py +++ b/nfu_account/__manifest__.py @@ -4,10 +4,11 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "Stock", - "version": "16.0.1.0.0", + "version": "16.0.1.1.0", "depends": ["account"], "data": [ "views/account_move_views.xml", + "views/template.xml", ], "license": "LGPL-3", "application": True, diff --git a/nfu_account/i18n/de.po b/nfu_account/i18n/de.po index 96ced53..f85a682 100644 --- a/nfu_account/i18n/de.po +++ b/nfu_account/i18n/de.po @@ -1,96 +1,37 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * nfu_ekg_stock +# * nfu_account # msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-01 20:16+0000\n" -"PO-Revision-Date: 2024-07-01 22:18+0200\n" +"POT-Creation-Date: 2025-07-24 18:29+0000\n" +"PO-Revision-Date: 2025-07-24 18:29+0000\n" "Last-Translator: \n" "Language-Team: \n" -"Language: en\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.4\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" -#. module: nfu_ekg_stock -#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery -msgid "" -"'EKG Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name)" -msgstr "" -"'EKG Lieferschein - %s - %s' % (object.partner_id.name or '', object.name)" +#. module: nfu_account +#: model_terms:ir.ui.view,arch_db:nfu_account.portal_invoice_list_inherit_amount_total +msgid "Amount Total" +msgstr "Gesamtbetrag" -#. module: nfu_ekg_stock -#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery_compact -msgid "" -"'EKG Delivery Slip Compact - %s - %s' % (object.partner_id.name or '', " -"object.name)" -msgstr "" -"'EKG kompakter Lieferschein - %s - %s' % (object.partner_id.name or '', " -"object.name)" +#. module: nfu_account +#: model_terms:ir.ui.view,arch_db:nfu_account.view_partner_credit_kanban +msgid "Credit:" +msgstr "Guthaben:" -#. module: nfu_ekg_stock -#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_packing_list -msgid "" -"'EKG Packing List - %s - %s' % (object.partner_id.name or '', object.name)" -msgstr "" -"'EKG Packliste - %s - %s' % (object.partner_id.name or '', object.name)" +#. module: nfu_account +#: model:ir.model,name:nfu_account.model_res_partner +msgid "Contact" +msgstr "Kontakt" -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document -msgid "Available" -msgstr "Verfügbar" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document -msgid "Batch Size" -msgstr "Gebindegröße" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document -msgid "Product" -msgstr "Produkt" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_compact_document -msgid "Qty" -msgstr "Menge" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document -msgid "Signature" -msgstr "Unterschrift" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list -msgid "Batch
Size" -msgstr "Gebinde
größe" - -#. module: nfu_ekg_stock -#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_delivery -msgid "EKG Delivery Slip" -msgstr "EKG Lieferschein" - -#. module: nfu_ekg_stock -#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_delivery_compact -msgid "EKG Delivery Slip Compact" -msgstr "EKG kompakter Lieferschein" - -#. module: nfu_ekg_stock -#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_packing_list -msgid "EKG Packing List" -msgstr "EKG Packliste" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list -msgid "Internal
Reference" -msgstr "Artikel
nummer" - -#. module: nfu_ekg_stock -#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list -msgid "Product" -msgstr "Produkt" +#. module: nfu_account +#: model:ir.model.fields,field_description:nfu_account.field_res_partner__nfu_credit +#: model:ir.model.fields,field_description:nfu_account.field_res_users__nfu_credit +msgid "Customer Credit" +msgstr "Kundenguthaben" diff --git a/nfu_account/readme/HISTORY.rst b/nfu_account/readme/HISTORY.rst index 9653e3a..3884798 100644 --- a/nfu_account/readme/HISTORY.rst +++ b/nfu_account/readme/HISTORY.rst @@ -1 +1,2 @@ - :16.0.1.0.0: Initial module. +- :16.0.1.1.0: add amount total to portal account view \ No newline at end of file diff --git a/nfu_account/static/description/index.html b/nfu_account/static/description/index.html index 219b4b7..db64097 100644 --- a/nfu_account/static/description/index.html +++ b/nfu_account/static/description/index.html @@ -398,6 +398,15 @@ ul.auto-toc { +
  • +++ + + + +
    16.0.1.1.0:add amount total to portal account view
    +
  • diff --git a/nfu_account/views/template.xml b/nfu_account/views/template.xml new file mode 100644 index 0000000..ee31f7f --- /dev/null +++ b/nfu_account/views/template.xml @@ -0,0 +1,22 @@ + + + + diff --git a/setup/nfu_account/odoo/addons/nfu_account b/setup/nfu_account/odoo/addons/nfu_account new file mode 120000 index 0000000..a536f48 --- /dev/null +++ b/setup/nfu_account/odoo/addons/nfu_account @@ -0,0 +1 @@ +../../../../nfu_account \ No newline at end of file diff --git a/setup/nfu_account/setup.py b/setup/nfu_account/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/nfu_account/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)