← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676629] [NEW] Inconsistencies with Pricing when setting Decimal places to zero

 

Public bug reported:

Using 6.0 trunk version 3934 of addons

If I set all Decimal Places settings to '0', ie all of those fields
should have no decimal places, and crea a Sales Order and PDF report, I
can see that the price is shown correctly as 75 EUR, and Discount as 0%,
but Unit Price is still shown as 75.00 EUR (with 2 Decimal points).

To replicate:

1. In Administration-> Customisation-> Decimal Accuracy, set all the fields to say 0, ie Unit Price, Sale Price, Purchase Price etc
2. If I create a new Sales Order, the Report shows the 'Price' field as 75EUR, the Discount as 0%, but the Unit Price still as 75.00 EUR, ie the Unit Price does not take the decimal accuracy set as 0. In the Sales Order Form View, ALL prices are shown as having two decimal places, ie 75.00 and 0.00 Discount, and Subtotal 75.00EUR which is inconsistent with what's on the PDF report

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.0rc1 trunk

-- 
Inconsistencies with Pricing when setting Decimal places to zero
https://bugs.launchpad.net/bugs/676629
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
Using 6.0 trunk version 3934 of addons

If I set all Decimal Places settings to '0', ie all of those fields should have no decimal places, and crea a Sales Order and PDF report, I can see that the price is shown correctly as 75 EUR, and Discount as 0%, but Unit Price is still shown as 75.00 EUR (with 2 Decimal points).

To replicate:

1. In Administration-> Customisation-> Decimal Accuracy, set all the fields to say 0, ie Unit Price, Sale Price, Purchase Price etc
2. If I create a new Sales Order, the Report shows the 'Price' field as 75EUR, the Discount as 0%, but the Unit Price still as 75.00 EUR, ie the Unit Price does not take the decimal accuracy set as 0. In the Sales Order Form View, ALL prices are shown as having two decimal places, ie 75.00 and 0.00 Discount, and Subtotal 75.00EUR which is inconsistent with what's on the PDF report





Follow ups

References