Hello everyone,
I am facing a calculation and display issue on my sales orders that seems to be an internal error. For a correctly configured product (with a defined sales price and cost), the displayed values are inconsistent.
Problem Descriptions:
- Incorrect Margin Calculation:
- Total sales price for the line: 20.00 DT (5 units x 4.00 DT/unit)
- Total cost for the line: 17.85 DT
- Expected Margin: 20.00 DT - 17.85 DT = 2.15 DT
- Displayed Margin: -13.85 DT, which is clearly incorrect.
- Incorrect "Excluding Taxes" Total Display:
- The "Hors taxes" field displays the unit price (4.00 DT) instead of the line total (20.00 DT). The correct total only appears in the "Toutes taxes..." field.
Additional Information:
- Odoo Version:
- Modules: POS, Inevntory and Account
- Screenshot:
Have other users encountered this type of problem? If so, how did you solve it?
Thank you in advance for your help.