# Sale Modify Header Improve

**URL:** https://discuss.tryton.org/t/sale-modify-header-improve/8027
**Category:** Ideas
**Created:** [November 11, 2024, 9:05am UTC](https://discuss.tryton.org/t/sale-modify-header-improve/8027 "2024-11-11T09:05:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shervas](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@shervas](https://discuss.tryton.org/u/shervas)
#### Post date: [November 11, 2024, 9:05am UTC](https://discuss.tryton.org/t/sale-modify-header-improve/8027/1 "2024-11-11T09:05:26Z")

</div>

Hi,  
If Modify Header is executed without modifying anything, some data of the lines could be modified because of the [on\_change\_product](https://foss.heptapod.net/tryton/tryton/-/blob/df6e3c10a5105e545e1aa8e58c3c087285146a58/modules/sale/sale.py?page=3#L2489).  
For example, if you add some tax manually different from the taxes that would fill the [compute\_taxes](https://foss.heptapod.net/tryton/tryton/-/blob/df6e3c10a5105e545e1aa8e58c3c087285146a58/modules/sale/sale.py?page=2#L1669), it will be removed or changed after running the wizard.  
I think that if nothing is changed at the wizard, nothing should be modified.

---

<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 11, 2024, 9:20am UTC](https://discuss.tryton.org/t/sale-modify-header-improve/8027/2 "2024-11-11T09:20:18Z")

</div>

Why not but the same apply to purchase, you can follow [Tryton - Get Involved](https://www.tryton.org/contribute#develop)
