Skip to content

BO - Order page - when deleting all products - the total invoice is NOK #21991

Closed
Listed in
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

BO - Order page - when deleting all products - the total invoice is NOK

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create order from the FO with only one product
  2. In the Documents tab > generate an invoice
  3. Try to delete the product
  4. In the Documents tab => the total is not updated / invoice => nok
    image
  5. Download the invoice => NOK
    image

PS1.7.6.8 => ok
https://drive.google.com/file/d/1JKleufKGySk1LHpJ7ORf9lMYCP2iEU5X/view?usp=sharing

Additional information

  • PrestaShop version: 177x
  • PHP version: 7.2

Activity

added
BOCategory: Back Office
InvoicesLabel: Which BO under menu is concerned
migrationsymfony migration project
OrderComponent: Which BO section is concerned
ReadyStatus: Issue is ready to be worked on
BugType: Bug
on Nov 18, 2020
khouloudbelguith

khouloudbelguith commented on Nov 18, 2020

@khouloudbelguith
ContributorAuthor

Related to #21903

added
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
on Nov 18, 2020
jolelievre

jolelievre commented on Nov 18, 2020

@jolelievre
Contributor

Is it really related to #21903 ? Cancel and delete product are two different actions which do not have the same consequences
So in this issue what was done delete (with the trash icon) or cancel (with the cancel button when merchandise return is enabled)?

self-assigned this
on Nov 18, 2020
jolelievre

jolelievre commented on Nov 18, 2020

@jolelievre
Contributor

Ok I understand why it was related, because there was the same mistake on invoice totals I fixed both issues in the same PR anyway

linked a pull request that will close this issueRemove or cancel all products #21994on Nov 18, 2020
added this to the 1.7.7.0 milestone on Nov 19, 2020
added
Must-haveKanban prioritization: issue must be included in next version
on Nov 19, 2020
Progi1984

Progi1984 commented on Nov 19, 2020

@Progi1984
Member

Fixed by #21994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.7.7.xBranchBOCategory: Back OfficeBugType: BugFixedResolution: issue closed because fixedInvoicesLabel: Which BO under menu is concernedMajorSeverity: major bug > https://build.prestashop.com/news/severity-classificationMust-haveKanban prioritization: issue must be included in next versionOrderComponent: Which BO section is concernedPR availableSolution: issue is being addressedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @Progi1984@marionf@jolelievre@khouloudbelguith

    Issue actions

      BO - Order page - when deleting all products - the total invoice is NOK · Issue #21991 · PrestaShop/PrestaShop