[TOM-280] fix discount in accounting entries

Merged Joel Maglioni requested to merge TOM-280 into 15.0-stage

Closes TOM-280

Merge request reports