Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006007Openbravo ERP04. Warehouse managementpublic2008-11-18 11:172009-04-21 10:53
plujan 
Dowid 
normalminorhave not tried
closedfixed 
20
pi 
2.50 
Core
No
0006007: [QA-alpha-r1] When creating a new Warehouse, Location default country is United States instead of Client country
I create a new warehouse for my Client. When entering the location, the default country is United States, but my client country is Spain.
Modularity
jpg InitialClientSetup.JPG (118,796) 2009-03-05 09:54
https://issues.openbravo.com/file_download.php?file_id=960&type=bug
jpg
Issue History
2008-11-18 11:17plujanNew Issue
2008-11-18 11:17plujanAssigned To => rafaroda
2008-11-18 11:17plujansf_bug_id0 => 2308529
2008-11-18 11:17plujanRegression testing => No
2008-11-24 11:30rafarodaStatusnew => scheduled
2008-11-24 11:30rafarodaAssigned Torafaroda => Dowid
2008-11-24 11:30rafarodafix_in_branch => trunk
2009-03-04 17:22DowidTag Attached: Modularity
2009-03-04 17:54DowidNote Added: 0014396
2009-03-04 17:54DowidStatusscheduled => feedback
2009-03-04 18:19plujanNote Added: 0014400
2009-03-04 18:19plujanStatusfeedback => new
2009-03-05 01:09DowidStatusnew => scheduled
2009-03-05 09:54DowidNote Added: 0014419
2009-03-05 09:54DowidFile Added: InitialClientSetup.JPG
2009-03-09 13:56hgbotCheckin
2009-03-09 13:56hgbotNote Added: 0014522
2009-03-09 13:56hgbotStatusscheduled => resolved
2009-03-09 13:56hgbotResolutionopen => fixed
2009-03-09 13:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4b59b4ce919bbe650f4394eb9ed9e077e4ad80c8 [^]
2009-04-21 10:53psarobeStatusresolved => closed

Notes
(0014396)
Dowid   
2009-03-04 17:54   
Hi Pablo,

This bug reproduced only in trunk, In 2.4 version this works well.
This problem exists in all windows with “Location selector”.

In trunk version when customer is created, the country dropdown is no more available.
That is why default country can not be defined for the client now.

Please explain what do you mean saying "default client country"?
I suggest using country from current Organization location as default country in "Location selector".
Do you agree?
(0014400)
plujan   
2009-03-04 18:19   
Hi Dowind,

When you create a new Client using the Initial Client Setup process you must select a country. That is country I meant. Your suggestion is also good, but please note that you may create some items (that need Locations, i.e. Warehouses) depending directly from the client (organization:=asterisk). I think the better solution is to use Organization's country when Org!=asterisk and Client's country if not.
(0014419)
Dowid   
2009-03-05 09:54   
In pi version when you create a new Client using the Initial Client Setup process you can't select a country, because country dropdown has been removed. Please see attached screenshot.
(0014522)
hgbot   
2009-03-09 13:56   
Repository: erp/devel/pi
Changeset: 4b59b4ce919bbe650f4394eb9ed9e077e4ad80c8
Author: David Abragimov <david.abragimov <at> opensuite.com>
Date: Mon Mar 09 14:52:32 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4b59b4ce919bbe650f4394eb9ed9e077e4ad80c8 [^]

Bug fixed 0006007: [QA-alpha-r1] When creating a new Warehouse, Location default country is United States instead of Client country

---
M src/org/openbravo/erpCommon/info/Location.java
M src/org/openbravo/erpCommon/info/Location_Search_data.xsql
---