Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018658Openbravo ERP03. Procurement managementpublic2011-09-30 12:472012-04-02 06:10
psanjuan 
dmiguelez 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
Google Chrome
Core
No
0018658: Requisition window shows the currency setup at Client level regardless the Organization being selected.
Requisition window shows the currency setup at Client level regardless the Organization being selected.
Navigate to Requisition window.
Create a new one and select F&B US Inc organization.
Realize that the system is showing EUR as currency, unless you select a BP and its corresponding price list (linked to a given currency).


F&B US Inc organization, has only one accounting schema in USD, nothing to do with EUR, therefore this behaviour is confusing.

System is showing EUR because that is the Base currency at client level.

On the other hand it is not mandatory to select a BP in a requisition, It could be we need something we do not know yet the supplier which will be used.
I think we should be able to select the currency we want to use at requisition header level regardless we do not inform about the supplier to be used; due to the fact that there is no currency by default at Organization level, just at Client Level.
VMA-Reviewed
has duplicate defect 0019512 closed vmromanos requisition can not use currecy from price list 
related to defect 0020058 closed dmiguelez NullPointerException in SL_Requisition_BPartner_PriceList callout 
Issue History
2011-09-30 12:47psanjuanNew Issue
2011-09-30 12:47psanjuanAssigned To => jonalegriaesarte
2011-09-30 12:47psanjuanWeb browser => Google Chrome
2011-09-30 12:47psanjuanModules => Core
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 16:28vmromanosTag Attached: VMA-Reviewed
2012-03-05 10:43dmiguelezStatusnew => scheduled
2012-03-05 10:43dmiguelezAssigned Tovmromanos => dmiguelez
2012-03-05 10:43dmiguelezfix_in_branch => pi
2012-03-07 18:04dmiguelezNote Added: 0046147
2012-03-07 18:05dmiguelezNote Added: 0046148
2012-03-13 13:53hgbotCheckin
2012-03-13 13:53hgbotNote Added: 0046336
2012-03-13 13:53hgbotStatusscheduled => resolved
2012-03-13 13:53hgbotResolutionopen => fixed
2012-03-13 13:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6161cc645a380fccff9ccb3610dee6e924b15e05 [^]
2012-03-13 13:54vmromanosNote Added: 0046337
2012-03-13 13:54vmromanosStatusresolved => closed
2012-03-14 13:48hgbotCheckin
2012-03-14 13:48hgbotNote Added: 0046401
2012-03-20 11:46vmromanosRelationship addedrelated to 0020058
2012-04-02 06:09hudsonbotCheckin
2012-04-02 06:09hudsonbotNote Added: 0047116
2012-04-02 06:10hudsonbotCheckin
2012-04-02 06:10hudsonbotNote Added: 0047134
2012-04-11 09:57vmromanosRelationship addedhas duplicate 0019512

Notes
(0046147)
dmiguelez   
2012-03-07 18:04   
Test plan:

Navigate to Requisition window.
Create a new one and select F&B US Inc organization.
Realize that the currency it's not shown if there is not Price List selected.

Create a Line and realize that it it works in the same way as the header.
(0046148)
dmiguelez   
2012-03-07 18:05   
There is an issue, in the grid the currency it's shown even if there is not Price List selected.

This issue is already reported:
https://issues.openbravo.com/view.php?id=4345 [^]
(0046336)
hgbot   
2012-03-13 13:53   
Repository: erp/devel/pi
Changeset: 6161cc645a380fccff9ccb3610dee6e924b15e05
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Mar 13 11:28:56 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6161cc645a380fccff9ccb3610dee6e924b15e05 [^]

Fixes issue 18658: Added a Callout and modified another one.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
A src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner_PriceList.java
---
(0046337)
vmromanos   
2012-03-13 13:54   
code review + testing OK
(0046401)
hgbot   
2012-03-14 13:48   
Repository: erp/devel/pi
Changeset: 143a435ed120ba4421a558c46a0cf02c36c92ffe
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Mar 14 13:47:41 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/143a435ed120ba4421a558c46a0cf02c36c92ffe [^]

Related to issue 18658: Renamed local variable.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner_PriceList.java
---
(0047116)
hudsonbot   
2012-04-02 06:09   
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/7814864461ac [^]

Maturity status: Test
(0047134)
hudsonbot   
2012-04-02 06:10   
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/7814864461ac [^]

Maturity status: Test