Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersmajoralways2015-10-01 13:402015-10-05 11:31
ReportermaiteView Statuspublic 
Assigned Toaferraz 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione9095a803ab6
ProjectionnoneETAnoneTarget Version3.0PR15Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tovmromanos
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0031023: Credit consumed although payment is not completed due to "payment currency should map business partner currency" error

DescriptionCredit consumed although payment is not completed due to "payment currency should map business partner currency" error
Steps To Reproduce1. Register Payment Out for bebidas alegres and set generated credit=150. Process payment
2. Register Purchase Invoice for bebidas alegres, add any line and process. Do NOT consume credit when processing invoice
3. Access Business Partner window and run "Set new currency" process. Select MXN currency, check "set amount" option and set 200
4. Register Payment Out for bebidas alegres, run "Add details", select credit to be consumed and pending invoice
5. Process payment and error "For credit generation and/or credit consumption payment currency should map business partner currency: MXN" will be raised
6. Run "add details" rocess again and realize that available credit is not 150 but invoice amount has been substracted
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00310063.0PR16Q1 closedaferraz Credit consumed although payment is not completed due to "payment currency should map business partner currency" error 

-  Notes
hgbot (developer)
2015-10-05 11:29

Repository: erp/backports/3.0PR15Q3.2
Changeset: e9095a803ab6966d1cd38fbd5d4cde211f944996
Author: Alvaro Ferraz <alvaro.ferraz <at>>
Date: Fri Oct 02 12:24:48 2015 +0200
URL: [^]

Fixes issue 31023: Credit consumed although payment not completed

When consuming a credit with a currency different than Business Partner's currency, an error is shown but credit was also consumed, which was wrong.
Now, this check will be also done before consuming credit in AddPaymentActionHandler addCredit method, as it was done in FIN_PaymentProcess doProcessPayment method.

M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/
vmromanos (developer)
2015-10-05 11:31

Code review + testing OK

- Issue History
Date Modified Username Field Change
2015-10-02 12:18 aferraz Type defect => backport
2015-10-02 12:18 aferraz Target Version 3.0PR16Q1 => 3.0PR15Q3.2
2015-10-02 12:19 aferraz Tag Attached: Approved
2015-10-05 11:29 hgbot Checkin
2015-10-05 11:29 hgbot Note Added: 0080816
2015-10-05 11:29 hgbot Status scheduled => resolved
2015-10-05 11:29 hgbot Resolution open => fixed
2015-10-05 11:29 hgbot Fixed in SCM revision => [^]
2015-10-05 11:31 vmromanos Review Assigned To => vmromanos
2015-10-05 11:31 vmromanos Note Added: 0080818
2015-10-05 11:31 vmromanos Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker