accounting: fix balance transaction indexing with lines converted to 0

Accounts with a balance that is not 0 in transaction currency
(quantity) and 0 in accounting currency (asset price) were not correctly
indexed in balance transactions.
The visible problem was that every year the amount in local currency for
this account was doubled - while the amount in accounting currency
remainded 0, making this problem not so impactful.
56 jobs for fix/payment_build_round in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

02:32:04

failed ERP5.PerformanceTest-Master

00:12:31

failed ERP5.UnitTest-Master

05:11:52

passed SlapOS.Eggs.UnitTest-Master.Python2

00:23:42

passed SlapOS.Eggs.UnitTest-Master.Python3

00:36:21

passed Wendelin.UnitTest-Master

00:52:52

failed ERP5.CodingStyleTest-Master

01:18:57

passed ERP5.CodingStyleTest-Master

01:48:46

failed ERP5.PerformanceTest-Master

00:13:37

failed ERP5.PerformanceTest-Master

00:12:33

failed ERP5.PerformanceTest-Master

00:13:34

failed ERP5.PerformanceTest-Master

00:12:22

failed ERP5.PerformanceTest-Master

00:12:34

failed ERP5.PerformanceTest-Master

00:12:32

failed ERP5.PerformanceTest-Master

00:12:39

failed ERP5.PerformanceTest-Master

00:13:50

failed ERP5.PerformanceTest-Master

00:12:34

failed ERP5.PerformanceTest-Master

00:13:37

failed ERP5.PerformanceTest-Master

00:12:27

failed ERP5.PerformanceTest-Master

00:12:21

failed ERP5.PerformanceTest-Master

00:12:28

failed ERP5.PerformanceTest-Master

00:12:27

failed ERP5.PerformanceTest-Master

00:12:37

failed ERP5.PerformanceTest-Master

00:12:32

failed ERP5.PerformanceTest-Master

00:12:27

failed ERP5.PerformanceTest-Master

00:12:40

failed ERP5.PerformanceTest-Master

00:12:28

failed ERP5.PerformanceTest-Master

00:12:27

failed ERP5.PerformanceTest-Master

00:12:33

failed ERP5.PerformanceTest-Master

00:12:34

failed ERP5.PerformanceTest-Master

00:12:41

failed ERP5.PerformanceTest-Master

00:13:35

failed ERP5.PerformanceTest-Master

00:12:40

failed ERP5.PerformanceTest-Master

00:12:24

failed ERP5.PerformanceTest-Master

00:13:40

failed ERP5.PerformanceTest-Master

00:12:27

failed ERP5.PerformanceTest-Master

00:12:24

failed ERP5.PerformanceTest-Master

00:13:35

failed ERP5.PerformanceTest-Master

00:12:34

failed ERP5.PerformanceTest-Master

00:12:28

failed ERP5.PerformanceTest-Master

00:13:30

failed ERP5.PerformanceTest-Master

00:12:28

failed ERP5.PerformanceTest-Master

00:12:30

failed ERP5.UnitTest-Master

02:18:30

failed ERP5.UnitTest-Master

03:51:57

passed SlapOS.Eggs.UnitTest-Master.Python2

00:20:49

passed SlapOS.Eggs.UnitTest-Master.Python2

00:21:15

passed SlapOS.Eggs.UnitTest-Master.Python2

00:25:51

passed SlapOS.Eggs.UnitTest-Master.Python2

00:33:19

passed SlapOS.Eggs.UnitTest-Master.Python3

00:21:22

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:08

passed SlapOS.Eggs.UnitTest-Master.Python3

00:18:28

passed SlapOS.Eggs.UnitTest-Master.Python3

00:29:31

passed Wendelin.UnitTest-Master

00:45:15

passed Wendelin.UnitTest-Master

00:56:10

passed Wendelin.UnitTest-Master

00:57:01