[Vtigercrm-commits] [vtiger development] #4649: Total Net is not calculated correctly

vtiger development vtiger-tickets at trac.vtiger.com
Thu Dec 6 13:21:30 EST 2007


#4649: Total Net is not calculated correctly
-----------------------+----------------------------------------------------
 Reporter:  frankpie   |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  critical   |   Milestone:  5.0.4    
Component:  vtigercrm  |     Version:  5.0.4    
 Keywords:             |  
-----------------------+----------------------------------------------------
 for quotes, invoices etc. there are some calculation which differ in 1ct
 from the expected result. To get to the buttom of this behavior I did the
 following:

 changed the format of the unit_price in vtiger_products table to
 decimal(25,4)

 changed the format of the unit_percentage in vtiger_inventorytaxinfo table
 to decimal(25,4)

 Then I entered one product in quote -> list price: 6.075 and tax 7% =
 0.42525

 The "net price" shown is 6.50025 but at the next line the "Net Total"
 rounds to 6.51
 but the expected result should be 6.50 !

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4649>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list