price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0)