sale should only create invoices having a least a line of type 'line'

Closed risto42 requested to merge topic/default/sale-create_invoice-with-line-types into branch/default

This avoids creating null invoices when previously created invoices may have deleted lines of other types, such as 'comment' or 'title'. Permits sales already in progress having this situation to terminate as opposed to staying in process, awaiting payment or partial payment.

Closes #12320 (closed)

Merge request reports