Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040044 | Openbravo ERP | 03. Procurement management | public | 2019-01-28 12:12 | 2019-03-28 14:56 |
|
Reporter | ngarcia | |
Assigned To | markmm82 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR19Q2 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 7713 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040044: Negative quantity in Create lines from Receipt in Purchase Invoice window if the order was previously invoiced and received |
Description | Negative quantity in Create lines from Receipt in Purchase Invoice window if the order was previously invoiced and received |
Steps To Reproduce | As group admin role:
Create a new product and set a purchase price to it
Create a new purchase order
Add 1000 units of the product and book it
Create three purchase invoices of 300 units each and complete them
Create a goods receipt, select previously created purchase order and add 950 units and complete it
Create a new purchase invoice (in order to invoice the pending 50 units)
Create Lines From Receipt and check -1900 units are pending to be invoiced |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-01-28 12:12 | ngarcia | New Issue | |
2019-01-28 12:12 | ngarcia | Assigned To | => Triage Finance |
2019-01-28 12:12 | ngarcia | OBNetwork customer | => OBPS |
2019-01-28 12:12 | ngarcia | Modules | => Core |
2019-01-28 12:12 | ngarcia | Support ticket | => 7713 |
2019-01-28 12:12 | ngarcia | Resolution time | => 1550444400 |
2019-01-28 12:12 | ngarcia | Triggers an Emergency Pack | => No |
2019-01-28 12:16 | ngarcia | Issue Monitored: networkb | |
2019-01-28 15:26 | Sandrahuguet | Assigned To | Triage Finance => markmm82 |
2019-01-28 17:16 | markmm82 | Status | new => scheduled |
2019-01-31 00:01 | markmm82 | Note Added: 0109341 | |
2019-02-18 09:22 | hgbot | Checkin | |
2019-02-18 09:22 | hgbot | Note Added: 0109892 | |
2019-02-18 09:22 | hgbot | Status | scheduled => resolved |
2019-02-18 09:22 | hgbot | Resolution | open => fixed |
2019-02-18 09:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/73454ec69b17adaacfd0a017205051a61bffd865 [^] |
2019-02-18 09:23 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-02-18 09:23 | Sandrahuguet | Note Added: 0109893 | |
2019-02-18 09:23 | Sandrahuguet | Status | resolved => closed |
2019-02-18 09:23 | Sandrahuguet | Fixed in Version | => 3.0PR19Q2 |
2019-03-28 14:56 | hudsonbot | Checkin | |
2019-03-28 14:56 | hudsonbot | Note Added: 0110821 | |
Notes |
|
|
Test Plan:
As group admin role:
Create a new product and set a purchase price to it
Create a new purchase order
Add 1000 units of the product and book it
Create three purchase invoices of 300 units each and complete them
Create a goods receipt, select previously created purchase order and add 950 units and complete it
Create a new purchase invoice (in order to invoice the pending 50 units)
Create Lines From Receipt and check 50 units are pending to be invoiced |
|
|
(0109892)
|
hgbot
|
2019-02-18 09:22
|
|
Repository: erp/devel/pi
Changeset: 73454ec69b17adaacfd0a017205051a61bffd865
Author: Mark <markmm82 <at> gmail.com>
Date: Wed Jan 30 20:00:19 2019 -0300
URL: http://code.openbravo.com/erp/devel/pi/rev/73454ec69b17adaacfd0a017205051a61bffd865 [^]
Fixes issue 40044: Negative quantity in Create lines from Receipt in Purchase
Invoice window if the order was previously invoiced and received.
To calculate the pending to invoice movement quantity was needed to subtract the
sum of the already invoiced quantity instead of the matched quantity as it is the
total of the received quantity.
---
M src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
---
|
|
|
|
|
|
|
|