Income statement compute amount with wrong periods
When we are put start period and end period on Income Statement, the compute does not take amounts of end period, so in the compute end period is ignored so amounts are bad computed:
Example for fiscalyear 2016:
id name
1 2016-01
2 2016-02
3 2016-03
4 2016-04
On income statement we put
start period: 2016-01
end period: 2016-04
but on account.py, get_periods and get_amount compute amounts just for ids (1,2,3) and we hope this ids (1,2,3,4)