Prestashop: BO - Invoices - Base price of a second invoice is identical than the first invoice

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

Describe the bug

If in BO in an order we add a new product with a new invoice the base price of the second invoice is the base price of the first invoice

Expected behavior

The base price of the second invoice should be based on products contained in the second invoice

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to FO and make an order
  2. Go to BO => orders => orders and select the previously created order
  3. In the document tab click on "generate invoice"
  4. Now add a new product with a "new generated invoice"
  5. Click on "view invoice"
  6. See error

Screenshots

Invoice 1
invoice1

Invoice 2
invoice2

Additional information

  • PrestaShop version: 1.7.7.x
  • PHP version: 7.2
1.7.7.x BO Bug Invoices Major Order To Do

All 6 comments

Hello @SD1982 is it a to do ?

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

@SD1982 Could you confirm if you have also this issue on 1.7.6.x ?
And add the 1.7.6.x if it's the case ?
Like that we are sure it's not a regression of the 1.7.7

Hello @marionf it seems that the behaviour is totally different in 1.7.6.x
1- When generating a new invoice for a new product the new invoice is empty (still generated but empty ) and the new product is added to the first invoice anyway
2- base price field on the invoice is not filled

Invoice 1
invoice1

Invoice 2
invoice2

So I think we can't consider that is a regression from 1.7.6.x

What do you think about the 1.7.6.x behaviour ? Do I have to report a whole new issue about this behavior ?

So I think we can't consider that is a regression from 1.7.6.x

Yes indeed, it didn't work either on 1.7.6

Do I have to report a whole new issue about this behavior ?

We need to make sure that it's not a regression from 1.7.6 (with another behavior in 1.7.7)
Could you check the behavior in the last 1.7.5 and after add the serverity label ?

Hello @marionf In 1.7.5 the behaviour is slightly different :

  • The new product is correctly added to the new invoice
  • But the base price field is also unfilled

Invoice 1
invoice1-1752

Invoice 2
invoice2-1752

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vincent-dp picture vincent-dp  路  3Comments

rGaillard picture rGaillard  路  3Comments

sandra2n picture sandra2n  路  3Comments

centoasa picture centoasa  路  3Comments

itisco picture itisco  路  3Comments