Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031695Openbravo ERP03. Procurement managementpublic2015-12-10 18:242015-12-17 17:49
VictorVillar 
vmromanos 
immediatemajoralways
closedfixed 
5
pi 
3.0PR16Q1 
aferraz
Core
Production - Confirmed Stable
2014-02-20
3.0PR14Q2
https://code.openbravo.com/erp/devel/pi/rev/2fc504a99106068f4d0dcd5af1f1c8bbf70721c3#l1.6 [^]
No
0031695: Return to vendor shipments appear in the pick and edit lines of the return to vendor
Return to vendor shipments appear in the pick and edit lines of the return to vendor
Create a Return To Vendor and select a Goods Receipt: one line, entire quantity. Process it
Create a Return To vendor shipment and select the return to vendor created before. Process it.
Create a new Return To Vendor - P&Edit lines. Realise that the return to vendor shipment appear.
No tags attached.
depends on backport 00317233.0PR15Q4.2 closed vmromanos Return to vendor shipments appear in the pick and edit lines of the return to vendor 
depends on backport 00317243.0PR15Q3.5 closed vmromanos Return to vendor shipments appear in the pick and edit lines of the return to vendor 
caused by feature request 0025814 closed Sandrahuguet Create a new return to vendor pick and edit with manual datasource 
Issue History
2015-12-10 18:24VictorVillarNew Issue
2015-12-10 18:24VictorVillarAssigned To => Triage Finance
2015-12-10 18:24VictorVillarModules => Core
2015-12-10 18:24VictorVillarResolution time => 1447369200
2015-12-10 18:24VictorVillarRegression level => Production - QA Approved
2015-12-10 18:24VictorVillarRegression introduced in release => 3.0PR15Q4
2015-12-10 18:24VictorVillarTriggers an Emergency Pack => No
2015-12-10 18:25VictorVillarIssue Monitored: networkb
2015-12-13 19:34AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-12-13 19:34AtulOpenbravoStatusnew => scheduled
2015-12-15 10:24AtulOpenbravoNote Added: 0082755
2015-12-15 14:56vmromanosRegression levelProduction - QA Approved => Production - Confirmed Stable
2015-12-15 14:56vmromanosRegression date => 2014-02-20
2015-12-15 14:56vmromanosRegression introduced in release3.0PR15Q4 => 3.0PR14Q2
2015-12-15 14:56vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/2fc504a99106068f4d0dcd5af1f1c8bbf70721c3#l1.6 [^]
2015-12-15 14:56vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10472#r10472
2015-12-15 14:57vmromanosAssigned ToAtulOpenbravo => vmromanos
2015-12-15 14:57vmromanosStatusscheduled => acknowledged
2015-12-15 14:58vmromanosStatusacknowledged => scheduled
2015-12-15 16:22vmromanosRelationship addedcaused by 0025814
2015-12-15 16:35VictorVillarResolution time1447369200 => 1449961200
2015-12-16 09:41psanjuanNote Added: 0082794
2015-12-16 10:09psanjuanNote Added: 0082795
2015-12-16 10:56psanjuanNote Edited: 0082795bug_revision_view_page.php?bugnote_id=0082795#r10479
2015-12-16 10:57psanjuanNote Edited: 0082795bug_revision_view_page.php?bugnote_id=0082795#r10480
2015-12-16 11:13psanjuanNote Edited: 0082795bug_revision_view_page.php?bugnote_id=0082795#r10481
2015-12-16 12:52hgbotCheckin
2015-12-16 12:52hgbotNote Added: 0082798
2015-12-16 12:52hgbotStatusscheduled => resolved
2015-12-16 12:52hgbotResolutionopen => fixed
2015-12-16 12:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/653ed78431dce51f1e58ba4354dddab4641bd356 [^]
2015-12-16 12:53aferrazReview Assigned To => aferraz
2015-12-16 12:53aferrazNote Added: 0082799
2015-12-16 12:53aferrazStatusresolved => closed
2015-12-16 12:53aferrazFixed in Version => 3.0PR16Q1
2015-12-17 17:49hudsonbotCheckin
2015-12-17 17:49hudsonbotNote Added: 0082847

Notes
(0082755)
AtulOpenbravo   
2015-12-15 10:24   
Test Plan
- Login as F&B International Group Admin.
- Create a Return To Vendor and select a Goods Receipt: one line, entire quantity. Process it.
- Create a Return To vendor shipment and select the return to vendor created in previous step. Process it.
- Create a new Return To Vendor and add P&Edit lines. Check that previous Return To Vendor Shipment line record does not appear anymore in the selection.
(0082794)
psanjuan   
2015-12-16 09:41   
Issue verified.
(0082795)
psanjuan   
2015-12-16 10:09   
(edited on: 2015-12-16 11:13)
Test Plan:

- Login as F&B International Group Admin.
- Create a Goods Receipt for F&B España org and BP "Bebidas Alegres", dated on today's date.
- Go to lines tab and select the product "Aguas sin Gas 1L". Enter a movement quantity = 222. Select any storage bien.
- Complete it.
- Go to Return to Vendor window and create a new one for same org and BP, dated on today's date.
- Click on Pick/Edit Lines button.
- Select the receipt previously created for a movement quantity = 222 unit. Enter a returned quantity of 222. Press Done
- Book the document.
- Go to Return to Vendor Shipment and create a new one for same org and BP, dated on today's date.
- Click on Pick/Edit Lines button.
- Select the return to vendor just created for a quantity = 222. Ship Qty = 222. Press Done
- Complete it
- Go to Return to Vendor window and create a new one for the same Org and BP, dated on today's date.
- Click on Pick/Edit Lines button.
- Verify that return to vendor shipment for -222 is not shown.

Repeat same steps for partial returns, for instance a goods receipt of 15 units, after that a return to vendor & return to vendor shipment of 7 units. Then a return to vendor & return to vendor shipment of 8 units.
Once second return to vendor shipment is complete, that goods receipt (shipment) is not longer show in pick/edit lines window of the return to vendor window.

Issue can be code reviewed and closed.

(0082798)
hgbot   
2015-12-16 12:52   
Repository: erp/devel/pi
Changeset: 653ed78431dce51f1e58ba4354dddab4641bd356
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Dec 15 14:54:22 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/653ed78431dce51f1e58ba4354dddab4641bd356 [^]

Fixed bug 31695: Return to vendor shipments can be selected in return to vendor

The HQL query in charge of getting the shipment lines was wrongly including all the shipment documents. Instead it should be taking only the lines belonging to a non-return shipment document.

This feature was lost during the refactor to a manual datasource P&E

---
M src-db/database/sourcedata/AD_TABLE.xml
---
(0082799)
aferraz   
2015-12-16 12:53   
Code review OK
(0082847)
hudsonbot   
2015-12-17 17:49   
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/7bb1cbcee3ce [^]
Maturity status: Test