Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028076 | Openbravo ERP | Z. Others | public | 2014-11-04 12:14 | 2014-12-30 23:24 |
|
Reporter | maite | |
Assigned To | AtulOpenbravo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | pramakrishnan |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 31977 |
Regression level | Production - QA Approved |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028076: "InitializeBPCurrency" modulescript needs to be improved |
Description | "InitializeBPCurrency" modulescript needs to be improved to initialize business partner's currency for partners with no default pricelist but having all previous invoices in same currency |
Steps To Reproduce | - In a version previous to 3.0PR14Q3
1. create new business partner and not set any price list in its customer tab
2. register 2 invoices in same currency
- Upgrade version to 3.0PR14Q3.2
3. Realize that business partner currency has not been initialized |
Proposed Solution | In case business partner has not default price list configured, modulescript should review invoice's currency and in case all business partner invoices are for same currency, then initialize business partner currency |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0025392 | 3.0PR14Q4 | closed | eduardo_Argal | Wrong customer balance when working with multicurrency | causes | defect | 0030530 | 3.0PR15Q4 | closed | aferraz | Performance problem in "InitializeBPCurrency" modulescript |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-11-04 12:14 | maite | New Issue | |
2014-11-04 12:14 | maite | Assigned To | => dmiguelez |
2014-11-04 12:14 | maite | OBNetwork customer | => Yes |
2014-11-04 12:14 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2014-11-04 12:14 | maite | Support ticket | => 31977 |
2014-11-04 12:14 | maite | Triggers an Emergency Pack | => No |
2014-11-04 12:44 | maite | Resolution time | => 1417906800 |
2014-11-04 12:44 | maite | Regression level | => Production - QA Approved |
2014-11-04 12:45 | maite | Relationship added | related to 0025392 |
2014-11-04 12:45 | maite | Issue Monitored: networkb | |
2014-11-06 09:35 | AtulOpenbravo | Assigned To | dmiguelez => AtulOpenbravo |
2014-11-06 09:36 | AtulOpenbravo | Status | new => scheduled |
2014-11-06 09:36 | AtulOpenbravo | fix_in_branch | => pi |
2014-11-06 19:16 | AtulOpenbravo | Note Added: 0071474 | |
2014-11-14 19:20 | AtulOpenbravo | Review Assigned To | => pramakrishnan |
2014-11-14 19:20 | AtulOpenbravo | fix_in_branch | pi => |
2014-11-14 19:23 | hgbot | Checkin | |
2014-11-14 19:23 | hgbot | Note Added: 0071660 | |
2014-11-14 19:23 | hgbot | Status | scheduled => resolved |
2014-11-14 19:23 | hgbot | Resolution | open => fixed |
2014-11-14 19:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9eba998e1eb9629d792fe407078ab2682c73eef3 [^] |
2014-11-17 08:32 | pramakrishnan | Note Added: 0071681 | |
2014-11-17 08:32 | pramakrishnan | Status | resolved => closed |
2014-12-30 23:24 | hudsonbot | Checkin | |
2014-12-30 23:24 | hudsonbot | Note Added: 0073059 | |
2015-08-14 13:35 | aferraz | Relationship added | causes 0030530 |
Notes |
|
|
Test Plan
- In a version previous to 3.0PR14Q3
1. create new business partner and not set any price list in its customer tab.
2. Create 2 invoices in same currency for the business partner
- Upgrade version to 3.0PR14Q3.2 and apply the fix for issue 28076.
3. Check that business partner currency has been initialized with invoice currency.
Note: In case the business partner has invoices with different currencies, currency for business partner is not initialized. |
|
|
(0071660)
|
hgbot
|
2014-11-14 19:23
|
|
Repository: erp/devel/pi
Changeset: 9eba998e1eb9629d792fe407078ab2682c73eef3
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Nov 14 14:52:54 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9eba998e1eb9629d792fe407078ab2682c73eef3 [^]
Fixes Issue 28076:InitializeBPCurrency modulescript needs to be improved
UpdateBpCurrency method update business partner currency from the invoice
if currency is null and there exists invoices in same currency. A preference
is created inorder to avoid repeatation.
---
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeBPCurrency.class
M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeBPCurrencyData.class
M src-util/modulescript/build/javasqlc/src/org/openbravo/modulescript/InitializeBPCurrencyData.java
M src-util/modulescript/src/org/openbravo/modulescript/InitializeBPCurrency.java
M src-util/modulescript/src/org/openbravo/modulescript/InitializeBPCurrency_data.xsql
---
|
|
|
|
Code Review + Testing - OK. |
|
|
|
|