View Issue Details

IDProjectCategoryView StatusLast Update
0005515OXID eShop (all versions)2.6. Administer orderspublic2023-11-22 15:41
Reportercneumann Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionnot fixable 
Product Version4.8.0 / 5.1.0 
Summary0005515: Removed from order articles listed in first created invoice PDF
DescriptionIf you generate a new invoice (i.e. the bill date is not set yet), removed from order articles will show in the article list.
Steps To Reproduce"Storno" articles. Create a new invoice PDF (bill date must not be set).
Additional InformationIf the bill date is not set, myorder.php's genPdf will set it and save the order, i.e. it calls oxorder's save method. This method will load the order articles, including storno articles (getOrderArticles() instead of getOrderArticles(true)). If the bill date is set, save won't be called and getOrderArticles will be called later with "true" as argument (which filters out storno articles).
TagsNo tags attached.
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

svetlana

2013-11-25 13:26

reporter   ~0009299

Reminder sent to: cneumann

Hi,
Thanks a lot for entering a bug, but unfortunately we can not reproduce it. Could you please tell us in more details about this issue. What exactly you mean "articles listed in first created invoice PDF". Thank a lot.

cneumann

2013-11-25 14:03

reporter   ~0009301

The correct title of the bug should be "Articles removed from order are listet in the first created invoice PDF".

To reproduce:
- Storno an article of an order
- Create a new invoice PDF (new means: bill date must not be set)

This results in an invoice which include the storno articles.

florian.auer

2015-01-12 11:51

reporter   ~0010603

Last edited: 2015-01-12 11:52

Hi, I'm sorry but I do not get the problem. Could you specify the following in more detail:

- Steps to reproduce
- Expected result
- Actual result

Feel free to add a PDF file with comments if this helps.
Thanks!

cneumann

2015-01-13 10:26

reporter   ~0010605

Reproduce:
- Order something (min 2 articles)
- Remove one of the articles: Orders > Articles > Click the pause symbol
- Generate the invoice

Expected:
- Invoice does not contain the "paused" article

Got:
- Invoice contains the article

If you generate the invoice once more, the article will not be present in the invoice anymore. Thus, this bug shows only on the first generation of the invoice.

SvenBrunk

2023-11-22 15:41

administrator   ~0015899

Invoice PDF generation has been removed from the shop