Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022388Openbravo ERP07. Sales managementpublic2012-11-23 12:442016-02-01 13:59
sureshbabu 
markmm82 
lowtrivialalways
scheduledopen 
30Professional Appliance
 
 
Google Chrome
Openbravo 3.0
No
0022388: Error message wrongly appears even after selecting the order id details.
In Sales invoice, in Copy lines process window, "This value is required" error message appears even after i select invoice id.
Navigate to sales invoice window
Then insert new record in grid view, by clicking the hot keys Ctrl + I
Select any BP details and save the record.
Click "Copy lines" option to enter line items
Then from invoice selector select any invoice id and click OK button
In the Request process window, even after invoice id is selected in Invoice field
Still "This value is required" error message appears in the Invoice field
No tags attached.
png In Sales invoice, in Copy lines process window, This value is required error message appears even after i select invocie id..png (152,762) 2012-11-23 12:44
https://issues.openbravo.com/file_download.php?file_id=5765&type=bug
png
Issue History
2012-11-23 12:44sureshbabuNew Issue
2012-11-23 12:44sureshbabuAssigned To => dmiguelez
2012-11-23 12:44sureshbabuFile Added: In Sales invoice, in Copy lines process window, This value is required error message appears even after i select invocie id..png
2012-11-23 12:44sureshbabuWeb browser => Google Chrome
2012-11-23 12:44sureshbabuModules => Openbravo 3.0
2016-02-01 13:58markmm82Statusnew => scheduled
2016-02-01 13:58markmm82Assigned Todmiguelez => markmm82
2016-02-01 13:59markmm82Note Added: 0083788

Notes
(0083788)
markmm82   
2016-02-01 13:59   
The problem in this issue was: after return from the selector, the input field with the selected invoice wasn't focused. But... If you manually focus the input field and then clicked out the field in any side of the window, the message dissapear. Of course this are additional steps that may cause confussion for users, due that was added an event listener to automatic show and hide the required message validating the input value and without having to left the focus of the field or fire another html or dojo events

Note: dojo events are not working in the best way inside the OB selectors with validations or required fields. Must of them need to go out of the selected field to appear/dissapear validations messages.

Test plan
-Navigate to sales invoice window
-Then insert new record in grid view, by clicking the hot keys Ctrl + I
-Select any BP details and save the record.
-Click "Copy lines" option to enter line items
-Then from invoice selector select any invoice id and click OK button
-In the Request process window, after invoice id is selected in Invoice field "This value is required" error message disappears in the Invoice field.