Skip to content

Commit

Permalink
[FIX] account_invoice_discount_display_amount: hide discount amount o…
Browse files Browse the repository at this point in the history
…n invoice line

This reverts commits 1a299b0 and 8415add.

@moduon MT-7125
  • Loading branch information
yajo committed Sep 18, 2024
1 parent b9788c5 commit 2737def
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 21 deletions.
5 changes: 0 additions & 5 deletions account_invoice_discount_display_amount/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ This module allows to show the total discount amount
applied to an invoice, both in the backend and the
invoice PDF repot.

Also it shows the discount amount in the invoice line.

**Table of contents**

.. contents::
Expand All @@ -54,7 +52,6 @@ To use this module, you need to:
#. Apply a discount on an invoice line.
#. The values 'Discount Total' and 'Total Without Discount'
will be automatically updated.
#. The discount amount will be displayed on each invoice line.

Bug Tracker
===========
Expand All @@ -81,8 +78,6 @@ Contributors
* Alexei Rivera <arivera@archeti.com>
* [APSL-Nagarro](https://apsl.tech):
* Santi Amorós <samoros@apsl.net>
* Moduon <https://www.moduon.team/>
* Eduardo López

Maintainers
~~~~~~~~~~~
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
* Alexei Rivera <arivera@archeti.com>
* [APSL-Nagarro](https://apsl.tech):
* Santi Amorós <samoros@apsl.net>
* Moduon <https://www.moduon.team/>
* Eduardo López
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This module allows to show the total discount amount
applied to an invoice, both in the backend and the
invoice PDF repot.

Also it shows the discount amount in the invoice line.
1 change: 0 additions & 1 deletion account_invoice_discount_display_amount/readme/USAGE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ To use this module, you need to:
#. Apply a discount on an invoice line.
#. The values 'Discount Total' and 'Total Without Discount'
will be automatically updated.
#. The discount amount will be displayed on each invoice line.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ <h1 class="title">Account Invoice Discount Display Amount</h1>
<p>This module allows to show the total discount amount
applied to an invoice, both in the backend and the
invoice PDF repot.</p>
<p>Also it shows the discount amount in the invoice line.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down Expand Up @@ -402,7 +401,6 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<li>Apply a discount on an invoice line.</li>
<li>The values ‘Discount Total’ and ‘Total Without Discount’
will be automatically updated.</li>
<li>The discount amount will be displayed on each invoice line.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
Expand All @@ -428,8 +426,6 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Alexei Rivera &lt;<a class="reference external" href="mailto:arivera&#64;archeti.com">arivera&#64;archeti.com</a>&gt;</li>
<li>[APSL-Nagarro](<a class="reference external" href="https://apsl.tech">https://apsl.tech</a>):
* Santi Amorós &lt;<a class="reference external" href="mailto:samoros&#64;apsl.net">samoros&#64;apsl.net</a>&gt;</li>
<li>Moduon &lt;<a class="reference external" href="https://www.moduon.team/">https://www.moduon.team/</a>&gt;
* Eduardo López</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
<field name="price_total_no_discount" />
<field name="discount_total" />
</xpath>

<xpath
expr="//field[@name='invoice_line_ids']/tree/field[@name='discount']"
position="after"
>
<field name="discount_total" optional="show" />
</xpath>
</data>
</field>
</record>
Expand Down

0 comments on commit 2737def

Please sign in to comment.