erp5_invoicing: make sure get correct SM

See merge request !1614
7 jobs for arnau
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

06:58:10

failed ERP5.PerformanceTest-Master

03:00:58

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:54

passed SlapOS.Eggs.UnitTest-Master.Python3

00:13:59

passed ERP5.CodingStyleTest-Master

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:15

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:01