- On v13, invoices are journal entries, so we have to explicitly exclude
cancelled invoices from the expression. We leave draft ones, as they
are good for forecasting.
- Default value for the company of the forecast line doesn't follow new
specification, putting an incorrect value.
- Extra improvement: avoid a non needed casting of the fixed column type.