Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022316Openbravo ERP07. Sales managementpublic2012-11-16 06:272012-12-11 17:54
sureshbabu 
AugustoMauch 
urgentmajoralways
closedfixed 
30Professional Appliance
3.0MP17 
3.0MP18 
dmiguelez
Google Chrome
Core
QA functional test
No
0022316: Not able to select the product by pressing keys from keyboard
Not able to select the product by pressing keys from keyboard in the product field

DME Comments:
First time I do it I can select a product. But then if I change my mind, clean the filter and would like to select another product then selector is empty.

Grid / Form does not matter, issue is the same.

Purchase and Sales invoice - the same.
In the Orders we have different selector and it works.
Login as Group admin (in my case i have selected QA Admin role)
Then navigate to Sales invoice window and create a new document
In the Header tab select any Business partner.(in my case i have selected Customer A)
Then navigate to Lines tab and click Ctrl + D to insert new row in form view
Then in the product field, try to type (Shift + F) to select the product "FInished goods A"(FGA)

Defect:
1)Entered key (Shift+ F) will not appear in the screen

2) Also click the drop down key, one can find "No items to show" text will be displayed

3) Also click click the product selector (by clicking Ctrl + Enter key), in the product selector also "No items to show" text will be displayed. Then click cancel button to close the product selector and from lines tab, click Esc key, the line record will be displayed in grid view.
Then edit the record in grid/form view, now one can find the products listed in the product drop down box.

DME Comments:
As for me <Shift + letter> to start with capitals works fine. I can see these letters shown in the product selector.

But what does not work for me is changing the filter. For example in the product field I type "finished goods" - it is filtered. Then I clean this filter completely and try to type the same or sth else but in this case selector does not work any longer: no data in the drop-down and nothing in the pop-up selector.

I checked in MP14.2 and it works.
No tags attached.
related to defect 00208113.0MP12 closed mirurita Product selector in window sales order is broken 
Issue History
2012-11-16 06:27sureshbabuNew Issue
2012-11-16 06:27sureshbabuAssigned To => dmiguelez
2012-11-16 06:27sureshbabuWeb browser => Google Chrome
2012-11-16 06:27sureshbabuModules => Core
2012-12-06 17:16sureshbabuWeb browserGoogle Chrome => Google Chrome
2012-12-06 17:16sureshbabuRegression level => QA functional test
2012-12-06 17:16sureshbabuTriggers an Emergency Pack => No
2012-12-07 10:27plujanWeb browserGoogle Chrome => Google Chrome
2012-12-07 10:27plujanSeveritycritical => major
2012-12-07 11:18dmitry_mezentsevNote Added: 0054767
2012-12-07 11:18dmitry_mezentsevStatusnew => feedback
2012-12-07 11:26sureshbabuAssigned Todmiguelez => dmitry_mezentsev
2012-12-07 11:30sureshbabuNote Added: 0054768
2012-12-07 11:30sureshbabuNote Deleted: 0054768
2012-12-07 11:31sureshbabuNote Added: 0054769
2012-12-07 11:31sureshbabuStatusfeedback => new
2012-12-07 13:09dmitry_mezentsevNote Added: 0054775
2012-12-07 14:02sureshbabuNote Added: 0054776
2012-12-07 15:10dmitry_mezentsevAssigned Todmitry_mezentsev => AugustoMauch
2012-12-07 15:15dmitry_mezentsevWeb browserGoogle Chrome => Google Chrome
2012-12-07 15:15dmitry_mezentsevSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4141#r4141
2012-12-07 15:16dmitry_mezentsevWeb browserGoogle Chrome => Google Chrome
2012-12-07 15:16dmitry_mezentsevTarget Version => 3.0MP18
2012-12-07 15:23dmitry_mezentsevWeb browserGoogle Chrome => Google Chrome
2012-12-07 15:23dmitry_mezentsevDescription Updatedbug_revision_view_page.php?rev_id=4143#r4143
2012-12-07 15:38dmitry_mezentsevWeb browserGoogle Chrome => Google Chrome
2012-12-07 15:38dmitry_mezentsevDescription Updatedbug_revision_view_page.php?rev_id=4144#r4144
2012-12-10 17:12AugustoMauchReview Assigned To => dmiguelez
2012-12-10 17:12AugustoMauchWeb browserGoogle Chrome => Google Chrome
2012-12-10 17:18AugustoMauchRelationship addedrelated to 0020811
2012-12-10 17:19hgbotCheckin
2012-12-10 17:19hgbotNote Added: 0054809
2012-12-10 17:19hgbotStatusnew => resolved
2012-12-10 17:19hgbotResolutionopen => fixed
2012-12-10 17:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f1b0fc389b29c7e2d3b9c0c819eed69088560369 [^]
2012-12-10 17:46dmiguelezNote Added: 0054813
2012-12-10 17:46dmiguelezStatusresolved => closed
2012-12-11 17:54hudsonbotCheckin
2012-12-11 17:54hudsonbotNote Added: 0054864

Notes
(0054767)
dmitry_mezentsev   
2012-12-07 11:18   
>1)Entered key (Shift+ F) will not appear in the screen
Suresh,
Could you explain where did you find this shortcut Shift+F please? I was browsing documentation and did not see it.
Or it is just a shortcut that brakes selector?
(0054769)
sureshbabu   
2012-12-07 11:31   
Dmitry,

When i tried to enter the product key FGA to select the product Final good A in the product field, i found that the "Alt + chars" key combination brakes the selector. After that i am not able to select the product from drop down as well as using the product selector popup.
(0054775)
dmitry_mezentsev   
2012-12-07 13:09   
>"Alt + chars"
You mean "Shift + chars", right? You used Shift for capitals, correct?
(0054776)
sureshbabu   
2012-12-07 14:02   
Yes, its "Shift+ Chars" to enter upper case characters.
(0054809)
hgbot   
2012-12-10 17:19   
Repository: erp/devel/pi
Changeset: f1b0fc389b29c7e2d3b9c0c819eed69088560369
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Dec 10 17:18:50 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f1b0fc389b29c7e2d3b9c0c819eed69088560369 [^]

Fixes issue 22316: Product selector works fine after deleting its contents

The product selector of the Lines tab of the Sales Invoice window was being broken after deleting the contents of its text input. When the last character was
deleted, the SL_Invoice_Product was called with a null product, which resulted in the inpcCurrencyId to being set to ''. This property is used in the filter l
ogic of the product, and after it was set to '' the selector did not return any product.

This has been fixed in the same way that the issue 20811 was fixed, by only returning in the callout the inpcCurrencyId property if it is not null.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
---
(0054813)
dmiguelez   
2012-12-10 17:46   
Code Review + Testing OK
(0054864)
hudsonbot   
2012-12-11 17:54   
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/3b1b5e2f6c63 [^]

Maturity status: Test