Commit Graph

9 Commits

Author SHA1 Message Date
sbejaoui
ae4d22d115 [IMP] - use next period computed fields to init forecast 2020-11-13 18:57:35 +01:00
sbejaoui
21ec223653 [FIX] - Fix unit test: is_auto_renew is considered in the forecast generation 2020-01-07 12:32:08 +01:00
sbejaoui
01acbaa355 [IMP] - add a non-regression test: forecast for undefined date end contracts
If a contract line have and undefined date end the forecast should continue
to the company forecast period
2020-01-07 12:18:07 +01:00
sbejaoui
3e529d0037 [IMP] - Add failing test for forecast generation of auto renewal contract lines
If a contract line is set to auto renew the forecast should continue  after the
date end and stop at the company forecast period
2020-01-07 12:06:14 +01:00
sbejaoui
f160b68d46 [FIX] - use the next_period dates to compute forecast dates
use the new methods for next period calculation result of the refactoring in #434
to consider the recurring_invoicing_type for monthlylastday mode and clean code
2019-12-18 17:49:55 +01:00
sbejaoui
47eb821dc6 [IMP] - add failing test for monthlylastday, pre-paid case 2019-12-18 17:49:24 +01:00
Thomas Binsfeld
0e4daa70d1 [REF] Contract Forecast: split from analytic account 2019-10-29 11:26:12 +01:00
sbejaoui
9558ed1a8f [FIX] - forecast should continue after contract line date_end if ot is set to auto_renew 2019-10-29 11:26:12 +01:00
sbejaoui
ea2e793c59 [12.0][ADD] - Add new addon: contract_forecast 2019-10-29 11:26:12 +01:00