In the BO > Order details page, when we have a multi-invoices, adding a discount to a selected invoice, it will be applied in all invoices.
Steps to reproduce the behavior:
Screenshots
After

Before

Thanks for opening this issue! We will help you to keep its state consistent
Ping @jolelievre should be fixed by this PR: https://github.com/PrestaShop/PrestaShop/pull/20776 is it?
Thanks!
@khouloudbelguith yep exactly :)
Note: this bug was partially fixed in https://github.com/PrestaShop/PrestaShop/pull/20776 but now requires more specification to decide the expected behaviour
Many fixes from the PR have been moved in separate ones (shipping fixes among other things) The PR is closed but some elements might be interesting when the issue is re-defined and fixed so I mention it here