Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011719 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | major | have not tried | 2009-12-10 10:27 | 2010-05-18 21:43 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a8e14b670548 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011719: "Read only logic" does not work for selectors like Products or Business Partners | |||||||
Description | Trying to set a "Read only logic" behavior for product fields or business partner fields does not work because these fields are edited with the special selectors. | |||||||
Steps To Reproduce | As system administrator, go to Application Dictionary || Tables and Columns In the header select the table C_INVOICE and find the column C_BPARTNER_ID. Here set the read only logic field to : @Processed@='Y' This way the business partner field is read when the invoice has been processed. As Openbravo Admin create a new invoice and complete it. Notice that the Business Partner field is still editable. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||
|
Notes | |
(0023085) dbaz (developer) 2009-12-24 18:49 |
I think this bug is already fixed with this pushed fix https://issues.openbravo.com/view.php?id=11701 [^] http://code.openbravo.com/erp/devel/pi/rev/f6fc1901e0b09c506365b5c0b9ea2ea8492ccb6a [^] Please confirm that. Thanks |
(0023241) dbaz (developer) 2010-01-06 16:41 |
adrianromero are you still able to reproduce it in a "recent" pi context? |
(0023458) adrianromero (manager) 2010-01-14 21:07 |
Tested on pi it still does not work, Read only logic field does not work with business partner fields |
(0023462) dbaz (developer) 2010-01-14 22:30 |
For example if we see the source code of "Sales Management || Transactions || Sales Order || Header " We see in the <head> the function "readOnlyLogic()" and inside it this: readOnlyLogicElement('C_BPartner_ID', (inputValue(document.frmMain.inpprocessed) == 'Y')); With this we are setting the C_BPartner_ID as readonly. The problem is that this C_BPartner_ID input is the hidden input. The visible input in this particular case is C_BPartner_ID_R If we manually change the source code and write C_BPartner_ID_R replacing the C_BPartner_ID we see that the readonly is properly done. So the solution should be, in the backend, establish that for the case that the field is a selector, point directly to the visible input instead of the hidden one. |
(0026819) hgbot (developer) 2010-04-30 15:11 |
Repository: erp/devel/pi Changeset: a8e14b6705483fce0e04fb15be1bdd26fdad8566 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Apr 30 15:11:00 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a8e14b6705483fce0e04fb15be1bdd26fdad8566 [^] fixed bug 11719: Read only logic does not work for selectors --- M src-wad/src/org/openbravo/wad/WadUtility.java M src-wad/src/org/openbravo/wad/controls/WADControl.java M src-wad/src/org/openbravo/wad/controls/WADList.java M src-wad/src/org/openbravo/wad/controls/WADSearch.java --- |
(0027465) hudsonbot (developer) 2010-05-18 21:43 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/a8e14b670548 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2009-12-10 10:27 | adrianromero | New Issue | |
2009-12-10 10:27 | adrianromero | Assigned To | => alostale |
2009-12-10 10:27 | adrianromero | Relationship added | related to 0011555 |
2009-12-15 10:20 | alostale | Relationship added | related to 0011701 |
2009-12-24 18:49 | dbaz | Note Added: 0023085 | |
2010-01-05 11:32 | iciordia | Assigned To | alostale => dbaz |
2010-01-05 11:32 | iciordia | Status | new => scheduled |
2010-01-05 11:32 | iciordia | fix_in_branch | => pi |
2010-01-06 16:41 | dbaz | Note Added: 0023241 | |
2010-01-06 16:41 | dbaz | Status | scheduled => feedback |
2010-01-14 21:07 | adrianromero | Status | feedback => scheduled |
2010-01-14 21:07 | adrianromero | Note Added: 0023458 | |
2010-01-14 22:30 | dbaz | Note Added: 0023462 | |
2010-01-14 22:33 | dbaz | Assigned To | dbaz => alostale |
2010-03-09 10:23 | rafaroda | Relationship added | related to 0011426 |
2010-03-09 10:25 | rafaroda | Issue Monitored: rafaroda | |
2010-04-12 10:13 | dbaz | Relationship added | blocks 0012912 |
2010-04-30 15:11 | hgbot | Checkin | |
2010-04-30 15:11 | hgbot | Note Added: 0026819 | |
2010-04-30 15:11 | hgbot | Status | scheduled => resolved |
2010-04-30 15:11 | hgbot | Resolution | open => fixed |
2010-04-30 15:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a8e14b6705483fce0e04fb15be1bdd26fdad8566 [^] |
2010-05-17 10:13 | adrianromero | fix_in_branch | pi => |
2010-05-17 10:13 | adrianromero | Description Updated | View Revisions |
2010-05-17 10:13 | adrianromero | Steps to Reproduce Updated | View Revisions |
2010-05-17 13:11 | dbaz | Status | resolved => closed |
2010-05-18 00:00 | anonymous | sf_bug_id | 0 => 3002946 |
2010-05-18 21:43 | hudsonbot | Checkin | |
2010-05-18 21:43 | hudsonbot | Note Added: 0027465 | |
2010-06-24 13:04 | psarobe | Relationship added | related to 0013762 |
2011-10-29 21:41 | psarobe | Relationship replaced | has duplicate 0012912 |
Copyright © 2000 - 2009 MantisBT Group |