Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0008376 | Openbravo ERP | 08. Project and service management | public | 2009-04-01 12:21 | 2009-07-08 07:23 |
|
Reporter | arunkumar | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | main | |
Target Version | | Fixed in Version | pi | |
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 | 0008376: Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project |
Description | Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project page. |
Steps To Reproduce | # Login as userA
# Go to Project & Service Management->Transactions->Multiphase Project
# Click new
# Verify "Set Project type" button appears & disappears suddenly.
The button shouldn't disappear |
Proposed Solution | |
Additional Information | |
Tags | 250 final review, 250 QA |
Relationships | related to | defect | 0008228 | pi | closed | dbaz | Callouts fro client and organization fields are not executed when creating a new record |
|
Attached Files | SetprojectType.JPG (198,320) 2009-04-01 12:21 https://issues.openbravo.com/file_download.php?file_id=1097&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2009-04-01 12:21 | arunkumar | New Issue | |
2009-04-01 12:21 | arunkumar | Assigned To | => rafaroda |
2009-04-01 12:21 | arunkumar | File Added: SetprojectType.JPG | |
2009-04-01 12:21 | arunkumar | Regression testing | => No |
2009-04-01 12:23 | arunkumar | Tag Attached: 250 final review | |
2009-04-01 16:23 | psarobe | Proposed Solution updated | |
2009-04-01 17:01 | psarobe | Tag Attached: 250 QA | |
2009-04-01 17:01 | psarobe | Status | new => scheduled |
2009-04-01 17:01 | psarobe | fix_in_branch | => pi |
2009-04-01 22:57 | dbaz | Note Added: 0015121 | |
2009-04-02 15:22 | pjuvara | Priority | high => urgent |
2009-04-03 08:30 | rafaroda | Status | scheduled => closed |
2009-04-03 08:30 | rafaroda | Note Added: 0015142 | |
2009-04-03 08:30 | rafaroda | Resolution | open => no change required |
2009-04-03 08:57 | arunkumar | Note Added: 0015143 | |
2009-04-06 12:24 | psarobe | Status | closed => new |
2009-04-06 12:24 | psarobe | Resolution | no change required => open |
2009-04-06 13:43 | rafaroda | Note Added: 0015218 | |
2009-04-06 13:43 | rafaroda | Assigned To | rafaroda => alostale |
2009-04-06 13:43 | rafaroda | Status | new => scheduled |
2009-04-06 13:43 | rafaroda | fix_in_branch | pi => |
2009-04-06 15:25 | alostale | Relationship added | related to 0008228 |
2009-04-06 15:29 | alostale | Note Added: 0015221 | |
2009-04-06 15:31 | hgbot | Checkin | |
2009-04-06 15:31 | hgbot | Note Added: 0015222 | |
2009-04-06 15:31 | hgbot | Status | scheduled => resolved |
2009-04-06 15:31 | hgbot | Resolution | open => fixed |
2009-04-06 15:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8fe85e24c2ed08cc4291041bc99de70fba7ec8d8 [^] |
2009-04-07 12:24 | psarobe | Status | resolved => closed |
2009-04-10 18:16 | RenateNieuwkoop | Note Added: 0015319 | |
2009-04-15 12:00 | anonymous | sf_bug_id | 0 => 2764958 |
2009-07-03 13:12 | hgbot | Checkin | |
2009-07-03 13:12 | hgbot | Note Added: 0017836 | |
2009-07-03 13:12 | hgbot | Status | closed => resolved |
2009-07-03 13:12 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/8fe85e24c2ed08cc4291041bc99de70fba7ec8d8 [^] => http://code.openbravo.com/erp/devel/pi/rev/109be4b5cce3238978db21ed1b91fc8a96e97e00 [^] |
2009-07-08 07:23 | sureshbabu | Status | resolved => closed |
2009-07-08 07:23 | sureshbabu | Note Added: 0017991 | |
2009-07-08 07:23 | sureshbabu | Fixed in Version | 2.50MP1 => pi |
Notes |
|
(0015121)
|
dbaz
|
2009-04-01 22:57
|
|
It seems to be a problem with the displayLogic |
|
|
|
Hi Arun,
This is not a bug but the normal behaviour of Openbravo ERP.
One can only set once the type for the project. When this button is pressed, the value selected is filled in Project Type read-only drop-down list and phases and tasks of this project type are filled in current project ones. Besides, Set Project button is hidden with display logic (@C_ProjectType_ID@=null | @C_ProjectType_ID@='') not to allow setting several times a project type to a multiphase project.
Thank you for your feedback. |
|
|
|
Yes I agree with the behaviour of Openbravo ERP that One can only set the type for the project.
But in this case we are not at all able to view the button "Set project type". That is the issue. |
|
|
|
The trigger of ComboReloads on Client and Organization change seems to be causing this issue.
When creating a new record, Set Project Type button is displaying because Project Type read-only field allows blank value. But, ComboReloads changes Project Type value to only 2 possible values (blank value is not allowed anymore). This causes a value to be selected on Project Type field and Set Project Type button disappears.
Please notice that:
* If we put Project Type combo to non-read only this does not happen.
* Value blank is available if we put fields which are not affected by ComboReloads to read-only. |
|
|
|
The problem is:
-Issue 0008228 makes the Organization ComboReload be executed when a new record is created.
-This affects Project type combo.
-When a read-only combo is affected by a callout no blank entry is added (as it is done for not mandatory not read only fields). See utils.formElementValue js method.
Proposed solution:
-Add a blank item for read-only combos when they are affected by callouts. This will happen for all read-only combos because in js it is not possible to indentify whether they are mandatory. |
|
|
(0015222)
|
hgbot
|
2009-04-06 15:31
|
|
Repository: erp/devel/pi
Changeset: 8fe85e24c2ed08cc4291041bc99de70fba7ec8d8
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Apr 06 15:30:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8fe85e24c2ed08cc4291041bc99de70fba7ec8d8 [^]
fixed bug 0008376: Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project
---
M web/js/utils.js
---
|
|
|
(0015319)
|
RenateNieuwkoop
|
2009-04-10 18:16
|
|
Rok loaded the fix into Training and I've tested, but the problem is not fixed. |
|
|
(0017836)
|
hgbot
|
2009-07-03 13:12
|
|
Repository: erp/devel/pi
Changeset: 109be4b5cce3238978db21ed1b91fc8a96e97e00
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Apr 06 15:30:40 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/109be4b5cce3238978db21ed1b91fc8a96e97e00 [^]
fixed bug 0008376: Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project
---
M web/js/utils.js
---
|
|
|
|
Tested in PI, set project type button visible |
|