Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034651 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2016-11-28 17:46 | 2016-12-16 18:39 | |||
Reporter | maite | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 70909b3c068f | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 44468 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034651: Inconsistent payment created (without lines) due to "payment currency should map business partner currency" error | |||||||
Description | Error "For credit generation and/or credit consumption payment currency should map business partner currency" can be found in openbravo.log although no error is raised in UI and - payment without lines - related transaction - related reconciliation are created | |||||||
Steps To Reproduce | 1. Register Purchase Invoice for "Bebidas Alegres", add any line and process 2. Navigate to Business Partner window and run "Set new currency" process. Set MXN amount, check "set amount" option and set any amount 3. Access "Cuenta de Banco" financial account and create new Bank Statement and Bank Statement Line setting Amount OUT > invoice's grand total amount. Process Bank Statement 4. Run "Match Statement" process and select CANCEL option. 5. Run "Add new transaction" (pressing + button) process from previous line and run "Add payment" process in payment selector (pressing + button) 6. Set "Bebidas alegres" in "To be paid to" field and only select previous invoice. Realize that "Overpayment action" is set to "Leave the credit to be used later" and press Done. Press Done again and OK to finish process 7. Realize that transaction document has been created in financial account. Navigate to Payment document and realize that it is in non consistent status as appears as "Payment Cleared" but it has no line | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0092152) collazoandy4 (viewer) 2016-12-06 21:06 |
Test Plan Create a Purchase Invoice for "Bebidas Alegres", add any line and process Go to Business Partner window select "Bebidas Alegres" and run "Set new currency" process. Set MXN check "set amount" option and set any amount Go to Financial Account select "Cuenta de banco" Go to Imported Bank Statement tab and create a new line Go to Bank Statement Lines and create a new line with Amount out equal to the invoice grand total amount. Clic on Process button. Clic on "Match Statement" button and select CANCEL option from the dialog On Match column clic on Add new payment (plus button) Clic on Add payment (plus button) On the dialog open set "Bebidas alegres" in "To be paid to" field Set Invoices in Transaction type field and select a previous created invoice Clic on Done button |
(0092422) hgbot (developer) 2016-12-15 18:15 |
Repository: erp/devel/pi Changeset: 70909b3c068fbcc897465716eaab4673733c6e98 Author: Armaignac <collazoandy4 <at> gmail.com> Date: Wed Dec 14 13:12:34 2016 -0800 URL: http://code.openbravo.com/erp/devel/pi/rev/70909b3c068fbcc897465716eaab4673733c6e98 [^] Fixes issue 34651: An inconsistent payment without lines created When a payment was created with a currency with not conversion rate again to a business partner currency an inconsistent payment without lines was created. In the validation process a now it's verify a valid conversion rate between the payment currency and business partner currency. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentOnProcessActionHandler.java M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js --- |
(0092423) aferraz (viewer) 2016-12-15 18:16 |
Code review + Testing OK |
(0092723) hudsonbot (viewer) 2016-12-16 18:39 |
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/dc8bf00badd0 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-11-28 17:46 | maite | New Issue | |
2016-11-28 17:46 | maite | Assigned To | => Triage Finance |
2016-11-28 17:46 | maite | OBNetwork customer | => Yes |
2016-11-28 17:46 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2016-11-28 17:46 | maite | Support ticket | => 44468 |
2016-11-28 17:46 | maite | Resolution time | => 1482102000 |
2016-11-28 17:46 | maite | Triggers an Emergency Pack | => No |
2016-11-28 17:46 | maite | Issue Monitored: networkb | |
2016-11-30 09:50 | aferraz | Assigned To | Triage Finance => collazoandy4 |
2016-12-06 17:38 | collazoandy4 | Status | new => scheduled |
2016-12-06 21:06 | collazoandy4 | Note Added: 0092152 | |
2016-12-13 16:28 | aferraz | Steps to Reproduce Updated | View Revisions |
2016-12-15 18:15 | hgbot | Checkin | |
2016-12-15 18:15 | hgbot | Note Added: 0092422 | |
2016-12-15 18:15 | hgbot | Status | scheduled => resolved |
2016-12-15 18:15 | hgbot | Resolution | open => fixed |
2016-12-15 18:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/70909b3c068fbcc897465716eaab4673733c6e98 [^] |
2016-12-15 18:16 | aferraz | Review Assigned To | => aferraz |
2016-12-15 18:16 | aferraz | Note Added: 0092423 | |
2016-12-15 18:16 | aferraz | Status | resolved => closed |
2016-12-15 18:16 | aferraz | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:39 | hudsonbot | Checkin | |
2016-12-16 18:39 | hudsonbot | Note Added: 0092723 |
Copyright © 2000 - 2009 MantisBT Group |