Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028226Openbravo ERP07. Sales managementpublic2014-11-19 16:592016-02-02 09:40
maite 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
 
pramakrishnan
Core
Production - Confirmed Stable
2014-01-08
3.0PR14Q2
https://code.openbravo.com/erp/devel/pi/rev/d7f5fe16e7480baf9258c2d5bb6caf5e33bafcf9 [^]
No
0028226: Is not possible to Void a shipment related with an order and containing a negative line
Is not possible to Void a shipment related with an order and containing a negative line
1. Register Sales Order. Add one positive line for one product and another negative line for another product. Process Order
2. Register Goods Shipment using Create Lines FRom process and selecting previous lines. Process
3. Try to Void shipment and following error will be raised referencing your negative line "Error:
Movement Quantity is greater than the Ordered Quantity In lines 20"
No tags attached.
caused by defect 00254003.0PR14Q2 closed AtulOpenbravo More quantity than the ordered can be shipped 
Issue History
2014-11-19 16:59maiteNew Issue
2014-11-19 16:59maiteAssigned To => dmiguelez
2014-11-19 16:59maiteModules => Core
2014-11-19 16:59maiteTriggers an Emergency Pack => No
2014-11-19 16:59maiteResolution time => 1419289200
2014-11-19 16:59maiteIssue Monitored: networkb
2014-11-19 17:11heccamIssue Monitored: heccam
2014-11-19 17:29SandrahuguetAssigned Todmiguelez => AtulOpenbravo
2014-11-20 06:55AtulOpenbravoStatusnew => scheduled
2014-11-20 06:55AtulOpenbravoNote Added: 0071839
2014-11-20 06:55AtulOpenbravofix_in_branch => pi
2014-11-20 10:08AtulOpenbravoReview Assigned To => pramakrishnan
2014-11-20 10:08AtulOpenbravoRegression date => 2014-01-08
2014-11-20 10:08AtulOpenbravoRegression introduced in release => 3.0PR14Q2
2014-11-20 10:08AtulOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/d7f5fe16e7480baf9258c2d5bb6caf5e33bafcf9 [^]
2014-11-20 10:08AtulOpenbravofix_in_branchpi =>
2014-11-20 10:09AtulOpenbravoRegression level => Production - Confirmed Stable
2014-11-20 16:27dmitry_mezentsevRelationship addedcaused by 0025400
2014-11-21 11:07hgbotCheckin
2014-11-21 11:07hgbotNote Added: 0071874
2014-11-21 11:07hgbotStatusscheduled => resolved
2014-11-21 11:07hgbotResolutionopen => fixed
2014-11-21 11:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9f90ea7d41b03a2a966d454d16d8055aaac0a652 [^]
2014-11-21 11:23pramakrishnanNote Added: 0071877
2014-11-21 11:23pramakrishnanStatusresolved => closed
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073121
2016-02-02 09:40hgbotCheckin
2016-02-02 09:40hgbotNote Added: 0083826

Notes
(0071839)
AtulOpenbravo   
2014-11-20 06:55   
Test Plan
- Create Sales Order. Add one positive quantity line for one product and another negative quantity line for another product. Book the Order.
- Create Goods Shipment using Create Lines From process and selecting previous lines. Process the Shipment.
- Void shipment created in last previous step.
Reversed Shipment document is created successfully.
(0071874)
hgbot   
2014-11-21 11:07   
Repository: erp/devel/pi
Changeset: 9f90ea7d41b03a2a966d454d16d8055aaac0a652
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Nov 20 11:48:06 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9f90ea7d41b03a2a966d454d16d8055aaac0a652 [^]

Fixes Issue 28226:Is not possible to Void a shipment related with an order
and containing a negative line

A check to avoid MovementQtyCheck for Reversed Document is provided.

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0071877)
pramakrishnan   
2014-11-21 11:23   
Code Review + Testing - OK.
(0073121)
hudsonbot   
2014-12-30 23:26   
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/6525fe229e06 [^]
Maturity status: Test
(0083826)
hgbot   
2016-02-02 09:40   
Repository: tools/automation/int
Changeset: a944561bd049e7c9c5707a703edbe03e2c6f6c77
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Nov 19 11:15:01 2015 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/a944561bd049e7c9c5707a703edbe03e2c6f6c77 [^]

Related to issue 28226: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/gui/procurement/transactions/goodsreceipt/CreateLinesFromPopUp.java
M src-test/com/openbravo/test/integration/erp/gui/procurement/transactions/goodsreceipt/GoodsReceiptHeaderTab.java
M src-test/com/openbravo/test/integration/erp/gui/sales/transactions/goodsshipment/CreateLinesFromPopUp.java
M src-test/com/openbravo/test/integration/erp/gui/sales/transactions/goodsshipment/GoodsShipmentHeaderTab.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/PRO_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/SAL_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/testscripts/SmokeTabScript.java
M src-test/com/openbravo/test/integration/erp/testscripts/procurement/transactions/GoodsReceipt.java
M src-test/com/openbravo/test/integration/erp/testscripts/sales/transactions/GoodsShipment.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/PRORegression28226.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/SALRegression28226.java
---