Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030714 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] Z. Others | minor | always | 2015-09-01 11:14 | 2015-09-04 12:34 | |||
Reporter | maite | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a5c3132bbcd2 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2015-03-16 | |||||||
Regression introduced in release | 3.0PR14Q3.8 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/41e10f964f97 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030714: Payment Method not filled when running Add Payment From Invoice and business partner has not default Financial Account | |||||||
Description | Payment Method not filled when running Add Payment From Invoice and business partner has not default Financial Account | |||||||
Steps To Reproduce | 1. Access Business Partner "Alimentos y Supermercados" and leave Financial Account field empty in Customer tab 2. Register new Sales Invoice for this business partner, adding any line and process 3. Run Add Payment process and realize that Payment Method field is not filled | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0080101) hgbot (developer) 2015-09-04 12:33 |
Repository: erp/backports/3.0PR15Q3.1 Changeset: a5c3132bbcd26558918ba3c181ac00472abf151c Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Wed Sep 02 19:55:07 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.1/rev/a5c3132bbcd26558918ba3c181ac00472abf151c [^] Fixes issue 30714: Payment Method not filled in Add Payment Payment Method was not filled when running Add Payment and business partner has no default Financial Account. When calling from getDefaultPaymentMethod to getFinancialAccountPaymentMethod in AddPaymentDefaultValuesHandler class with a null financialAccountId (in case of opening Add Payment from windows without Financial Account information like Purchase/Sales Order/Invoice and Business Partner does not have a default Financial Account setted), a NPE was raised and Payment Method was not filled in Add Payment. Now, in Purchase/Sales Order/Invoice windows, where is no financial account information in the context, document payment method will be taken if it is active for any financial account, if not, business partner default payment method will be taken instead (if it is active for any financial account and document organization has access to it). In those windows, Financial Account selector will show Business Partner default account if selected Payment Method belongs to it, or any Financial Account which Payment Method belongs to instead. In case of opening Add Payment from Payment In/Out windows, where exists Financial Account information in the context, Payment Method and Financial Account will be taken from the document. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/AddPaymentDefaultValuesHandler.java --- |
(0080102) dmiguelez (developer) 2015-09-04 12:34 |
Code Review + Testing Ok |
Issue History | |||
Date Modified | Username | Field | Change |
2015-09-01 12:40 | aferraz | Type | defect => backport |
2015-09-01 12:40 | aferraz | Target Version | 3.0PR15Q4 => 3.0PR15Q3.1 |
2015-09-03 10:31 | maite | Severity | major => minor |
2015-09-04 12:33 | hgbot | Checkin | |
2015-09-04 12:33 | hgbot | Note Added: 0080101 | |
2015-09-04 12:33 | hgbot | Status | scheduled => resolved |
2015-09-04 12:33 | hgbot | Resolution | open => fixed |
2015-09-04 12:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3.1/rev/a5c3132bbcd26558918ba3c181ac00472abf151c [^] |
2015-09-04 12:34 | dmiguelez | Review Assigned To | => dmiguelez |
2015-09-04 12:34 | dmiguelez | Note Added: 0080102 | |
2015-09-04 12:34 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |