Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][WIP][ADD] account_liquidity_forecast #1084

Open
wants to merge 7 commits into
base: 16.0
Choose a base branch
from

Conversation

JordiBForgeFlow
Copy link
Member

@JordiBForgeFlow JordiBForgeFlow commented Nov 7, 2023

@gjotten
Copy link

gjotten commented Nov 7, 2023

I would posit that exporting to spreadsheets might be a nice feature to add through an extension module?

@andreampiovesana
Copy link

@JordiBForgeFlow news?

@JordiBForgeFlow JordiBForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch from 5eb6920 to c87c09e Compare April 26, 2024 16:21
@andreampiovesana
Copy link

if you have empty db and you try,
"/home/odoo-dev/odoo-dev16/PR/account_liquidity_forecast/report/liquidity_forecast.py", line 66, in _complete_beginning_balance
initial_balance = initial_balances[0]
IndexError: list index out of range
should control without initial balance

@JordiBForgeFlow JordiBForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch from c87c09e to 154a56a Compare April 26, 2024 17:29
@JordiBForgeFlow
Copy link
Member Author

@andreampiovesana Fixed! Please try again

@JordiBForgeFlow JordiBForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch from 154a56a to 7c618f7 Compare April 26, 2024 18:28
@andreampiovesana
Copy link

@andreampiovesana Fixed! Please try again

ok now, EXPORT XLSX no output, VIEW and ESPORT PDF yes

@JordiBForgeFlow JordiBForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch 5 times, most recently from afc5084 to db098ec Compare April 30, 2024 17:06
@@ -7,7 +7,7 @@
<field name="format">custom</field>
<field name="page_height">297</field>
<field name="page_width">210</field>
<field name="orientation">Portrait</field>
<field name="orientation">Landscap</field>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be Landscape with an e?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its updated,

Thanks

@JasminSForgeFlow JasminSForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch 2 times, most recently from a5c8856 to 73ea0ae Compare May 2, 2024 07:41
JordiBForgeFlow and others added 7 commits July 9, 2024 16:26
get the incoming and outgoing payment accounts
With previous approach the results were incorrect. We would be proposing
to show the items that are open back in the bucket date, but in reality
we want to see, based on today, what is open based on the due date of the
open item.
@JordiBForgeFlow JordiBForgeFlow force-pushed the 16.0-add-account_liquidity_forecast branch from ad63376 to 1476edb Compare July 9, 2024 14:26
@andreampiovesana
Copy link

@JordiBForgeFlow can we merge as draft?

Copy link

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional test: LGTM

@JordiBForgeFlow
Copy link
Member Author

@MaurizioPellegrinet @andreampiovesana Can you add some tests?

@MaurizioPellegrinet
Copy link

@JordiBForgeFlow It's possible to integrate:

  • sales order forecast
  • supplier order forecast
  • add accounts or account groups

@JordiBForgeFlow
Copy link
Member Author

@MaurizioPellegrinet You can make a proposal. I suggest as a separate module. In the meanwhile I suggest that you contribute to add some tests to the module, as it is.

@MaurizioPellegrinet
Copy link

@JordiBForgeFlow here some tests

Liquidity forecast.odt

@JordiBForgeFlow
Copy link
Member Author

@MaurizioPellegrinet I mean tests in the code.

@MaurizioPellegrinet
Copy link

@JordiBForgeFlow sorry, I'm functional (only)

@MaurizioPellegrinet
Copy link

@JordiBForgeFlow Hi, in Liquidity Forecast Planning Groups is possible to duplicate the row or import list to .xlsx?
These options is very important if I have many repeating movements

@douglascstd
Copy link
Member

douglascstd commented Aug 28, 2024

Dear Friends,

Great job on the liquidity forecast module; it's easy to create the report.

I'd like to present some modules that offer a similar purpose but from a different perspective. These modules use the MIS Builder Cashflow as the base and are designed to populate the mis.cash_flow.forecast_line model with source data calculated in each module.

base:

mis_builder_cash_flow_forecast_integration

Sources:

mis_builder_cash_flow_forecast_purchase
mis_builder_cash_flow_forecast_sale
mis_builder_cash_flow_forecast_contract
mis_builder_cash_flow_forecast_sale_invoice_plan

In the future, consider adding:
Sale Blanket Contract

All of these modules are currently in use with some customer instances but are not yet available in the OCA environment. I am confident that the author @marcelsavegnago aims to include them there.

I don’t want to disrupt the current work but merely wanted to present an alternative approach to achieving the same goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants