Cash Flow Forecast #502
Replies: 16 comments
-
Interesting idea. Could you elaborate a little bit on the kind of report you have in mind? |
Beta Was this translation helpful? Give feedback.
-
Hi @sbidoul! The main goal would be to give visibility to forecasted funds flowing in or out of the company. Using the date_maturity of the account move lines (usually Payable or Receivable Accounts), you could project when that account is expected to become liquid cash (going in or out). With that info (you can use any account), you can project your future financial situation and take decisions. Example: - Today: 07/05/2018 Current Bank Balance: 500k
|
Beta Was this translation helpful? Give feedback.
-
@sbidoul exactly, the idea is more less the one explained by @gonzaloruzafa Perhaps another great addition would be to think on some model (similar to budget) to add some forecast in/out flows. But this could also be achieved using a draft account.move with many account.move.lines representing that forecast in/out flows |
Beta Was this translation helpful? Give feedback.
-
Thanks for the example. At first glance, adding "use date maturity" on kpis does not fit very well with the current model and algorithms. What you can do today, without changing mis_builder is create a view model such as SELECT
date_maturity AS date
company_id,
account_id,
debit,
credit
FROM account_move_line
WHERE ... account type in payable, receivable ... And then use the Actuals (alternative) data source when creating the forecast columns. There is an example in mis_builder_demo. |
Beta Was this translation helpful? Give feedback.
-
Thanks @sbidoul. That's a great possibility. If so, what do you suggest or think is better:
BR! |
Beta Was this translation helpful? Give feedback.
-
Having some forecasting feature, in an extension module or in mis_builder core, would be definitely great. And PR are always welcome, that's for sure. I think it will not be enough to change the method you suggest, though. If you follow that path you will see that you will need to select date or date_maturity at the column level, not kpi as you initially proposed. And I'm not sure how that would work for your use case. Selecting date/date_maturity at the kpi level is a much more profound change. And that too would not necessarily solve your use case. So my intuition so far, is that it's better that you experiment with a new SQL view. Depending on the conclusions of that experiment we can then see what's the best approach. At first glance, that view should be a union of
Then the report template would have kpis such as (pseudocode)
Then in the report:
But don't take my word for it, I might very well miss something :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If it's easier to forecast on the KPI level, then the budget approach is good. If it's easier to forecast at the account level, creating a new datasource is easier. Depends on the use case. |
Beta Was this translation helpful? Give feedback.
-
I am reviving an old thread but it is quite common in company reporting to have 3 measures (usually for the current month or week):
Given that, IMO it would make sense to think about a module |
Beta Was this translation helpful? Give feedback.
-
@elicoidal in my understanding, a manual forecast is no different than a budget. You can create several budgets for the same period and chose the one you use in each column of the report. When there is a clear manner to obtain forecast from other erp data, then creating a SQL view and using it in a report column with data source "actuals (alternative)" is the way to go. Other than that, so far I don't have a reasonable understanding of what a generic solution would be, as the possibilities for forecasting seem endless. |
Beta Was this translation helpful? Give feedback.
-
@sbidoul Agree with you: I didnot see the possibility to create a budget series called "Forecast" which is IMO good enough too. |
Beta Was this translation helpful? Give feedback.
-
Hi, we've just upload this module for the cash flow https://github.com/ingadhoc/enterprise-extensions/tree/11.0/mis_builder_cash_flow. We are currently testing it and looking to propose it to this repository if you think it is interesting. |
Beta Was this translation helpful? Give feedback.
-
Is it still depending on enterprise? |
Beta Was this translation helpful? Give feedback.
-
@jjscarafia this is a great module, I remember the demo at OCA Days 2018! This is very interesting to have in the community, if you can make it use the OCA grid widget. I'll create a new repo mis-builder-contrib for this because it is a module that will follow a distinct maintenance cycle. Indeed we are maintaing mis-builder as a small repo with all modules migrated at once and it would not be sustainable to do it for all modules that depend on mis-builder. |
Beta Was this translation helpful? Give feedback.
-
@jjscarafia I would like to test it please but I miss the dependency account_ux |
Beta Was this translation helpful? Give feedback.
-
Hi @fclementic2c . I've made a new PR without custom dependencies and some improvements here I close the issue for now, we can continue on the PR. |
Beta Was this translation helpful? Give feedback.
-
Anyone working or planning a cash flow forecast using mis_builder?
If I'm no wrong it would be great to allow account.move.line analysis via de date_maturity field. It could be solved by mis_bilder queries by I think it would be better (and easier) to allow using date_maturity directly with some parameter on kpis.
@sbidoul any thoughts to share?
BR!
Beta Was this translation helpful? Give feedback.
All reactions