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

[Issue] Double Entry of Procurement transaction on Cash Flow when 'Payment Status' changes from 'Unpaid' to 'Paid' #1265

Closed
lezeski opened this issue Jan 11, 2023 · 1 comment

Comments

@lezeski
Copy link

lezeski commented Jan 11, 2023

Describe the bug
A Procurement transaction that has an initial Payment Status of 'Unpaid', will record twice under "Accounting->Cash Flow History", if the Payment Status is later set to "Paid". This therefore results in doubling the value. The same doubled value also appears on the dashboard under expenses and the chart.

To Reproduce
Steps to reproduce the behavior:
1.Perform a Procurement transaction with payment status as "Unpaid"
2.Afterwards, set the payment status as "Paid"
3. Navigate to the menu, "Accounting->Cash Flow History"
4. See double debiting of transaction

Expected behavior
A single entry is expected

Screenshots
AFTER CHANGING STATUS TO "PAID"
image

image
image

Environment:

  • NexoPOS 4.8.13
@Blair2004
Copy link
Owner

Thanks we're reviewing

nexopos pushed a commit that referenced this issue Jan 12, 2023
- Fix: double entry on cash flow for procurement that has status updated from list (#1265)
nexopos pushed a commit that referenced this issue Mar 20, 2023
that has status updated from list (#1265)
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

No branches or pull requests

2 participants