FIX: bad margin and buy_price calculation when total_ht = 0 (discount
100%) on a line
Merge pull request #2066 from altatof/fix_margin_recap

FIX: bad margin and buy_price calculation when total_ht = 0 (discount 100%) on a line