Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016310Openbravo ERPA. Platformpublic2011-03-15 16:442011-06-07 03:56
shuehner 
shankarb 
normalminorhave not tried
closedfixed 
5
 
3.0MP1 
User Interface Application
No
0016310: print button in grid should be disabled when no rows are is selected or grid is empty.
The print button in the grid should not be activated when there's nothing to print. I.e. no row is selected or no rows are present in the grid at all (i.e. because of filters)).

Instead it is active and shows an error when used in that case.

See attached screenshot for current message.

Note: same applies for the email button
open sales order grid
use any filter to get no rows shown
see that the print (and also email) buttons are active and show an error message if used.
deactivate button in the described case like done for the other toolbar buttons also.
contrib
related to defect 0037016 closed caristu Print and E-mail toolbar buttons should be disabled when editing a new record in grid view 
png 16310.png (24,501) 2011-03-15 16:45
https://issues.openbravo.com/file_download.php?file_id=3688&type=bug
png
Issue History
2011-03-15 16:44shuehnerNew Issue
2011-03-15 16:44shuehnerAssigned To => alostale
2011-03-15 16:44shuehnerModules => User Interface Application
2011-03-15 16:45shuehnerFile Added: 16310.png
2011-03-15 18:01alostaleTag Attached: contrib
2011-03-15 18:02alostaleStatusnew => scheduled
2011-03-15 18:02alostalefix_in_branch => pi
2011-03-29 15:15alostaleAssigned Toalostale => shankarb
2011-06-05 18:17shankarbIssue Monitored: shankarb
2011-06-06 11:42hgbotCheckin
2011-06-06 11:42hgbotNote Added: 0038023
2011-06-06 11:52alostaleStatusscheduled => resolved
2011-06-06 11:52alostaleFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ec7648883c879cacdae4877a90bd9a6791b69e9f [^]
2011-06-06 11:52alostaleResolutionopen => fixed
2011-06-06 11:53alostaleStatusresolved => closed
2011-06-06 11:53alostaleFixed in Version => 3.0MP1
2011-06-07 03:56hudsonbotCheckin
2011-06-07 03:56hudsonbotNote Added: 0038073
2017-10-05 18:36caristuRelationship addedrelated to 0037016

Notes
(0038023)
hgbot   
2011-06-06 11:42   
Repository: erp/devel/pi
Changeset: ec7648883c879cacdae4877a90bd9a6791b69e9f
Author: Shankar Balachandran <shaanjus4u <at> gmail.com>
Date: Sun Jun 05 21:37:06 2011 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ec7648883c879cacdae4877a90bd9a6791b69e9f [^]

Fix Issue 0016310 : Disable logic in Print/Email button

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0038073)
hudsonbot   
2011-06-07 03:56   
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/aefaedafb236 [^]

Maturity status: Test