Fix return sale wizard with lines with type diferent than line

issue4077
review9521002
(grafted from 07b6e29bd8e46be87d888660eb4333c381c3cf0b)

--HG--
branch : 3.0
extra : source : 07b6e29bd8e46be87d888660eb4333c381c3cf0b