Batch Print Missing Orders

Description

I'm using Batch Print to pdf all orders of a particular month. However it is only include some of the order status' and missing out others.

Order Status is set to None which should include all.

I've checked sql and those being missed out do not form any pattern. Some are early entries (order status table) and some are recently added.

I cannot find a piece of code limiting the number of status' which are include.

Environment

None

Steps to reproduce

Go to Batch Print Center
Select Invoice or Invoice S3
Use order number range is best to check total pdfs produced ie 0001 - 0100
'Only include orders:' set to None
Create pdf and check number of pages or sequence of order numbers and some should be missing if you have additional order status'.

If you select only the excluded order number in the range it returns an error saying 'Error: There were no orders selected for export, try changing your order options.'

Status

Assignee

Unassigned

Reporter

mike

Labels

None

Severity

Minor

Components

Affects versions

Priority

Configure