[FIX][T6056] Add new account moves for invoice lines for discounts

Merged diego.barreto requested to merge T6056 into 12.0

Merge request reports