Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014704Openbravo ERP07. Sales managementpublic2010-09-27 11:342010-12-09 16:06
pjuvara 
adrianromero 
normalmajoralways
closedfixed 
5
3.0RC2 
 
Core
No
0014704: Print document dialog does not close
The Print Document dialog, which opens when you print a document such an invoice or a sales order, should close automatically once you made your choice, but it does not.
1) Open an invoice
2) Press the Print icon
3) Press either "Yes" or "No,just print it"

The window does not close.
No tags attached.
related to defect 0014703 closed sivaraman Print document confirmation windows opens up as maximized 
Issue History
2010-09-27 11:34pjuvaraNew Issue
2010-09-27 11:34pjuvaraAssigned To => adrianromero
2010-09-27 11:35pjuvaraRelationship addedrelated to 0014703
2010-11-18 17:24hgbotCheckin
2010-11-18 17:24hgbotNote Added: 0032716
2010-11-18 17:24hgbotStatusnew => resolved
2010-11-18 17:24hgbotResolutionopen => fixed
2010-11-18 17:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/897481c6fd1bce28453b9f18a5405165a89a8aa0 [^]
2010-11-18 17:30adrianromeroNote Added: 0032717
2010-11-19 16:50hudsonbotCheckin
2010-11-19 16:50hudsonbotNote Added: 0032752
2010-11-20 13:13sureshbabuNote Added: 0032766
2010-11-20 13:13sureshbabuStatusresolved => closed
2010-12-09 16:06anonymoussf_bug_id0 => 3133483

Notes
(0032716)
hgbot   
2010-11-18 17:24   
Repository: erp/devel/pi
Changeset: 897481c6fd1bce28453b9f18a5405165a89a8aa0
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Nov 18 17:23:10 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/897481c6fd1bce28453b9f18a5405165a89a8aa0 [^]

Fixes issue 0014704: Print document dialog does not close
It has been added the logic to close the dialog and also has been redirected the submit command to the hidden frame

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html
---
(0032717)
adrianromero   
2010-11-18 17:30   
* Testing the issue

After pressing the button that closes the dialog. The document starts downloading and the dialog closes.

It has to be tested the correct behavior in different documents that use this dialog: Orders, Invoices, ...

Because it has been modified a very special block of javascript code, this new behavior has to be tested in all different browsers and versions supported by Openbravo: Firefox, Internet Explorer, ...

* Other areas affected

It has only been modified the dialog that prints documents. No other areas affected.
(0032752)
hudsonbot   
2010-11-19 16:50   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/897481c6fd1b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/03ec59af7cde [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18968.obx [^]
(0032766)
sureshbabu   
2010-11-20 13:13   
Tested in live (PI) builds