Commit Graph
45 Commits
Author SHA1 Message Date
Nicolas Malin 4bcb3aab15 Fixed: Warning in console logs related to entity definitions
(OFBIZ-10540)
Improve the previous fix at r183834 where an error has been introduce with the entity WorkEffortContactMech who is different than OrderContactMech (no purpose but fromDate, thruDate) where at the beginning I thinking, wrongly, that they was the same pattern.
I completed the generic function *getEntityContactMechValueMaps* to analyze on the fly what element have the entityview. To complete, I added unit test for WorkEffortContactMech.

Thanks to Deepak Nigam for the control.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840296 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 13:11:01 +00:00
Nicolas Malin 31b32ff2e1 Fixed: Warning in console logs related to entity definitions
(OFBIZ-10540)
I introduced two waring on log with the commit OFBIZ-10514 (Refactoring ContactMechWorker.get[Entity]ContactMechValueMap)
Thanks to Deepak Nigam to raise and correct it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839965 13f79535-47bb-0310-9956-ffa450edef68
2018-09-03 14:18:30 +00:00
Nicolas Malin ea9844a6c4 Improved: Refactoring ContactMechWorker.get[Entity]ContactMechValueMaps function to improve processing speed
(OFBIZ-10514)
ContactMechWorker.get[Entity]ContactMechValueMaps are old historic functions that resolve all contact mech context related to an Entity (Party, Facility, Order, WorkEffort).
The problem that they create too many db call during their execution that decrease OFBiz performance when the contactMech history grow.

A solution use to improve the process speed was replace all db call through *GenericValue.getRelated* function by *Delegator.makeValidValue* to instanciate each GenericValue needed after an unique search call on a viewEntity. For the four entities : Party, Facility, Order and WorkEffort, I use the same view structure with a sub view entity on ContactMechDetail. This offer more genericity and permit to slim code.

This commit introduce a regression on genericValue resolved for ContactMechType and ContactMechPurposeType that currently lost their description, it's actually not awkward because theses genericValue use the function .get("description", locale) to resolve the description so call directly the label system.

For Order and WorkEffort, I merged the resolving process in one function, that can be extend later easily for some other entity like Invoice or Quote.
The new FtpAddress wasn't managed by this worker so I introduce it to keep the coherence.

Last improvement, I use 
   getPartyContactMechValueMaps(Delegator delegator, String partyId, Timestamp date, String contactMechTypeId) 
instead of
   getPartyContactMechValueMaps(Delegator delegator, String partyId, boolean showOld, String contactMechTypeId) 
to offert also more possibility to resolve at date instead just use now or all.

