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
FIX Accountancy - Display good amount for situation line #18652
Conversation
Here the bug is not into accounting feature but into the way the situation invoice into this experimental features is currently store. The situation invoice can not be supported currently into accountancy because there is a serious bug in the way the data is stored into the invoice table: Sometimes it is cumulative, sometimes it contains only amount of invoice. Currently for situation invoice, into table llx_facture What we must have |
We totally agree. The way the data is recorded is bad for situation invoices. The accounting is impacted because of this. Multi-currency is impacted equally... I proposed to work for correct the data stored in table facturedet by difference, not in advancement |
And all reporting is wrong too. Even total into list. It just can't work like this.
|
Ok for the constant. Do you think it's possible to propose a fix on "old" version 12 ? Or only on develop branch ? I think it's better if we correct the data as far back in time as possible |
We will have a lot of change. Doing this into an old version is simply not possible. Automatic merge will be broken and it won't be "clear" in which version data is good and which version data are wrong. So it must be done on develop. |
Thanks for your answer @eldy It's clear. I try to work on a total review to integrate in v15 or v16 |
Hello,
When we have a situation line from a S2 to bind, amount displayed is the total amount of the situation line without advancement.
Exemple :
Advancement : S1 (30% * 50000 €) = 15000 € | S2 (50% * 50000 €) = 25000 €
Reported sales displayed = 40 000 € (15000 € + 25000 €)
Reported sales real = 25 000 € (15000 € + (25000 € - 15000 €))
No problem when you register in accountancy, we work with the total fields of the invoice, not the lines. It's just a display problem on the binding pages
Before :
With this invoice :
After :
Strictly the same problem on customer index :
Before :
After :