Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BO] [Vouchers]+[Discount] Error 500 when opening the pdf voucher #20520

Closed
ngodefroy opened this issue Aug 10, 2020 · 4 comments
Closed

[BO] [Vouchers]+[Discount] Error 500 when opening the pdf voucher #20520

ngodefroy opened this issue Aug 10, 2020 · 4 comments
Assignees
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Credit notes Label: Which BO under menu is concerned Discounts Label: Which BO under menu is concerned Fixed Resolution: issue closed because fixed Major Severity: major bug > https://build.prestashop.com/news/severity-classification Must-have Kanban prioritization: issue must be included in next version PR available Solution: issue is being addressed Regression Type: regression
Milestone

Comments

@ngodefroy
Copy link

ngodefroy commented Aug 10, 2020

Trying to add a discount when a voucher has been applied generate an error when opening the voucher

Expected behavior

I apply a client voucher then give him a 10% discount.
When I go to the vouchers window, I should be able to click on the voucher link and a new tab should open with a pdf voucher.

Steps to Reproduce

Steps to reproduce the behavior:

  1. After placing an order, go to orders settings in the BO
  2. click on "Add a discount" and place a 10% discount
  3. Update the order status to delivered
  4. Click on partial refund
    Capture d’écran 2020-08-10 à 14 52 03
  5. Generate partial refund
  6. Go into credit notes (vouchers) and click on "download credit note"
    See error:
    Capture d’écran 2020-08-10 à 14 54 02

Additional information

  • PrestaShop version: 1.7.7.x
  • PHP version: 7.2
@prestashop-issue-bot
Copy link

Thanks for opening this issue! We will help you to keep its state consistent

@ngodefroy ngodefroy added the 1.7.7.x Branch label Aug 10, 2020
@khouloudbelguith
Copy link
Contributor

Hi

Same issue in the PS1.7.7.x

Thanks!

@khouloudbelguith khouloudbelguith added Bug Type: Bug Credit notes Label: Which BO under menu is concerned Discounts Label: Which BO under menu is concerned Major Severity: major bug > https://build.prestashop.com/news/severity-classification Regression Type: regression Ready Status: Issue is ready to be worked on BO Category: Back Office labels Aug 10, 2020
@marionf marionf added this to Backlog in PrestaShop 1.7.7.3 via automation Aug 10, 2020
@marionf marionf added the Must-have Kanban prioritization: issue must be included in next version label Aug 10, 2020
@prestashop-issue-bot prestashop-issue-bot bot moved this from Backlog to To do in PrestaShop 1.7.7.3 Aug 10, 2020
@matks matks self-assigned this Aug 10, 2020
@matks matks added the PR available Solution: issue is being addressed label Aug 10, 2020
@matks
Copy link
Contributor

matks commented Aug 10, 2020

Should be fixed by #20524

@matks matks moved this from To do to To be reviewed in PrestaShop 1.7.7.3 Aug 10, 2020
@matks matks removed the Ready Status: Issue is ready to be worked on label Aug 10, 2020
@matks matks moved this from To be reviewed to To be tested in PrestaShop 1.7.7.3 Aug 10, 2020
@SD1982 SD1982 moved this from To be tested to To be merged in PrestaShop 1.7.7.3 Aug 12, 2020
@matks
Copy link
Contributor

matks commented Aug 12, 2020

Fixed by #20524

@matks matks closed this as completed Aug 12, 2020
PrestaShop 1.7.7.3 automation moved this from To be merged to Done Aug 12, 2020
@prestashop-issue-bot prestashop-issue-bot bot added the Fixed Resolution: issue closed because fixed label Aug 12, 2020
@matks matks added this to the 1.7.7.0 milestone Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Credit notes Label: Which BO under menu is concerned Discounts Label: Which BO under menu is concerned Fixed Resolution: issue closed because fixed Major Severity: major bug > https://build.prestashop.com/news/severity-classification Must-have Kanban prioritization: issue must be included in next version PR available Solution: issue is being addressed Regression Type: regression
Projects
No open projects
Development

No branches or pull requests

4 participants