Skip to content

BO - Order page - Adding a product on empty order : Invoice NOK #22008

Closed
@Robin-Fischer-PS

Description

@Robin-Fischer-PS
Contributor

Describe the bug

When I add a product on an empty order (for example, an order with one product, the product is deleted, and a new product is added), the tax block in the generated invoice is NOK : It only contains the Shipping tax and not the Product tax

Expected behavior

Tax block should also contain the product tax.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create order from the FO with only one product
  2. Delete the product and refresh : The order is empty, status changed to "canceled"
  3. Add a product to the order and refresh
  4. Generate the invoice or change status of the order to Payment accepted
  5. Download the invoice : The taxes block is NOK : Only the Shipping tax in displayed but not the product tax. Rest of the invoice is OK.

Screenshots

no tax on product

https://drive.google.com/file/d/1jVBtdnBrcsIagBDg6ARgKS1WjzXTnchy/view?usp=sharing

Additional information

  • PrestaShop version: 1.7.7.x, 177RC1Build4
  • PHP version: N/A

Activity

added
BugType: Bug
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
BOCategory: Back Office
OrderComponent: Which BO section is concerned
InvoicesLabel: Which BO under menu is concerned
migrationsymfony migration project
on Nov 19, 2020
added
Must-haveKanban prioritization: issue must be included in next version
on Nov 19, 2020
self-assigned this
on Nov 19, 2020
added
WIPStatus: Work In Progress
and removed
ReadyStatus: Issue is ready to be worked on
on Nov 19, 2020
matks

matks commented on Nov 19, 2020

@matks
Contributor

Should be fixed by #22018

removed
WIPStatus: Work In Progress
on Nov 19, 2020
added this to the 1.7.7.0 milestone on Nov 20, 2020
linked a pull request that will close this issueOrder zero ratio for order detail tax #22018on Nov 20, 2020
Progi1984

Progi1984 commented on Nov 20, 2020

@Progi1984
Member

Fixed by #22018

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 concernedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @Progi1984@matks@marionf@khouloudbelguith@MatShir

    Issue actions

      BO - Order page - Adding a product on empty order : Invoice NOK · Issue #22008 · PrestaShop/PrestaShop