[FIX] the same change as in the last commit for _amount_line

Merged Leandro Martinek requested to merge 7.0-calculate_amount_invoice into 7.0-stage

Merge request reports