← Back to team overview

openerp-india team mailing list archive

[Bug 1295991] [NEW] round issue when precision digits=0

 

Public bug reported:

Steps to reproduce:
* install v8
* install sale module
* create quotation 
* set rights to discount per line
* set discount = 10 for some line
* set digits=0 at decimal precision for Discount
* print report for quotation

you will see Disc.(%) 1 instead  Disc.(%) 10

But If I set discount = 12, then at report I get Disc.(%) 12

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1295991

Title:
  round issue when precision digits=0

Status in OpenERP Addons (modules):
  New

Bug description:
  Steps to reproduce:
  * install v8
  * install sale module
  * create quotation 
  * set rights to discount per line
  * set discount = 10 for some line
  * set digits=0 at decimal precision for Discount
  * print report for quotation

  you will see Disc.(%) 1 instead  Disc.(%) 10

  But If I set discount = 12, then at report I get Disc.(%) 12

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1295991/+subscriptions


Follow ups

References