Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030993 | Openbravo ERP | A. Platform | public | 2015-09-30 17:26 | 2015-11-23 21:16 |
|
Reporter | egoitz | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR16Q1 | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | caristu |
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 | 0030993: It is not possible to define a preference as default value when column has a default defined in ad_column |
Description | Right now it is possible to default value by using a preference defined with attribute using the column name, and the default value you want on the value field.
That works properly whenever the column for that field has not a default value in AD, but it case it has preference is not taken into account. |
Steps To Reproduce | -Define a Preference with.
* attribute='M_PRODUCT_CATEGORY_ID' (Note M_Product.M_Product_Category_ID has a default value in Table > Column)
* value=ID_OF_ONE_EXISTING_CATEGORY (different that the first one on the dropdown)
-Select the visible at fields to apply to your client and the product window
-Logout and login
-Access to product window
-The product category fields has not got selected as default the category you defined. The default value is the first element of the dropdown.
|
Proposed Solution | Default values defined by preferences should prevail over the ones defined at column level. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030948 | 3.0PR16Q1 | closed | alostale | auxiliary input used to default a FK doesn't display FK's value identifier | depends on | defect | 0031038 | | closed | alostale | API change: default value defined as preference will prevail over default defined in column | related to | defect | 0027584 | | closed | inigosanchez | Wrong value is taken from context when session variable and context field name are the same |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-30 17:26 | egoitz | New Issue | |
2015-09-30 17:26 | egoitz | Assigned To | => platform |
2015-09-30 17:26 | egoitz | Modules | => Core |
2015-09-30 17:26 | egoitz | Resolution time | => 1446678000 |
2015-09-30 17:26 | egoitz | Triggers an Emergency Pack | => No |
2015-10-05 09:40 | alostale | Summary | It is not possible to define a preference as default value for a column with reference tabledir => It is not possible to define a preference as default value when column has a default defined in ad_column |
2015-10-05 09:40 | alostale | Description Updated | bug_revision_view_page.php?rev_id=9593#r9593 |
2015-10-05 09:40 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9595#r9595 |
2015-10-05 09:40 | alostale | Proposed Solution updated | |
2015-10-05 09:51 | alostale | Relationship added | depends on 0031038 |
2015-10-05 09:54 | alostale | Assigned To | platform => alostale |
2015-10-05 09:54 | alostale | Review Assigned To | => caristu |
2015-10-05 09:55 | alostale | Relationship added | related to 0030948 |
2015-10-05 09:58 | hgbot | Checkin | |
2015-10-05 09:58 | hgbot | Note Added: 0080809 | |
2015-10-05 09:58 | hgbot | Status | new => resolved |
2015-10-05 09:58 | hgbot | Resolution | open => fixed |
2015-10-05 09:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/241c38dab7cedb1e44d3d130d73315dcb7caf479 [^] |
2015-10-23 11:05 | caristu | Fixed in Version | => 3.0PR16Q1 |
2015-10-23 11:05 | caristu | Target Version | => 3.0PR16Q1 |
2015-10-23 11:31 | caristu | Note Added: 0081253 | |
2015-10-23 11:31 | caristu | Status | resolved => closed |
2015-11-06 11:47 | alostale | Relationship added | related to 0027584 |
2015-11-23 21:16 | hudsonbot | Checkin | |
2015-11-23 21:16 | hudsonbot | Note Added: 0082107 | |