Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008376
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2009-04-01 12:212009-07-08 07:23
ReporterarunkumarView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision109be4b5cce3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008376: Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project

DescriptionSet 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
Tags250 final review, 250 QA
Attached Filesjpg file icon SetprojectType.JPG [^] (198,320 bytes) 2009-04-01 12:21

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0008228pi closeddbaz Callouts fro client and organization fields are not executed when creating a new record 

-  Notes
(0015121)
dbaz (developer)
2009-04-01 22:57

It seems to be a problem with the displayLogic
(0015142)
rafaroda (developer)
2009-04-03 08:30

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.
(0015143)
arunkumar (reporter)
2009-04-03 08:57

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.
(0015218)
rafaroda (developer)
2009-04-06 13:43

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.
(0015221)
alostale (manager)
2009-04-06 15:29

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 (developer)
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 (reporter)
2009-04-10 18:16

Rok loaded the fix into Training and I've tested, but the problem is not fixed.
(0017836)
hgbot (developer)
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
---
(0017991)
sureshbabu (reporter)
2009-07-08 07:23

Tested in PI, set project type button visible

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker