Good morning,
Managing contracts, inserting a new service, unit cost, quantity and discount, the first time it calculates the amount correctly.
Example: Cost 60, quantity 24, discount 15% the final result is correct and is equal to 1224 euros
If, at a later time, I modify the service, for example by modifying the description, the total is recalculated on the total value.
Example: 60x24 -15% = 1224, the system goes back to reapply the discount and in fact recalculates 1224 -15% =1040.4
I have done dozens of tests to understand where the error is, without success
The problem occurs constantly
Thank you
Context :
Centos 6
Dolibarr 18.0.6
Php 7.3
MySql
Libreoffice 4.4 Headless