← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676537] [NEW] Reducing Decimal Places to zero still shows 7.00 days in reports and Products view

 

Public bug reported:

Using up to date 6.0 trunk rev. 3934 for Addons

When setting 'Shipping delay' to 0 decimal places, I still see the term
shown with two decimal places in Sales Order Report and Products view.

With decimal places addon installed.

To replicate:-
1. Create a new database
2. Administration -> Customisation-> Database Structure-> Decimal places
3. Change Shipping Delay (shouldnt this be Shipping Lead time?), to Digits 0
4. Create a new Sales Order or Quote, with standard demo product HDD2, you can still see in the Product view, 'Delivery Lead Time' = 1.00 days, not as should be derived 1 days
5. Click the Sale Order Printout from Reports right hand side of screen, the PDF report shows 1.00 days with the [[line.delay]] already added in the sales order lines.

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


** Tags: 6.0rc1 trunk

-- 
Reducing Decimal Places to zero still shows 7.00 days in reports and Products view
https://bugs.launchpad.net/bugs/676537
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 up to date 6.0 trunk rev. 3934 for Addons

When setting 'Shipping delay' to 0 decimal places, I still see the term shown with two decimal places in Sales Order Report and Products view.

With decimal places addon installed.

To replicate:-
1. Create a new database
2. Administration -> Customisation-> Database Structure-> Decimal places
3. Change Shipping Delay (shouldnt this be Shipping Lead time?), to Digits 0
4. Create a new Sales Order or Quote, with standard demo product HDD2, you can still see in the Product view, 'Delivery Lead Time' = 1.00 days, not as should be derived 1 days
5. Click the Sale Order Printout from Reports right hand side of screen, the PDF report shows 1.00 days with the [[line.delay]] already added in the sales order lines.





Follow ups

References