-
-
Notifications
You must be signed in to change notification settings - Fork 598
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
[10] customer_outstanding_statement - Error on SQL #443
Comments
JordiBForgeFlow
pushed a commit
that referenced
this issue
Jul 20, 2018
JordiBForgeFlow
pushed a commit
to ForgeFlow/account-financial-reporting
that referenced
this issue
Jul 20, 2018
JordiBForgeFlow
pushed a commit
that referenced
this issue
Jul 23, 2018
gdgellatly
pushed a commit
to odoonz/account-financial-reporting
that referenced
this issue
Oct 29, 2018
i-vyshnevska
pushed a commit
to i-vyshnevska/account-financial-reporting
that referenced
this issue
May 12, 2019
@As400it This can be closed |
yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i found an error on calculation of debit value.
If I have an invoice of 1000 and on this invoice I have 2 payment of 200 balance 600 the report will show import of document 2000 (because on the account_move_line there are more account_partial_reconcile record )
to fix I think to change
CASE WHEN (l.currency_id is not null AND l.amount_currency > 0.0) THEN sum(l.amount_currency) ELSE sum(l.debit) END as debit,
in
CASE WHEN (l.currency_id is not null AND l.amount_currency > 0.0) THEN avg(l.amount_currency) ELSE avg(l.debit) END as debit,
Marco
version 10 - module customer_outstanding_statement - repo account-financial-reporting
file customer_outstanding_statement.py
The text was updated successfully, but these errors were encountered: