-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
LDCompta10 export issue - accountancyexport.class.php #18389
Comments
LDcompta changed its import method and process in a working version ? |
LDCompta doesn't change anything, the dolibarr method between 13.0.0 and 13.0.4 have been changed. |
Hello, Field "montant" is deprecated since 13.0.x. A modification integrated in v13.0.2 has created a problem with sens of the operation on suppllier invoice. Look the PR. |
The same CNPI (Nature Piece) must be used for all the lines linked to a piece. I think we must have an information linked to all lines records, with the total amount or the global information (Customer asset or Customer invoice). Best Regards. |
#18417 Better fix to have the same CNPI |
FIX #18389 Accountancy - Bug on LDcompta10 export for supplier invoice
Bug
The LDCompta 10 export is bad.
Code Nature Pièce (CNPI) must be AC for customer asset (avoir) and FC for supplier_invoice. The old calculation was if montant <0 then AC, else FC. It was GOOD. Now, with a debit / credit substraction, it doesn't work.
Environment
Expected and actual behavior
The LDCompta10 technical description explain she need FC line for supplier invoice and AC for customer asset (avoir) but with the "new" algorithm, we have FC for "positive" line and AC for negative with the calculation debit-credit <0 then AC, else FC
Steps to reproduce the behavior
export bookeeping for LDCOMPTA10
Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)
Must reuse the montant < 0 use before in the accountancyexport.class.php
The text was updated successfully, but these errors were encountered: