[OGo-Developer] 05_historyProject?
Adam Tauno Williams
developer@opengroupware.org
Fri, 09 May 2008 09:37:49 -0400
>> On 09.05.2008, at 13:09, Adam Tauno Williams wrote:
>> > This occurs in both the new and set commands relating to projects.
>> > Otherwise the project types are only used to exclude various projects
>> > from the WebUI: @"00_invoiceProject", @"05_historyProject",
>> > @"10_edcProject",
>> > I assume this is just derelict gunk from a previous feature? Can it
>> > be removed?
>> Can be removed, I'm not aware of any frontend which makes use of that.
>> EDC is customer specific, I don't remember what history-project was.
> I think, if someone wants to use the Invoice App for testing/playing aroun=
d,
> It would be great, if you could create a patch, that could be placed into
> Misc/Invoice, to add the functionality for people that want it.
Both the DocumentAPI and the WebUI specifically exclude kinds of =20
projects like -
v =3D [[NSArray alloc] initWithObjects:
@"00_invoiceProject",
@"05_historyProject",
@"10_edcProject",
@"15_accountLog", nil];
- although I think the feature is inconsistently implemented.
By suggestion is we eliminate the hardcoded project kinds, especially =20
from Logic, and either filter out all the projects in the DocumentAPI =20
where the kind is not null (specific applications would use Logic =20
directly anyway?) or make the filtered projects a default.
This filtering happens in:
DocumentAPI/OGoProject/SkyProjectDataSource.m
DocumentAPI/OGoDatabaseProject/SkyProjectDocumentDataSource.m
WebUI/Project/LSWProject/SkyProjectAssignment.m
The capturing of the "History" description happens in both =20
Logic/LSProject/LSNewProjectCommand.m and =20
Logic/LSProject/LSSetProjectCommand.m: