← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 714444] Re: [6.0] numeric data types have no decimals

 

Hello,

In Version 6.0 we have provided the function for numeric data types
which is digits_compute=dp.get_precision('Account').

Now precision will come according to the argument passed in this
function. So one can unify the digits by using this function.

Hope you will agree with this and waiting for your reply.

Thanks.

** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/714444

Title:
  [6.0] numeric data types have no decimals

Status in OpenERP Server:
  Incomplete

Bug description:
  ** in V5 "numeric(16,2)"
  ** in V6 everything is "numeric"
  (checked account_move_line, invoice_line as it is vital for accounting)
  this means values with any precision can be stored. (especially when bypassing the OpenERP engine) 

  debit|credit in a demo installation
  shows 2 lines with only one decimal digit - although IMHO it should have 2
  select debit,credit,tax_amount from account_move_line;

   2000.00 |    0.00 |           
      0.00 |    0.00 |           
    5000.0 |    0.00 |           
      0.00 | 11000.0 |           
   9000.00 |    0.00 | 

  I am not saying this is necessarily an error, but developers should be
  aware of this change.





References