# New module sale\_discount: total amount not updated

**URL:** https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451
**Category:** User
**Created:** [November 12, 2020, 3:43pm UTC](https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451 "2020-11-12T15:43:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [November 12, 2020, 3:43pm UTC](https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451/1 "2020-11-12T15:43:01Z")

</div>

Hi  
I am trying the new ‘sale\_discount’ module.  
When I choose an product, a quantity, and a discount: the amount of the discount is correctly calculated, the unit price is updated, but not the total amount.  
If I assign a new unit price, the discount is updated, as well as the total amount  
Do you have the same behavior?  
Regard.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [November 12, 2020, 5:59pm UTC](https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451/2 "2020-11-12T17:59:38Z")

</div>

I guess it need to be reported on [https://bugs.tryton.org/](https://bugs.tryton.org/)

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [November 12, 2020, 6:27pm UTC](https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451/3 "2020-11-12T18:27:45Z")

</div>

It is done: [Total amount is not updated when we change the discount rate. (#9823) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue9823)

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [November 12, 2020, 8:52pm UTC](https://discuss.tryton.org/t/new-module-sale-discount-total-amount-not-updated/3451/4 "2020-11-12T20:52:32Z")

</div>

Perhaps it is related to [this one](https://bugs.tryton.org/issue9804) too.
