Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027266 | Openbravo ERP | 02. Master data management | public | 2014-08-01 21:44 | 2014-12-30 23:28 |
|
Reporter | jecharri | |
Assigned To | daniOpenbravo | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q1 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | pramakrishnan |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 30191 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027266: When you create a bank account for a Business partner United States country is selected |
Description | When you create a bank account for a Business partner United States country is selected |
Steps To Reproduce | -Go to window "Business partner"
-Select one and create a record in tab "Bank Account"
Verify that United States is selected but it does not exist any logic to this happen.
The only reason is that if you execute
select name from c_country ;
You will see that first result is United States, however if you delete this one you expect the following one to be selected but it is not the case.
|
Proposed Solution | It should not select any one or however it should select the user organization country |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-08-01 21:44 | jecharri | New Issue | |
2014-08-01 21:44 | jecharri | Assigned To | => dmiguelez |
2014-08-01 21:44 | jecharri | OBNetwork customer | => Yes |
2014-08-01 21:44 | jecharri | Modules | => Core |
2014-08-01 21:44 | jecharri | Support ticket | => 30191 |
2014-08-01 21:44 | jecharri | Resolution time | => 1413064800 |
2014-08-01 21:44 | jecharri | Triggers an Emergency Pack | => No |
2014-09-22 13:36 | vmromanos | Note Added: 0070237 | |
2014-09-22 13:36 | vmromanos | Assigned To | dmiguelez => AugustoMauch |
2014-09-22 16:36 | jonalegriaesarte | Target Version | 3.0PR14Q4 => 3.0PR15Q1 |
2014-09-23 08:23 | alostale | Note Added: 0070259 | |
2014-09-23 08:24 | alostale | Assigned To | AugustoMauch => vmromanos |
2014-09-23 08:24 | alostale | Note Added: 0070260 | |
2014-10-17 13:35 | vmromanos | Note Added: 0071030 | |
2014-10-20 15:16 | daniOpenbravo | Assigned To | vmromanos => daniOpenbravo |
2014-10-20 15:16 | daniOpenbravo | Status | new => scheduled |
2014-10-21 17:55 | daniOpenbravo | Note Added: 0071099 | |
2014-12-30 07:46 | AtulOpenbravo | Review Assigned To | => pramakrishnan |
2014-12-30 07:50 | hgbot | Checkin | |
2014-12-30 07:50 | hgbot | Note Added: 0072863 | |
2014-12-30 07:50 | hgbot | Status | scheduled => resolved |
2014-12-30 07:50 | hgbot | Resolution | open => fixed |
2014-12-30 07:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9ebdb868d92fd5bca4bcb18bdf41025e7a318e98 [^] |
2014-12-30 07:50 | hgbot | Checkin | |
2014-12-30 07:50 | hgbot | Note Added: 0072864 | |
2014-12-30 07:50 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/9ebdb868d92fd5bca4bcb18bdf41025e7a318e98 [^] => http://code.openbravo.com/erp/devel/pi/rev/0a1b54e001f0d37fc0804e0be9b5ae02101943ab [^] |
2014-12-30 08:32 | pramakrishnan | Note Added: 0072865 | |
2014-12-30 08:32 | pramakrishnan | Status | resolved => closed |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073274 | |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073275 | |
Notes |
|
|
Assigned to Plataform.
After a quick review, there isn't neither a default value assigned to this column nor a callout in this table that might change the value, so the issue seems to be related to the Platform side.
Please review it: in case it is sth generic, assign it back to us.
Regards,
VĂctor. |
|
|
|
From the Platform point of view, it is working as expected:
"United States" is marked as Default in Country window. This makes all C_Country_ID columns without any default value to be set to that default.
From functional point of view, current behavior can be changed in different ways:
-If any other country is desired to be the default one, unflag USA and select that one as default.
-If no default country is desired, don't select any default country.
-If current behavior is desired for all windows but for this one, change default in C_BP_BankAccount.C_Country_ID table. You can force it to be null by default by setting '' as value. |
|
|
|
Reassigned to Functional team, to decide whether a change is required and if so, which one of the proposed ones makes more sense. |
|
|
|
In this concrete case I think it makes sense to set by default the business partner's country defined at the Location/Address tab.
If there are no locations defined yet, take the default country as it's doing right now.
If there are several locations, take any of the countries. If any of these countries is the default one, select it. |
|
|
|
Test Plan:
1) Create a new Business Partner.
2) If we do not assign any Location/Address to it and try to create a new record in Bank Account tab, Country field will show United States (as this one is set as isDefault).
3) Create a new register in Location tab (assign country=Spain for example).
4) If we go to Bank Account tab and create a new record, Spain country will be shown as default.
5) Add a new Location in Location tab, taking United States country.
6) Go to Bank account and create a new record: as there are two locations, the system will take the one that is set as default: United States. |
|
|
(0072863)
|
hgbot
|
2014-12-30 07:50
|
|
Repository: erp/devel/pi
Changeset: 9ebdb868d92fd5bca4bcb18bdf41025e7a318e98
Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com>
Date: Tue Oct 21 17:47:46 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9ebdb868d92fd5bca4bcb18bdf41025e7a318e98 [^]
Fixes Issue 27266:United States is always selected in Country field
(Business Partner window, Bank account tab).
Default value shown on country field in Bank account tab (Business Partner
window) is always United States and it should not be in that way.
Now, default value will be the country defined in Location/address tab.
If there are no Locations defined, it will take the country which has isDefault
column set as 'Y'. Finally, if there are several Locations defined for that
Business Partner, the system will take any of them and if there is one record
whose country is set as Default, this one will be shown.
---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
(0072864)
|
hgbot
|
2014-12-30 07:50
|
|
|
|
|
|
|
|
|
|
|
|