Prestashop: BO - Orders page - Multi-invoice issue - Discount is applied in all invoices

Created on 28 Aug 2020  路  4Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

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

Steps to reproduce the behavior:

  1. You have already an order with multi-invoices (Product1 => IN0007) and (Product2 => IN0008)
  2. Add a discount 100% for IN0007 =100%
  3. The discount is applied in all invoices

Screenshots
After
image
Before
image

Additional information

  • PrestaShop version: 177x
  • PHP version: 7.2
1.7.7.x BO Bug Discounts Invoices Major Nice to have Order PR available Regression TBS WIP

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings