Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018716Openbravo ERP09. Financial managementpublic2011-10-06 10:562011-11-16 19:14
xabiermerino 
jecharri 
urgentmajoralways
closedfixed 
5
2.50MP33.1 
2.50MP36 
Core
No
0018716: The application use the currency of the Accounting schema's organization as foreign currency
You have two Accounting Schemas. With EUR and USD. You create a G/L Journal Batch with US organization (US Accounting Schema). When you create the Header, the fields 'Currency Rate Type' and 'Rate' are displayed because the currency of the Batch (USD) is different that the value of the variable $Currency. The value of this variable is selected randomly.
- As Admin go to GL Journal Batch
- Create a record with US inc
- Create a Header
- Realize that the fields 'Currency Rate Type' and 'Rate' appear.
1) Create the column c_currency_id in the ad_org
2) Change LoginUtils in order to get the currency of the organization with you log in.
3) If there is no currency defined in the org use the actual method
No tags attached.
blocks defect 00187153.0MP6 closed jecharri The application use the currency of the Accounting schema's organization as foreign currency 
Issue History
2011-10-06 10:56xabiermerinoTypedefect => backport
2011-10-06 10:56xabiermerinofix_in_branch => 2.50
2011-10-06 10:56xabiermerinoversion3.0MP3 => 2.50MP33.1
2011-10-06 10:56xabiermerinoTarget Version3.0MP6 => 2.50MP35
2011-10-06 16:53xabiermerinoPriorityhigh => urgent
2011-10-06 16:53xabiermerinoSeverityminor => major
2011-10-17 11:46jonalegriaesarteTarget Version2.50MP35 => 2.50MP36
2011-10-17 11:56xabiermerinoNote Added: 0041848
2011-10-17 11:56xabiermerinoNote Deleted: 0041848
2011-10-17 12:29xabiermerinoProposed Solution updated
2011-11-14 09:51jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-11-16 09:50hgbotCheckin
2011-11-16 09:50hgbotNote Added: 0042865
2011-11-16 09:50hgbotStatusscheduled => resolved
2011-11-16 09:50hgbotResolutionopen => fixed
2011-11-16 09:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/70cf0f2524a86cc5d2cc85b2c17b86b7a3bff69d [^]
2011-11-16 19:14xabiermerinoNote Added: 0042897
2011-11-16 19:14xabiermerinoStatusresolved => closed

Notes
(0042865)
hgbot   
2011-11-16 09:50   
Repository: erp/stable/2.50
Changeset: 70cf0f2524a86cc5d2cc85b2c17b86b7a3bff69d
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Nov 16 09:31:51 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/70cf0f2524a86cc5d2cc85b2c17b86b7a3bff69d [^]

Fixes issue 18716:
The application use the currency of the Accounting schema's organization as foreign currency

---
M src-db/database/model/tables/AD_ORG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/base/secureApp/Attribute_data.xsql
M src/org/openbravo/base/secureApp/LoginUtils.java
---
(0042897)
xabiermerino   
2011-11-16 19:14   
verified