Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017204Openbravo ERP09. Financial managementpublic2011-05-17 16:112011-05-26 07:44
dmitry_mezentsev 
alostale 
immediatemajoralways
closedfixed 
5
pi 
3.0RC73.0RC7 
Core
No
0017204: Add Payment from Financial Account shows blank screen
Press Add Transaction, then Add Payment, select the Invoice and fill in the amount and press Process button. The result is the blank screen.
live.builds.pi

1. Create Sales Invoice.
2. Financial Account, Add Transaction, Add Payment. Select above created invoice, fill in the amount and Process.
3. You get blank screen in return.
4. At the same time transaction is added to the Financial Account.
No tags attached.
Issue History
2011-05-17 16:11dmitry_mezentsevNew Issue
2011-05-17 16:11dmitry_mezentsevAssigned To => mirurita
2011-05-17 16:11dmitry_mezentsevModules => Core
2011-05-17 16:21miruritaNote Added: 0037093
2011-05-17 16:24miruritaNote Edited: 0037093bug_revision_view_page.php?bugnote_id=0037093#r2027
2011-05-17 16:26miruritaAssigned Tomirurita => alostale
2011-05-17 16:45hgbotCheckin
2011-05-17 16:45hgbotNote Added: 0037096
2011-05-17 16:45hgbotStatusnew => resolved
2011-05-17 16:45hgbotResolutionopen => fixed
2011-05-17 16:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e816adde00373e993820c8cd0effd126baa4ddc9 [^]
2011-05-17 17:07hgbotCheckin
2011-05-17 17:07hgbotNote Added: 0037098
2011-05-17 17:07hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/e816adde00373e993820c8cd0effd126baa4ddc9 [^] => http://code.openbravo.com/erp/devel/pi/rev/b36f5bc377f5a6bdf06dddd31e35e032d955c0a0 [^]
2011-05-18 11:01dmitry_mezentsevNote Added: 0037121
2011-05-18 11:01dmitry_mezentsevStatusresolved => closed
2011-05-18 11:01dmitry_mezentsevFixed in Version => 3.0RC7
2011-05-26 07:44hudsonbotCheckin
2011-05-26 07:44hudsonbotNote Added: 0037477
2011-05-26 07:44hudsonbotCheckin
2011-05-26 07:44hudsonbotNote Added: 0037478

Notes
(0037093)
mirurita   
2011-05-17 16:21   
(edited on: 2011-05-17 16:24)
The problem is in the JavaScript code in PopUp_Close_Refresh.html file.

In AddTransaction.java (line 236) the following xml template is called:

 final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
            "org/openbravo/base/secureApp/PopUp_Close_Refresh").createXmlDocument();


>function closeThisPage() {
> var refreshButton = opener.document.getElementById('buttonRefresh');
> if(refreshButton)
> refreshButton.onclick();
> top.close();
> return true;
>}



Error:
Uncaught TypeError: Cannot read property 'document' of null
closeThisPage
(anonymous function)
onload

(0037096)
hgbot   
2011-05-17 16:45   
Repository: erp/devel/pi
Changeset: e816adde00373e993820c8cd0effd126baa4ddc9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 17 16:44:57 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e816adde00373e993820c8cd0effd126baa4ddc9 [^]

fixed bug 17204: Add Payment from Financial Account shows blank screen

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.html
M src/org/openbravo/base/secureApp/PopUp_Close_Refresh.html
---
(0037098)
hgbot   
2011-05-17 17:07   
Repository: erp/devel/pi
Changeset: b36f5bc377f5a6bdf06dddd31e35e032d955c0a0
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 17 17:05:36 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b36f5bc377f5a6bdf06dddd31e35e032d955c0a0 [^]

fixed bug 17204: Add Payment from Financial Account shows blank screen

---
M src/org/openbravo/base/secureApp/PopUp_Close_Refresh.html
---
(0037121)
dmitry_mezentsev   
2011-05-18 11:01   
Verified in live.builds.
(0037477)
hudsonbot   
2011-05-26 07:44   
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/728387046be6 [^]

Maturity status: Test
(0037478)
hudsonbot   
2011-05-26 07:44   
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/728387046be6 [^]

Maturity status: Test