Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023074Openbravo ERP08. Project and service managementpublic2013-02-13 18:272013-05-23 01:33
ngarcia 
pramakrishnan 
highminoralways
closedfixed 
5
pi 
3.0MP24 
pramakrishnan
Core
No
0023074: In Expense Sheet the currency of the organization you are logged in with is used instead of the client currency
In Expense Sheet the currency of the organization you are logged in with is used instead of the client currency
As group admin role:
   Login with F&B España - Región Norte organization
   Check the following currency configuration:
      Client: USD
      F&B España S.A.: EUR
      F&B US, Inc.: USD
   Create a new product:
      Organization: *
      Product Type: Expense Type
   Check that there is not any conversion defined between USD and EUR for the actual date
   Configure John Smith employee as a Vendor and configure at least the following parameters:
      Purchase Pricelist
      PO Payment Method
      PO Payment Terms
      PO Financial Account
   Create a new product:
      Organization: *
      Product Type: Expense type
      Tax category: Exempt
   Add a price to it for the same price list defined before
   Create a new Expense sheet for that employee in F&B US, Inc., add a line with the created product and check that the following message appears
      There is no conversion rate defined from (USD-$) to (EUR-€) for date '13-02-2013', Client 'F&B International Group' and Organization 'F&B España - Región Norte'
Check the callouts of the Expense sheet - Lines tab
No tags attached.
Issue History
2013-02-13 18:27ngarciaNew Issue
2013-02-13 18:27ngarciaAssigned To => dmiguelez
2013-02-13 18:27ngarciaModules => Core
2013-02-13 18:27ngarciaTriggers an Emergency Pack => No
2013-02-14 08:59dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-06 18:55jonalegriaesarteTarget Version => 3.0MP24
2013-05-07 17:05dmiguelezAssigned Tojonalegriaesarte => dmiguelez
2013-05-08 07:46pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-05-08 07:46pramakrishnanStatusnew => scheduled
2013-05-08 07:46pramakrishnanfix_in_branch => pi
2013-05-08 07:49pramakrishnanNote Added: 0058495
2013-05-15 12:12hgbotCheckin
2013-05-15 12:12hgbotNote Added: 0058659
2013-05-15 12:12hgbotStatusscheduled => resolved
2013-05-15 12:12hgbotResolutionopen => fixed
2013-05-15 12:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c8a6eb02e1f8d11b536e3f6dfcc1d753bac5982c [^]
2013-05-15 12:42pramakrishnanReview Assigned To => pramakrishnan
2013-05-15 12:42pramakrishnanNote Added: 0058660
2013-05-15 12:42pramakrishnanStatusresolved => closed
2013-05-23 01:33hudsonbotCheckin
2013-05-23 01:33hudsonbotNote Added: 0058818

Notes
(0058495)
pramakrishnan   
2013-05-08 07:49   
Test Plan:
As group admin role:
   Login with F&B España - Región Norte organization
   Check the following currency configuration:
      Client: USD
      F&B España S.A.: EUR
      F&B US, Inc.: USD
   Create a new product:
      Organization: *
      Product Type: Expense Type
      Tax category: Exempt
   Add a price to it for the same price list defined before
   Check that there is no conversion rates defined between USD and EUR for the actual date
   Configure John Smith employee as a Vendor and configure at least the following parameters:
      Purchase Pricelist
      PO Payment Method
      PO Payment Terms
      PO Financial Account
   Create a new Expense sheet for that employee in F&B US, Inc., add a line with the created product and check that the conversion error does not appear and the values are filled correctly
(0058659)
hgbot   
2013-05-15 12:12   
Repository: erp/devel/pi
Changeset: c8a6eb02e1f8d11b536e3f6dfcc1d753bac5982c
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed May 15 12:12:14 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c8a6eb02e1f8d11b536e3f6dfcc1d753bac5982c [^]

Fixes Issue 23074: In ExpenseSheet wrong organization and currency is used

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
---
(0058660)
pramakrishnan   
2013-05-15 12:42   
Code Review + Testing - OK.
(0058818)
hudsonbot   
2013-05-23 01:33   
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/97c7f6256af7 [^]

Maturity status: Test