Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022106
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementtrivialalways2012-10-25 14:142012-11-21 06:06
ReporterpramakrishnanView Statuspublic 
Assigned Topramakrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision9d488c89c09e
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_33
OS Version12.04Database version9.1.6Ant version1.8.2
Product VersionpiSCM revision 
Review Assigned Tonaiaramartinez
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022106: Null Pointer Exception in purchase invoice while adding payment

DescriptionThe "Add Payment" button shows null pointer exception if the document currency is different than the business partner's currency
Steps To ReproduceSelect "Receive Payments from multiple currencies" and "Make payments in multiple currencies" for the payment method "Transferencia" in Financial Account-> Payment Method

Create price list:
"Organization":F&B España - Región Norte
"Name":IndianPriceList
"Currency":INR

create an invoice
"Organization":F&B España - Región Norte
"Business Partner":Bebidas Alegres, S.L.
"Payment Method":Transferencia
"Price List":IndianPriceList
Create lines and complete the invoice

Click "Add Payment" button
Notice that it throws Null Pointer Exception
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0053720)
dmiguelez (developer)
2012-10-25 16:31

Test Plan:

Select "Receive Payments from multiple currencies" and "Make payments in multiple currencies" for the payment method "Transferencia" in Financial Account-> Payment Method

Create price list:
"Organization":F&B España - Región Norte
"Name":IndianPriceList
"Currency":INR

create an invoice
"Organization":F&B España - Región Norte
"Business Partner":Bebidas Alegres, S.L.
"Payment Method":Transferencia
"Price List":IndianPriceList
Create lines and complete the invoice

Click "Add Payment" button
Select the invoice and click process
Notice that the null pointer exception does not appear
(0054179)
hgbot (developer)
2012-11-13 09:01

Repository: erp/devel/pi
Changeset: 9d488c89c09ea754e1bf336835e1d31f8e9ced2b
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Nov 07 15:33:57 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9d488c89c09ea754e1bf336835e1d31f8e9ced2b [^]

Fixes Issue 22106: NPE in purchase invoice while adding payment

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0054187)
naiaramartinez (developer)
2012-11-13 09:18

Code Review + Testing OK
(0054367)
hudsonbot (developer)
2012-11-21 06:06

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/c3c5e61b0164 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-10-25 14:14 pramakrishnan New Issue
2012-10-25 14:14 pramakrishnan Assigned To => dmiguelez
2012-10-25 14:14 pramakrishnan Web browser => Google Chrome
2012-10-25 14:14 pramakrishnan Modules => Core
2012-10-25 14:14 pramakrishnan Assigned To dmiguelez => pramakrishnan
2012-10-25 14:15 pramakrishnan Status new => scheduled
2012-10-25 14:15 pramakrishnan fix_in_branch => pi
2012-10-25 16:31 dmiguelez Note Added: 0053720
2012-11-13 09:01 hgbot Checkin
2012-11-13 09:01 hgbot Note Added: 0054179
2012-11-13 09:01 hgbot Status scheduled => resolved
2012-11-13 09:01 hgbot Resolution open => fixed
2012-11-13 09:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9d488c89c09ea754e1bf336835e1d31f8e9ced2b [^]
2012-11-13 09:18 naiaramartinez Review Assigned To => naiaramartinez
2012-11-13 09:18 naiaramartinez Note Added: 0054187
2012-11-13 09:18 naiaramartinez Status resolved => closed
2012-11-21 06:06 hudsonbot Checkin
2012-11-21 06:06 hudsonbot Note Added: 0054367


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker