-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
[12.0] Purchase triple discount error in runbot #834
Comments
Check rounding errors. |
The only solution is to completely rewrite the method "_compute_price". I know it is not a good idea, possible changes in this method will not be contemplated, and this is dangerous. The ideal would be to propose a change so that the price of the product already with discounts is in a single method, and the code is not so coupled. Do you think anyone would listen to this proposal? class AccountInvoiceLine(models.Model):
|
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Working with this module we have discovered an error that also occurs in the runbot.
We create a new purchase with the following data.
units: 48
Price: 0.33
discount: 5%
total order: 15,05
These calculations are correct.
We confirm the budget, and receive the products.
The price of the order is still good.
If we make the invoice, we see that the amount has changed.
We are trying to check the calculations to see where the error occurs.
Regards.
The text was updated successfully, but these errors were encountered: