Create invoice line for non-line only once

issue3292
review1043003
(transplanted from 399d66f4e5262cffe86254af3f43074f2e43418d)

--HG--
extra : transplant_source : 9%9Df%F4%E5%26%2C%FF%E8bT%AF%3FC%07O.CA%8D