Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022713Openbravo ERPA. Platformpublic2012-12-31 13:182013-01-17 11:46
naiaramartinez 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0MP19pi 
shankarb
Core
No
0022713: Pick/Edit is not working correctly when it is associated to the lines tab instead of to the header
In Sales Order window there is a pick/edit window asociated to lines. The first time the pick/edit is loaded the data is loaded correctly. In developers tool, in Form Data, you can see data related to the sales order and to the sales order lines.

But, if you try to apply filter to the pick/edit window no data is shown. Moreover, if you open developers tool, in Form Data, you can see data related to Order but not to lines.
Go to preference window and create a a new record.
  Property: Enable Stock Reservations
  Value: Y

Go to Sales Order window:
  create a new order.
  book it.

Go to lines tab and click in 'Manage reservations' button. Notice that data is loaded. Open Developers tool and notice that in 'form Data' data related to Order and Lines is loaded.

Now in the Pick/Edit pop-up try to add filter, in line no write 20, for instance. Notice that no data is shown. If you open Developer Tools, in Form Data, you will see data related to the Order, but not to the order lines.
No tags attached.
related to defect 0021741 closed AugustoMauch Pick&Execute under some circumstances is not retrieving the selected record ID 
Issue History
2012-12-31 13:18naiaramartinezNew Issue
2012-12-31 13:18naiaramartinezAssigned To => AugustoMauch
2012-12-31 13:18naiaramartinezModules => Core
2012-12-31 13:18naiaramartinezTriggers an Emergency Pack => No
2013-01-09 12:03naiaramartinezTarget Version => 3.0MP19
2013-01-10 11:12AugustoMauchRelationship addedrelated to 0021741
2013-01-10 11:16AugustoMauchIssue Monitored: shankarb
2013-01-10 11:16AugustoMauchReview Assigned To => shankarb
2013-01-10 11:18hgbotCheckin
2013-01-10 11:18hgbotNote Added: 0055450
2013-01-10 11:18hgbotStatusnew => resolved
2013-01-10 11:18hgbotResolutionopen => fixed
2013-01-10 11:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/15c40155a10a8a4dfb06cd810231c3cf5d6a7bf7 [^]
2013-01-10 20:31hudsonbotCheckin
2013-01-10 20:31hudsonbotNote Added: 0055474
2013-01-11 07:40shankarbNote Added: 0055476
2013-01-11 07:40shankarbStatusresolved => closed
2013-01-11 07:40shankarbFixed in Version => pi
2013-01-17 11:46alostaleNote Added: 0055558

Notes
(0055450)
hgbot   
2013-01-10 11:18   
Repository: erp/devel/pi
Changeset: 15c40155a10a8a4dfb06cd810231c3cf5d6a7bf7
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jan 10 11:14:44 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/15c40155a10a8a4dfb06cd810231c3cf5d6a7bf7 [^]

Fixes issue 22713: P&E windows works well even if defined on a not header tab

The root cause of the issue is that the P&E grid was using the header tab when retrieving the context, when it should be fetching it from the view there the P&E grid is defined. This view is stored in the P&E view as the buttonOwnerView.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0055474)
hudsonbot   
2013-01-10 20:31   
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/67a6d258fb63 [^]

Maturity status: Test
(0055476)
shankarb   
2013-01-11 07:40   
Code Reviewed and tested in pi changeset 6643d4586bf2
(0055558)
alostale   
2013-01-17 11:46   
test plan: Communit-6878:Correct filtering in subtabs (issue 22713)