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

exclude stock orders from order sum in invoices and financial balances #1074

Open
mjavurek opened this issue Nov 5, 2024 · 1 comment
Open

Comments

@mjavurek
Copy link
Contributor

mjavurek commented Nov 5, 2024

I like the feature of stock orders and we often use it in our FC. During balancing, the stock orders should be excluded from the total amount of the order, because no existing ordergroup will be charged for it: When we add both order and stock delivery to the invoice (example in foodsoft demo), the stock order is considered twice: once in the order and a second time by the stock delivery. As a result, a loss for the FC appears with the amount of the stock order.

grafik

grafik

Under unpaid invoices, the balance seems to be prefect because no difference is displayed:
grafik
This is because the stock order is included and the delivery is excluded from the balance. Instead, the stock order should be excluded, but the delivery should be included. In this example this leads to the same result, but if there is no stock order for the delivery or if stock order and delivery differ, the balance is incorrect.

@mjavurek
Copy link
Contributor Author

Implementation: #1075

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

1 participant