Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035785
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2017-04-13 22:172018-01-19 10:22
Reportercollazoandy4View Statuspublic 
Assigned Tocollazoandy4 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q3
StatusclosedFix in branchFixed in SCM revision6a7acea80102
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035785: Discounts line in processed invoices not rounded in database

DescriptionThe Discounts lines in processed invoices theirs quantities have not been rounded in c_invoiceline table
Steps To Reproduce Go to Purchase invoice and create a new record:
   Business Partner: Bebidas Alegres, S.L.
   Create a new line:
     Product: Cerveza Ale 0,5L
     Invoiced Quantity: 10
   Go to Basic Discount tab and create a new record:
     Basic Discount: Descuento 10%
 Process the invoice
 Check in the database that the quantities of discount line have not been rounded (-1.3600000000000000)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035699 closedAtulOpenbravo Wrong total gross amount when reactivating an order or a invoice which includes a basic discount of 100% 

-  Notes
(0096136)
collazoandy4 (reporter)
2017-04-24 16:05

Go to Purchase invoice and create a new record:
   Business Partner: Bebidas Alegres, S.L.
   Create a new line:
     Product: Cerveza Ale 0,5L
     Invoiced Quantity: 10
   Go to Basic Discount tab and create a new record:
     Basic Discount: Descuento 10%
 Process the invoice
 Check in the database that the quantities of discount line have been rounded -1.36
(0096369)
hgbot (developer)
2017-05-04 09:32

Repository: erp/devel/pi
Changeset: 6a7acea80102b80bca4b0da7958bf1cebebe79cd
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Apr 13 17:56:06 2017 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/6a7acea80102b80bca4b0da7958bf1cebebe79cd [^]

Fixes issue 35785: Not rounded discount lines in processed invoices

The Discounts lines created in the invoice complete process was not rounded their
quantities in database

A call to the round process was added with the standard currency precision to the
discount value

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0096370)
aferraz (manager)
2017-05-04 09:54

Code review + Testing OK
(0096934)
hudsonbot (developer)
2017-05-29 17:43

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1ee70113bdc4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2017-04-13 22:17 collazoandy4 New Issue
2017-04-13 22:17 collazoandy4 Assigned To => collazoandy4
2017-04-13 22:17 collazoandy4 Modules => Core
2017-04-13 22:17 collazoandy4 Triggers an Emergency Pack => No
2017-04-14 00:06 collazoandy4 Status new => scheduled
2017-04-24 16:05 collazoandy4 Note Added: 0096136
2017-05-02 16:59 aferraz Relationship added related to 0035699
2017-05-04 09:32 hgbot Checkin
2017-05-04 09:32 hgbot Note Added: 0096369
2017-05-04 09:32 hgbot Status scheduled => resolved
2017-05-04 09:32 hgbot Resolution open => fixed
2017-05-04 09:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6a7acea80102b80bca4b0da7958bf1cebebe79cd [^]
2017-05-04 09:54 aferraz Review Assigned To => aferraz
2017-05-04 09:54 aferraz Note Added: 0096370
2017-05-04 09:54 aferraz Status resolved => closed
2017-05-04 09:54 aferraz Fixed in Version => 3.0PR17Q3
2017-05-29 17:43 hudsonbot Checkin
2017-05-29 17:43 hudsonbot Note Added: 0096934
2018-01-18 13:18 ngarcia Issue Monitored: ngarcia


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker