Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020564Openbravo ERP07. Sales managementpublic2012-05-21 13:502012-08-29 16:59
plujan 
alostale 
urgentmajoralways
closedfixed 
5
3.0MP10.1 
3.0MP15 
Google Chrome
Core
No
0020564: When creating a new Shipment lines shows the previous lines
If I create a Shipment with lines, when creating a second Shipment it shows the lines from the first one. See steps.
1. Login a Openbravo with F&B role
2. Create a Sales Order with lines
3. Open the New Goods Shipment link to open the New form
4. Complete de header and create lines from the order to get the lines (see screenshot 1)
5. Move to lines and check the lines were added
6. Close the Good Shipment tab and click the New Goods Shipment (see screenshot 2)
7. The form will show the new form for the header, but lines are shown (see screenshot 3)
Regression
png Screenshot_1.png (92,700) 2012-05-21 13:50
https://issues.openbravo.com/file_download.php?file_id=5251&type=bug
png

png Screenshot_2.png (50,947) 2012-05-21 13:50
https://issues.openbravo.com/file_download.php?file_id=5252&type=bug
png

png Screenshot_3.png (86,812) 2012-05-21 13:51
https://issues.openbravo.com/file_download.php?file_id=5253&type=bug
png
Issue History
2012-05-21 13:50plujanNew Issue
2012-05-21 13:50plujanAssigned To => mirurita
2012-05-21 13:50plujanFile Added: Screenshot_1.png
2012-05-21 13:50plujanWeb browser => Google Chrome
2012-05-21 13:50plujanModules => Core
2012-05-21 13:50plujanFile Added: Screenshot_2.png
2012-05-21 13:51plujanFile Added: Screenshot_3.png
2012-05-21 13:51plujanTag Attached: Regression
2012-05-21 13:52plujanWeb browserGoogle Chrome => Google Chrome
2012-05-21 13:52plujanversion => 3.0MP10.1
2012-05-21 14:54plujanNote Added: 0048805
2012-05-21 18:54shuehnerNote Added: 0048836
2012-05-21 19:04shuehnerAssigned Tomirurita => alostale
2012-08-10 11:16AugustoMauchNote Added: 0051240
2012-08-10 11:58hgbotCheckin
2012-08-10 11:58hgbotNote Added: 0051242
2012-08-10 11:58hgbotStatusnew => resolved
2012-08-10 11:58hgbotResolutionopen => fixed
2012-08-10 11:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a4fa4da0dcb6bb2435706e770a67fe488ae56e7f [^]
2012-08-29 16:59marvintmStatusresolved => closed
2012-08-29 16:59marvintmFixed in Version => 3.0MP15

Notes
(0048805)
plujan   
2012-05-21 14:54   
The issue can be reproduced also in MP5.4
(0048836)
shuehner   
2012-05-21 18:54   
Note: this seems to only reproduce when directly opening the window in new queue (using i.e. quick created). When opening the window normally and only then clicking i.e. 'new in form' this does not happen.
(0051240)
AugustoMauch   
2012-08-10 11:16   
This happens because there is only one register in the header tab of Goods Shipments. When a window is opened and it only has one register, it is automatically selected.

This is also happening when creating a new register from Recent Views using the '*', the header is shown empty, but then the already existing record is selected, and the content of its subtabs is shown
(0051242)
hgbot   
2012-08-10 11:58   
Repository: erp/devel/pi
Changeset: a4fa4da0dcb6bb2435706e770a67fe488ae56e7f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Aug 10 11:57:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a4fa4da0dcb6bb2435706e770a67fe488ae56e7f [^]

Fixes issue 20564: Previous lines not shown when creating a new record

When a new record was created using the icon in Recent Views, if there was only one record in that window, it would be automatically selected, and its lines would be shown under the empty header tab.

This has been fixed by preventing this automatical selection, if the current record is new.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---