Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004485 | Openbravo ERP | 01. General setup | public | 2008-07-22 14:25 | 2011-02-04 09:16 |
Reporter | andrewballantine | ||||
Assigned To | rmorley | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.35MP4 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0004485: Setting country as default does not clear previous default | ||||
Description | When setting a country to be the default the system merely set the default with no further action, thus any other country that has the default flag set is also default. By definition you can only have one DEFAULT. The problem is compounded by the fact that the country definitions are shared by all clients of the system. As currently coded separate clients cannot have different default countries. This bug affects Import routines. | ||||
Steps To Reproduce | go to General Setup || Application || Country Region and City || Country Set a country to be default, set another country to be default. Go to grid view & click the header of the default column. You have two countries set as default. Change to a different client and repeat with different countries. You now have four countries set as default. | ||||
Proposed Solution | Initially the system has all countries defined under System (client_ID=0) and US set as default. When a client sets a country as default a NEW country record should be created, if one does not exist, using the current client_ID (e.g. not 0) and then set as the default country. Then set ALL other countries, for this client, isdefault = 'N' This way each client can have their own default country without affecting the data of other clients. However, in the current version, there is a restraint on the country code to be unique, so this would need to be changed to be unique per client. Alternatively enforce a single default country and make this a system administrator only function to emphasise that it affects all users. | ||||
Additional Information | |||||
Tags | ReleaseCandidate, ToBeReviewed | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-07-22 14:25 | andrewballantine | New Issue | |||
2008-07-22 14:25 | andrewballantine | Assigned To | => cromero | ||
2008-07-22 14:25 | andrewballantine | sf_bug_id | 0 => 2024607 | ||
2008-07-30 14:06 | andrewballantine | Note Added: 0008435 | |||
2008-07-30 18:09 | psarobe | Note Added: 0008442 | |||
2008-07-30 18:09 | psarobe | Type | defect => feature request | ||
2008-07-30 18:37 | andrewballantine | Note Added: 0008446 | |||
2008-07-30 18:44 | andrewballantine | Note Added: 0008447 | |||
2008-08-13 12:32 | andrewballantine | Note Added: 0008536 | |||
2008-11-10 13:10 | cromero | Assigned To | cromero => pjuvara | ||
2008-11-16 15:58 | pjuvara | Tag Attached: ToBeReviewed | |||
2008-11-16 15:59 | pjuvara | Tag Attached: ReleaseCandidate | |||
2008-11-16 15:59 | pjuvara | Status | new => acknowledged | ||
2011-02-04 09:16 | jpabloae | Assigned To | pjuvara => rmorley |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|