Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033742 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2016-08-18 14:46 | 2016-09-08 21:36 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7cbdcc419167 | ||||
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 | Core | |||||||
Support ticket | 43222 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033742: UpdateCustomerBalance modulescript is not taking into account currency conversion | |||||||
Description | UpdateCustomerBalance modulescript is not taking into account currency conversion | |||||||
Steps To Reproduce | In a version previous to 3.0PR15Q2: Check IsCustomerBalanceRestoredV2 preference does not exist Create 4 business partners, two customers and two vendors Set a price list with the same currency to them (EUR) Create a sales invoice for one of the customers Generate credit for the other customer (Payment In) Create a purchase invoice for one of the vendors Generate credit for the other vendor (Payment Out) Check the current balance in Business Partner window has been modified accordingly Change their currency to USD and check the current balance has been converted Update to a version newer than 3.0PR15Q4 and check the balance is the first one (the same than when the currency was EUR) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0089557) rqueralta (viewer) 2016-08-30 19:45 edited on: 2016-08-30 19:49 |
In a version previous to 3.0PR15Q2: As F&B International Group Admin - Check IsCustomerBalanceRestoredV2 preference does not exist - Create 4 business partners, two customers and two vendors - Set a price list with the same currency to them (EUR) - Create a sales invoice for one of the customers - Generate credit for the other customer (Payment In) - Create a purchase invoice for one of the vendors - Generate credit for the other vendor (Payment Out) - Check the current balance in Business Partner window has been modified accordingly - Change their currency to USD - Check the current balance has been converted Update to a version newer than 3.0PR15Q4 As F&B International Group Admin - Check the balance is the same than when the currency was converted to USD |
(0089847) hgbot (developer) 2016-09-08 16:43 |
Repository: erp/devel/pi Changeset: 7cbdcc41916706c2efcb0232acc1ba06774d1ac0 Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu> Date: Wed Sep 07 12:06:09 2016 -0400 URL: http://code.openbravo.com/erp/devel/pi/rev/7cbdcc41916706c2efcb0232acc1ba06774d1ac0 [^] Fixes issue 33742: UpdateCustomerBalance modulescript BP currency conversion UpdateCurtomerBalance modulescript did not take in account the business partner currency.Now if business partner currency and document currency are different, the document amount is converted to the business partner currency. --- M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java --- |
(0089848) aferraz (viewer) 2016-09-08 16:44 |
Code review + Testing OK |
(0089849) aferraz (viewer) 2016-09-08 16:45 |
Attached script to update Business Partner balance manually. |
(0089858) hudsonbot (viewer) 2016-09-08 21:36 |
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/bdb3e747cf46 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-08-18 14:46 | ngarcia | New Issue | |
2016-08-18 14:46 | ngarcia | Assigned To | => Triage Finance |
2016-08-18 14:46 | ngarcia | OBNetwork customer | => Yes |
2016-08-18 14:46 | ngarcia | Modules | => Core |
2016-08-18 14:46 | ngarcia | Support ticket | => 43222 |
2016-08-18 14:46 | ngarcia | Resolution time | => 1473285600 |
2016-08-18 14:46 | ngarcia | Triggers an Emergency Pack | => No |
2016-08-19 09:19 | aferraz | Assigned To | Triage Finance => rqueralta |
2016-08-19 19:27 | rqueralta | Status | new => scheduled |
2016-08-23 10:44 | aferraz | Steps to Reproduce Updated | View Revisions |
2016-08-30 19:45 | rqueralta | Note Added: 0089557 | |
2016-08-30 19:49 | rqueralta | Note Edited: 0089557 | View Revisions |
2016-09-06 18:47 | aferraz | File Added: 33742.sql | |
2016-09-07 17:15 | aferraz | File Deleted: 33742.sql | |
2016-09-08 16:43 | hgbot | Checkin | |
2016-09-08 16:43 | hgbot | Note Added: 0089847 | |
2016-09-08 16:43 | hgbot | Status | scheduled => resolved |
2016-09-08 16:43 | hgbot | Resolution | open => fixed |
2016-09-08 16:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7cbdcc41916706c2efcb0232acc1ba06774d1ac0 [^] |
2016-09-08 16:44 | aferraz | Review Assigned To | => aferraz |
2016-09-08 16:44 | aferraz | Note Added: 0089848 | |
2016-09-08 16:44 | aferraz | Status | resolved => closed |
2016-09-08 16:44 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-08 16:44 | aferraz | File Added: 33742.sql | |
2016-09-08 16:45 | aferraz | Note Added: 0089849 | |
2016-09-08 21:36 | hudsonbot | Checkin | |
2016-09-08 21:36 | hudsonbot | Note Added: 0089858 |
Copyright © 2000 - 2009 MantisBT Group |