Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037016Openbravo ERPA. Platformpublic2017-10-05 18:352018-01-03 12:38
caristu 
caristu 
normalminoralways
closedfixed 
5
 
3.0PR18Q1 
alostale
Core
No
0037016: Print and E-mail toolbar buttons should be disabled when editing a new record in grid view
Print toolbar button should be disabled when editing a new record in grid view. It is indeed disabled when editing a new record in form view. Otherwise, it is possible to send a print request with a non-existent record ID, causing an error message to be displayed in the UI.

The same applies for the E-mail button.
1) Go to the [Sales Order] window
2) Create a new record in grid view
3) Without saving it, click on the print button of the toolbar. An error is displayed (See attached).
No tags attached.
related to defect 0016310 closed shankarb print button in grid should be disabled when no rows are is selected or grid is empty. 
png error.png (99,542) 2017-10-05 18:35
https://issues.openbravo.com/file_download.php?file_id=11143&type=bug
png
Issue History
2017-10-05 18:35caristuNew Issue
2017-10-05 18:35caristuAssigned To => platform
2017-10-05 18:35caristuFile Added: error.png
2017-10-05 18:35caristuModules => Core
2017-10-05 18:35caristuTriggers an Emergency Pack => No
2017-10-05 18:36caristuAssigned Toplatform => caristu
2017-10-05 18:36caristuRelationship addedrelated to 0016310
2017-10-05 18:43caristuSummaryPrint button should be disabled when editing a new record in grid view => Print and E-mail toolbar buttons should be disabled when editing a new record in grid view
2017-10-05 18:43caristuDescription Updatedbug_revision_view_page.php?rev_id=16035#r16035
2017-10-05 18:48hgbotCheckin
2017-10-05 18:48hgbotNote Added: 0099780
2017-10-05 18:48hgbotStatusnew => resolved
2017-10-05 18:48hgbotResolutionopen => fixed
2017-10-05 18:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/496379681c62138aca6a89596bb33efee8c7c3b9 [^]
2017-10-05 18:48caristuReview Assigned To => alostale
2017-10-09 09:04alostaleNote Added: 0099819
2017-10-09 09:04alostaleStatusresolved => closed
2017-10-09 09:04alostaleFixed in Version => 3.0PR18Q1
2018-01-03 12:38hudsonbotCheckin
2018-01-03 12:38hudsonbotNote Added: 0101319

Notes
(0099780)
hgbot   
2017-10-05 18:48   
Repository: erp/devel/pi
Changeset: 496379681c62138aca6a89596bb33efee8c7c3b9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Oct 05 18:31:11 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/496379681c62138aca6a89596bb33efee8c7c3b9 [^]

fixes bug 37016: Disable print/e-mail buttons on record creation in grid view

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0099819)
alostale   
2017-10-09 09:04   
reviewed + tested
(0101319)
hudsonbot   
2018-01-03 12:38   
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/c81e0d3cbab5 [^]
Maturity status: Test