Fix switch of currencies when converting invoice line amount to company currency

issue4393
review6731002
(grafted from 288b4d6b861b9e6dafea942bb03e4f8300db8514)

--HG--
branch : 3.4
extra : source : 288b4d6b861b9e6dafea942bb03e4f8300db8514
Sync dependencies of INSTALL

issue4379
review6701002
(grafted from ddd6a0b6b0211a6a232b035dc542b584472e9f26)

--HG--
branch : 3.4
extra : source : ddd6a0b6b0211a6a232b035dc542b584472e9f26