Prestashop: BO - ORDER - INVOICE - Impossible to reassign a product to another invoice

Created on 20 Apr 2020  路  9Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

In BO order if we have multiple invoice in an order when trying to reassign a product to another invoice the save button have no effect.

Expected behavior

The invoice reassignment should work

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO => order => order => select an order
  2. Add a product with a new generated invoice to the order
  3. Try to edit the invoice of one of the product
  4. Click on save
  5. See error the invoice is not updated

Screenshots

https://drive.google.com/file/d/1sgSxXBvW5ROAtxGZqv6nje-7i6soiaz6/view?usp=sharing

Additional information

  • PrestaShop version: 1.7.7.x
  • PHP version: 7.2
1.7.7.x BO Bug Fixed Invoices Minor Nice to have Order PR available Regression migration

All 9 comments

Hello @SD1982 could you add to do label please ?

Hello @marionf i have added the "to do" label

Thank you @SD1982
Did you try to reproduce it on 1.7.6.x ? To be sure it's not a regression ?

Hello @marionf this behaviour has been reproduced in 1.7.6.x

All right, so I add the 1.7.6.x label, this way we are sure it's not a regression of 1.7.7

Failed to reproduce on 1.7.7.x

Hi @marionf,

After a discussion with @SD1982, this issue is regression.
It is ok with PS1.7.6.7.
https://drive.google.com/file/d/1IGjkzlGjghCsEk_xO-tR8vghjNnq2wFs/view?usp=sharing

Thanks!

I also tried it even with the branch from https://github.com/PrestaShop/PrestaShop/pull/20145 which modifies a lot of things regarding order editing and multi invoice The bug is still present

Fixed by #20906

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vincent-dp picture vincent-dp  路  3Comments

marionf picture marionf  路  3Comments

khouloudbelguith picture khouloudbelguith  路  3Comments

matks picture matks  路  3Comments

Van-peterson picture Van-peterson  路  3Comments