[IMP] nfu_account: add amount total to invoice portal view
This commit is contained in:
parent
c22fc9ad2d
commit
1c89538b2d
8 changed files with 64 additions and 82 deletions
|
|
@ -35,6 +35,7 @@ Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
- :16.0.1.0.0: Initial module.
|
- :16.0.1.0.0: Initial module.
|
||||||
|
- :16.0.1.1.0: add amount total to portal account view
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,11 @@
|
||||||
"author": "BAKEUP",
|
"author": "BAKEUP",
|
||||||
"website": "https://www.bakeup.org",
|
"website": "https://www.bakeup.org",
|
||||||
"category": "Stock",
|
"category": "Stock",
|
||||||
"version": "16.0.1.0.0",
|
"version": "16.0.1.1.0",
|
||||||
"depends": ["account"],
|
"depends": ["account"],
|
||||||
"data": [
|
"data": [
|
||||||
"views/account_move_views.xml",
|
"views/account_move_views.xml",
|
||||||
|
"views/template.xml",
|
||||||
],
|
],
|
||||||
"license": "LGPL-3",
|
"license": "LGPL-3",
|
||||||
"application": True,
|
"application": True,
|
||||||
|
|
|
||||||
|
|
@ -1,96 +1,37 @@
|
||||||
# Translation of Odoo Server.
|
# Translation of Odoo Server.
|
||||||
# This file contains the translation of the following modules:
|
# This file contains the translation of the following modules:
|
||||||
# * nfu_ekg_stock
|
# * nfu_account
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 16.0\n"
|
"Project-Id-Version: Odoo Server 16.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-07-01 20:16+0000\n"
|
"POT-Creation-Date: 2025-07-24 18:29+0000\n"
|
||||||
"PO-Revision-Date: 2024-07-01 22:18+0200\n"
|
"PO-Revision-Date: 2025-07-24 18:29+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: en\n"
|
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: \n"
|
||||||
"X-Generator: Poedit 3.4.4\n"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
#. module: nfu_account
|
||||||
#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery
|
#: model_terms:ir.ui.view,arch_db:nfu_account.portal_invoice_list_inherit_amount_total
|
||||||
msgid ""
|
msgid "<span>Amount Total</span>"
|
||||||
"'EKG Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name)"
|
msgstr "<span>Gesamtbetrag</span>"
|
||||||
msgstr ""
|
|
||||||
"'EKG Lieferschein - %s - %s' % (object.partner_id.name or '', object.name)"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
#. module: nfu_account
|
||||||
#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery_compact
|
#: model_terms:ir.ui.view,arch_db:nfu_account.view_partner_credit_kanban
|
||||||
msgid ""
|
msgid "<span>Credit:</span>"
|
||||||
"'EKG Delivery Slip Compact - %s - %s' % (object.partner_id.name or '', "
|
msgstr "<span>Guthaben:</span>"
|
||||||
"object.name)"
|
|
||||||
msgstr ""
|
|
||||||
"'EKG kompakter Lieferschein - %s - %s' % (object.partner_id.name or '', "
|
|
||||||
"object.name)"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
#. module: nfu_account
|
||||||
#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_packing_list
|
#: model:ir.model,name:nfu_account.model_res_partner
|
||||||
msgid ""
|
msgid "Contact"
|
||||||
"'EKG Packing List - %s - %s' % (object.partner_id.name or '', object.name)"
|
msgstr "Kontakt"
|
||||||
msgstr ""
|
|
||||||
"'EKG Packliste - %s - %s' % (object.partner_id.name or '', object.name)"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
#. module: nfu_account
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
|
#: model:ir.model.fields,field_description:nfu_account.field_res_partner__nfu_credit
|
||||||
msgid "<strong>Available</strong>"
|
#: model:ir.model.fields,field_description:nfu_account.field_res_users__nfu_credit
|
||||||
msgstr "<strong>Verfügbar</strong>"
|
msgid "Customer Credit"
|
||||||
|
msgstr "Kundenguthaben"
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
|
|
||||||
msgid "<strong>Batch Size</strong>"
|
|
||||||
msgstr "<strong>Gebindegröße</strong>"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
|
|
||||||
msgid "<strong>Product</strong>"
|
|
||||||
msgstr "<strong>Produkt</strong>"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_compact_document
|
|
||||||
msgid "<strong>Qty</strong>"
|
|
||||||
msgstr "<strong>Menge</strong>"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
|
|
||||||
msgid "<strong>Signature</strong>"
|
|
||||||
msgstr "<strong>Unterschrift</strong>"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
|
|
||||||
msgid "Batch<br/>Size"
|
|
||||||
msgstr "Gebinde<br/>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<br/>Reference"
|
|
||||||
msgstr "Artikel<br/>nummer"
|
|
||||||
|
|
||||||
#. module: nfu_ekg_stock
|
|
||||||
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
|
|
||||||
msgid "Product"
|
|
||||||
msgstr "Produkt"
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
- :16.0.1.0.0: Initial module.
|
- :16.0.1.0.0: Initial module.
|
||||||
|
- :16.0.1.1.0: add amount total to portal account view
|
||||||
|
|
@ -398,6 +398,15 @@ ul.auto-toc {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</li>
|
</li>
|
||||||
|
<li><table class="first docutils field-list" frame="void" rules="none">
|
||||||
|
<col class="field-name" />
|
||||||
|
<col class="field-body" />
|
||||||
|
<tbody valign="top">
|
||||||
|
<tr class="field"><th class="field-name">16.0.1.1.0:</th><td class="field-body">add amount total to portal account view</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
|
|
|
||||||
22
nfu_account/views/template.xml
Normal file
22
nfu_account/views/template.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<template
|
||||||
|
id="portal_invoice_list_inherit_amount_total"
|
||||||
|
inherit_id="account.portal_my_invoices"
|
||||||
|
name="Portal Invoice List: Add Amount Total"
|
||||||
|
>
|
||||||
|
<xpath expr="//t[@t-if='invoices']//thead/tr" position="inside">
|
||||||
|
<th class="text-end">
|
||||||
|
<span>Amount Total</span>
|
||||||
|
</th>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//t[@t-if='invoices']/tbody//tr" position="inside">
|
||||||
|
<td class="text-end">
|
||||||
|
<span
|
||||||
|
t-field="invoice.amount_total"
|
||||||
|
t-options="{'widget': 'monetary', 'display_currency': invoice.currency_id}"
|
||||||
|
/>
|
||||||
|
</td>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</odoo>
|
||||||
1
setup/nfu_account/odoo/addons/nfu_account
Symbolic link
1
setup/nfu_account/odoo/addons/nfu_account
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../nfu_account
|
||||||
6
setup/nfu_account/setup.py
Normal file
6
setup/nfu_account/setup.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
||||||
Loading…
Reference in a new issue