Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015816Openbravo ERPA. Platformpublic2011-01-29 12:502011-05-24 10:56
mirurita 
alostale 
urgentmajoralways
closedfixed 
5
pi 
3.0RC4 
Core
No
0015816: Update Payment Plan standard proces is not working
NPE prevents the generated process popup to be opened.

2050968 [TP-Processor8] ERROR org.openbravo.xmlEngine.XmlEngine - not found fileXmlEngineConfiguration: /home/openbravo/workspace/pioracle/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/openbravo/src-loc/design/org/openbravo/erpCommon/ad_actionButton/Update_Payment_PlanFB740AB61B0E42B198D2C88D3A0D0CE6.xml
/home/openbravo/workspace/pioracle/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/openbravo/src-loc/design/org/openbravo/erpCommon/ad_actionButton/Update_Payment_PlanFB740AB61B0E42B198D2C88D3A0D0CE6.xml (No such file or directory)
2050974 [TP-Processor8] WARN org.openbravo.xmlEngine.XmlDocument - Subdocument: reportFIN_Payment_Priority_ID not found in designorg/openbravo/erpCommon/ad_actionButton/Update_Payment_PlanFB740AB61B0E42B198D2C88D3A0D0CE6?newDiscard
2050975 [TP-Processor8] ERROR org.openbravo.erpWindows.PurchaseOrder.PaymentPlanFA57D75B1BBB4583B4A777008A29BF54 - Error captured:
javax.servlet.ServletException: java.lang.NullPointerException
    at org.openbravo.erpWindows.PurchaseOrder.PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.printPageButtonUpdate_Payment_PlanFB740AB61B0E42B198D2C88D3A0D0CE6(PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.java:1015)
    at org.openbravo.erpWindows.PurchaseOrder.PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.doPost(PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.java:400)
    at org.openbravo.base.HttpBaseServlet.doGet(HttpBaseServlet.java:287)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:456)
    at org.openbravo.erpWindows.PurchaseOrder.PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.service(PaymentPlanFA57D75B1BBB4583B4A777008A29BF54.java:62)


The following JavaScript Error appears
disableAttributeWithFunction is not defined
http://localhost/openbravo/web/js/utils.js [^]
Line 2315


I've tried with Classic Layout (Menu.html?noprefs=true) and other JavaScript error is shown:

zz is not defined

onclick="openServletNewWindow('BUTTONUpdate_Payment_PlanFB740AB61B0E42B198D2C88D3A0D0CE6', true, 'PaymentPlanFA57D75B1BBB4583B4A777008A29BF54_Edition.html', 'BUTTON', null, false, 600, 900, null, null, null, null, zz);
1) In pi environment clone and install the following module
https://code.openbravo.com/erp/pmods/org.openbravo.financial.paymentpriorities/ [^]
It only adds the fields for some columns in core.

2) Go to Purchase Order and go to Payment Plan tab of Purchase Order with document number: PO/800015 (it exists for F&B)
If the Purchase Order does not exist, create a new one and complete:
- Business Partner: Happy Drinks, Inc.
- Payment Method: Wire Transfer

3) In Payment Plan tab click on the Update Payment Plan button.
closingMay2011
png UpdatePaymentPlan.png (73,525) 2011-01-29 13:46
https://issues.openbravo.com/file_download.php?file_id=3557&type=bug
png
Issue History
2011-01-29 12:50miruritaNew Issue
2011-01-29 12:50miruritaAssigned To => alostale
2011-01-29 12:50miruritaModules => Core
2011-01-29 13:46miruritaFile Added: UpdatePaymentPlan.png
2011-01-31 08:18alostaleStatusnew => scheduled
2011-01-31 10:05alostaleNote Added: 0033958
2011-01-31 10:07hgbotCheckin
2011-01-31 10:07hgbotNote Added: 0033959
2011-01-31 10:07hgbotStatusscheduled => resolved
2011-01-31 10:07hgbotResolutionopen => fixed
2011-01-31 10:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/60e11183dca468428914e6ed6a89cb298a241ac9 [^]
2011-05-24 10:08dalsasuaTag Attached: closingMay2011
2011-05-24 10:56dalsasuaStatusresolved => closed

Notes
(0033958)
alostale   
2011-01-31 10:05   
Working fine invoking it from 3.0 window.

Failing in classic mode.
(0033959)
hgbot   
2011-01-31 10:07   
Repository: erp/devel/pi
Changeset: 60e11183dca468428914e6ed6a89cb298a241ac9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jan 31 10:07:43 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/60e11183dca468428914e6ed6a89cb298a241ac9 [^]

fixed issue 15816: Call action button of Read Only pattern tabs in classic mode

---
M src-wad/src/org/openbravo/wad/controls/WADButton.java
---