Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035785 | Openbravo ERP | 07. Sales management | public | 2017-04-13 22:17 | 2018-01-19 10:22 |
|
Reporter | collazoandy4 | |
Assigned To | collazoandy4 | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q3 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035785: Discounts line in processed invoices not rounded in database |
Description | The 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) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0035699 | | closed | AtulOpenbravo | Wrong total gross amount when reactivating an order or a invoice which includes a basic discount of 100% |
|
Attached Files | |
|
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 | |
Notes |
|
(0096136)
|
collazoandy4
|
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
|
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
---
|
|
|
|
|
|
|
|