Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018715Openbravo ERP09. Financial managementpublic2011-10-06 10:562011-11-28 10:10
xabiermerino 
jecharri 
highminoralways
closedfixed 
5
3.0MP3 
3.0MP6 
Core
No
0018715: 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.
No tags attached.
depends on backport 00187162.50MP36 closed jecharri The application use the currency of the Accounting schema's organization as foreign currency 
Issue History
2011-10-06 10:56xabiermerinoNew Issue
2011-10-06 10:56xabiermerinoAssigned To => jonalegriaesarte
2011-10-06 10:56xabiermerinoModules => Core
2011-10-06 10:56xabiermerinoResolution time => 1324162800
2011-10-06 10:56xabiermerinoStatusnew => scheduled
2011-10-06 10:56xabiermerinofix_in_branch => pi
2011-10-06 11:07xabiermerinoIssue Monitored: networkb
2011-11-14 16:39jecharriAssigned Tojonalegriaesarte => jecharri
2011-11-17 16:18hgbotCheckin
2011-11-17 16:18hgbotNote Added: 0042942
2011-11-17 16:18hgbotStatusscheduled => resolved
2011-11-17 16:18hgbotResolutionopen => fixed
2011-11-17 16:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/030d870228e902ad01472f877c7b6e94a84a8fb6 [^]
2011-11-17 16:34hgbotCheckin
2011-11-17 16:34hgbotNote Added: 0042943
2011-11-17 16:43jecharriNote Added: 0042945
2011-11-22 03:50hudsonbotCheckin
2011-11-22 03:50hudsonbotNote Added: 0043045
2011-11-22 03:50hudsonbotCheckin
2011-11-22 03:50hudsonbotNote Added: 0043046
2011-11-28 10:10xabiermerinoNote Added: 0043395
2011-11-28 10:10xabiermerinoStatusresolved => closed

Notes
(0042942)
hgbot   
2011-11-17 16:18   
Repository: erp/devel/pi
Changeset: 030d870228e902ad01472f877c7b6e94a84a8fb6
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Nov 16 15:37:27 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/030d870228e902ad01472f877c7b6e94a84a8fb6 [^]

Fixes issue 18715: The application use the currency of the Accounnting 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
---
(0042943)
hgbot   
2011-11-17 16:34   
Repository: erp/devel/pi
Changeset: de156bd65d7a835b07959eb964db83b121d0d867
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Nov 17 16:33:07 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/de156bd65d7a835b07959eb964db83b121d0d867 [^]

issue 18715: The application use the currency of the Accounnting Schema's

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0042945)
jecharri   
2011-11-17 16:43   
Assign to one organization one currency and after that login in with this organization.
See that the currency now is the correct in GL Journal Batch and GL Journal Batch Line.

Change the currency and see that 2 hidden fields are dispayed now (rate and conversion type rate).

Try to login with any organization that is include behind it and see that the currency is the same.

Assing different currency to one organization that is below the previous org and lo in with that and see that the currency is the same that you have assigned.

Finally login with different org that is not included in the treenode and see that the currency is the client currency
(0043045)
hudsonbot   
2011-11-22 03:50   
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/ebd713dfe507 [^]

Maturity status: Test
(0043046)
hudsonbot   
2011-11-22 03:50   
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/ebd713dfe507 [^]

Maturity status: Test
(0043395)
xabiermerino   
2011-11-28 10:10   
verified