icing on the cake, I added groovy test to control this worker

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838349 13f79535-47bb-0310-9956-ffa450edef68
2018-08-18 21:23:31 +00:00
Nicolas Malin 8aaadfd41f Fixed: No functional change, indent correctly the xml file workeffort/entitydef/entitymodel_view.xml and set self-closing tag on empty element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837999 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 08:58:11 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Arun Patidar 3865ff485d [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Hans Bakker e1ce7ee8c7 move the WorkEffortAndTimeEntry from asset maint to workeffort because can be used in other specialized components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004527 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 05:36:03 +00:00
Scott Gray c2dd8319ba Fixed startup warnings regarding some view entity definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992688 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:43:50 +00:00
Scott Gray 446c2e0f83 Remove commented view definition because the same definition is present elsewhere in the file anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992687 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:43:23 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacopo Cappellato 77b0231262 New automated test for a complete quick execution of a production run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908984 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 14:16:32 +00:00
Andrew Zeneski 4e81216ff8 implemented new view entity for WorkEffort + WorkEffortGoodStandard + Product
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905785 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 20:39:04 +00:00
Andrew Zeneski b2cf1aac0c added WorkEffortAssocFromView (reverse of the existing WorkEffortAssocToView)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892936 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:17:06 +00:00
Andrew Zeneski 5e4445a9b9 added uomId to WorkEffortAndInventoryAssign view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892340 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 18:37:10 +00:00
Hans Bakker 3f591f80d6 calendar not showing public events as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799200 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 08:31:54 +00:00
Adrian Crum 224eeb67c7 Fixed Work Effort Find screen that didn't work. Cleaned up layout and labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794327 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 17:12:46 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Hans Bakker 80272dd65f missed file in last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729730 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 13:13:49 +00:00
Hans Bakker 7ec1fb6789 Rate refactoring, now can have a base rate with diffrent currencies which can be overridden on a party or workeffort level. see OFBIZ-2037 for more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728894 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 07:26:55 +00:00
Adrian Crum fc32f9e7d8 A rudimentary iCalendar integration implementation. Work efforts can be published in iCalendar format. The published calendar is read-only.
Run ant run-install, then navigate to:

https://localhost:8443/iCalendar/CALENDAR_PUB_DEMO/MyCalendar.ics

for a demonstration.

I will continue to build this out as I have time.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718684 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 18:56:11 +00:00
Adrian Crum 3b788f4b95 New feature - work effort event reminders. Only works with email for now.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708620 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 17:52:00 +00:00
Adrian Crum fbb85e937e WorkEffortServices.java getWorkEffortEventsByPeriod(...) method fixed to return assigned fixed assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703701 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 18:05:58 +00:00
Adrian Crum 3278802755 New Work Effort view entity and some field deprecations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703600 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 23:15:40 +00:00
Adrian Crum 9be5b83849 Fixed wrong package name in work effort view entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@696363 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 16:29:57 +00:00
Hans Bakker f52e106163 implemented a more generic view for projectAndPhase which can also be used for PhaseAndTask: WorkEffortAndChild
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@693691 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 03:38:03 +00:00
Hans Bakker 8f71d571b6 add the WorkEffortAndContentDataResource view to be able to list all content for a workeffort, updated the createWorkeffort service to automatically make a link to the customerrequest(if provided) and copy the content links from attached requestcommunicationevents to the workeffortcontent list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684391 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 01:13:14 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
David E. Jones ffc592614e Finally deprecating the old workflow engine which hasnt been used in years; moving it to the specialpurpose directory and have pulled out the order task list stuff in the order manager that used to use it and though that stuff still exists the controller entries and such are in comments in the screen def file; also moved shark to the specialpurpose directory as it is also rarely used and is not used in any OFBiz applications as it requires LGPL libraries, among other issues that leave it short of complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@665981 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 04:53:52 +00:00
Andrew Zeneski eb50da3302 added WorkEffortType relation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634095 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 00:50:30 +00:00
Hans Bakker 1742cb7990 added the task dependency screen, to define the order of execution, renamed some screens to better reflect their function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598947 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 10:41:03 +00:00
Hans Bakker 72e4be85ec moved project views from workeffort in the projmgr, change the time entry screens to enter only time on tasks, an in the option 'mytime' only on tasks in project of which the logged on user is member of.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597072 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 13:27:53 +00:00
Hans Bakker 16500e0571 add view to facilitate the party -> project -> phase -> task principle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597011 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 09:46:55 +00:00
Jacopo Cappellato 3459bf8d64 Added new view entity useful to selecte work effort contact mechs by type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579569 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 10:30:33 +00:00
Anil Patel 973902b6a8 added field to workeffortnote,similar to ordernote, so user can make a note Public or Private.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577115 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 23:57:21 +00:00
Anil Patel c566ae5f45 Added few fields to WorkEffortAssocView. This makes possible to display and edit contents of workEffortTo entity from a list of children workEfforts. Fixed AssetMaint-->Maintenance -->Tasks Task Breakdown List Edit form. Now it works much better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569803 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 11:03:20 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones e2a6ead3ff Applied patch from Anil Patel in Jira #OFBIZ-549 to implement WorkEffort keyword indexing and a manual keyword admin screen; this is a good start but still a couple of things to do on it
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488043 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:37:42 +00:00
David E. Jones d3f94c5aef Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
Jacopo Cappellato 89bae6a09c License change from MIT to ASL2.0 for many of the files of the workeffort component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87), that is partially applied with this commit.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422145 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 05:44:47 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00