Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020893Openbravo ERP09. Financial managementpublic2012-06-28 18:322012-07-16 17:54
malsasua 
mirurita 
highmajoralways
closedfixed 
20Community Appliance
 
3.0MP14 
Google Chrome
Core
No
0020893: message error is not displayed when you process a purchase invoice with wrong configuration
if you process a purchase invoice, using the available credit, and the business partner has related (in vendor tab) a financial account of organization distinct to invoice organization, the credit is not used and error is not displayed
. in F&B
. create payment out:
  . bp: Bebidas Alegres
  . generated credit: 200
  . run add details process

. go to Business Partner window:
  . go to Bebidas Alegres
  . change organization to *
  . change in vendor tab:
     financial account to: Bank Account 2

. go to financial account: bank account 2
  . add the payment method: transferencia

. create new Purchase Invoice
  . org: Spain
  . bp: Bebidas Alegres
  . payment method: transferencia
  . new line
. process
pop up with "use credit" is displayed:
 . click in "use credit"

payment complete is "no"

. in file:
org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java, in line 327
"FIN_AddPayment.processPayment(vars, this, "P", newPayment);"

this method returns an error, but this error is not read.
No tags attached.
Issue History
2012-06-28 18:32malsasuaNew Issue
2012-06-28 18:32malsasuaAssigned To => mirurita
2012-06-28 18:32malsasuaWeb browser => Google Chrome
2012-06-28 18:32malsasuaModules => Core
2012-07-03 11:57naiaramartinezAssigned Tomirurita => jonalegriaesarte
2012-07-03 12:41jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2012-07-03 12:41jonalegriaesarteTarget Version => 3.0MP14
2012-07-10 11:49miruritaAssigned Tojonalegriaesarte => mirurita
2012-07-10 11:53hgbotCheckin
2012-07-10 11:53hgbotNote Added: 0050437
2012-07-10 11:53hgbotStatusnew => resolved
2012-07-10 11:53hgbotResolutionopen => fixed
2012-07-10 11:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0dfc635813ab1b76a7aee4de62a184bb8f15e1bd [^]
2012-07-16 17:54naiaramartinezNote Added: 0050618
2012-07-16 17:54naiaramartinezStatusresolved => closed

Notes
(0050437)
hgbot   
2012-07-10 11:53   
Repository: erp/devel/pi
Changeset: 0dfc635813ab1b76a7aee4de62a184bb8f15e1bd
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Jul 10 11:52:22 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0dfc635813ab1b76a7aee4de62a184bb8f15e1bd [^]

Fixes issue 20893: error message not handled using credit processing invoice

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0050618)
naiaramartinez   
2012-07-16 17:54   
Code review + testing OK