Commit Graph
236 Commits
Author SHA1 Message Date
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Christian Carlow b497eb007b <entity-constraint name="parentTypeId" operator="equals" value="DEGREE"/> was removed from qualification field dropdown entity-options at applications/humanres/widget/forms/RecruitmentForms.xml#EditJobRequisition to allow other types such as EXPERIENCE to be assigned as a job requisition qualification type.
https://issues.apache.org/jira/browse/OFBIZ-6393?filter=-2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680300 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 14:20:19 +00:00
Christian Carlow 0fa16d6e3c JIRA OFBIZ-6387.patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680155 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 03:15:43 +00:00
Jacques Le Roux 4ebf9fda0e A patch from Deepak for "Incorrect use of if-has-permission tag" https://issues.apache.org/jira/browse/OFBIZ-5920
Deepak: here is the patch for this issue, found some more places where if-has-permission tag used in different way, will create a new ticket to fix the if-has-permission tags and will used the consistent pattern.

jleroux: I wonder if this commit does not fix some other already reported issues, anyway it's good!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647266 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:13:12 +00:00
Nicolas Malin 06e92d7fca Converted humanres CRUD service to entity-auto for entity PartyQual, PartyResume, PartySkill, PerfReview, PerfReviewItem, PerformanceNote, Employment, EmploymentApp, PartyBenefit, PayGrade, PayHistory, PayrollPreference, SalaryStep, TerminationReason, UnemploymentClaim, EmplPosition, EmplPositionFulfillment, EmplPositionReportingStruct, EmplPositionResponsibility, ValidResponsibility, SkillType, ResponsibilityType, TerminationType, EmplPositionType, EmplPositionTypeRate, AgreementEmploymentAppl, EmplLeave only on update, EmplLeaveType, JobRequisition, EmploymentApp, JobInterview, JobInterviewType, PersonTraining, TrainingClassType, EmplLeaveReasonType. Issue associate OFBIZ-5760
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643314 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 14:59:47 +00:00
Adrian Crum e5a06480cd Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Anil Patel 5db723cad4 [OFBIZ-5511] Thanks for reporting the issue Christian Carlow and Deepak Dixit for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626450 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 14:58:55 +00:00
Jacques Le Roux 3ec515d897 A patch from Pierre Smits for "ListEmplPositionFulfillments links to wrong profile of employee" at https://issues.apache.org/jira/browse/OFBIZ-5708
Instead it should link to EmployeeProfile of the employee.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1617229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 09:10:42 +00:00
Jacques Le Roux 4d9e447e11 Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacques Le Roux d16055c9cc With https://issues.apache.org/jira/browse/OFBIZ-64 the default option for text-find fields was like (aka begins with, don't ask why)
Then with https://issues.apache.org/jira/browse/OFBIZ-3128 contains became the default
But this was working only when defining a text-field. When auto-fields-entity (and I guess auto-fields-service, not tested) was used then like/begins-with was still the default.

This commit changes that and makes things consistent: contains is now always used and set as default everywhere (no longer need to specify the text-field when using auto-fields-* to have contains as default)

Note: I'm not quite sure why like/begins-with was still used as default, since it was no longer the default in widget-form.xsd, but anyway making contains default there works. Also in ModelFormField.java to have things consistent

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576276 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:49:31 +00:00
Jacques Le Roux 47f759a7cf A patch from Rong Nguyen for "[HRM] Can not show JOB INTERVIEWEE and JOB INTERVIEWER " https://issues.apache.org/jira/browse/OFBIZ-5562
Scenario:
1. Goto HRM webapp
2. Goto Recruitment
3. Goto Internal Job Posting
4. Goto Job Interview
5. Find(at least one record)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576259 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:17:53 +00:00
Jacques Le Roux 8dd57be3c5 A patch from Christian Carlow for "ListReportedToEmplPositionReportingStructs displays no results" https://issues.apache.org/jira/browse/OFBIZ-5512
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1561311 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 13:49:33 +00:00
Jacques Le Roux 43119ab3dc A Christian Carlow's patch for "EditEmplPositionReportingStructs LookupEmplPosition associated popup and dropdown empty" https://issues.apache.org/jira/browse/OFBIZ-5510
LookupEmplPosition drop-down and popup window show no results on the EditEmplPositionReportingStructs page for the field.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1561305 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 13:35:32 +00:00
Jacques Le Roux a7ac914c02 A Christian Carlow's patch for "ListPartySkills displays no results" https://issues.apache.org/jira/browse/OFBIZ-5513
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1561290 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 12:25:04 +00:00
Jacques Le Roux c8df0c3e06 A (slightly enhanced) patch from Christian Carlow for "EditEmplPosition form widget missing Internal Org drop down and title incorrect" https://issues.apache.org/jira/browse/OFBIZ-5509
EditEmplPosition shows a partyId field as a text box instead of a <select> drop down that lists the internal orgs.  The field title should also be set to Internal Org instead of PartyId for consistency.

jleroux: while at it I added a tooltip


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1561286 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 11:58:09 +00:00
Jacques Le Roux 747a4a3154 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacques Le Roux b591e84b2a A slightly modified patch from Gil Portenseigne for "Missing PartyCountryCode uiLabel" https://issues.apache.org/jira/browse/OFBIZ-5138
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.

jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447664 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 10:55:10 +00:00
Jacques Le Roux 5192aeea13 A patch from Tom Burns "Error is comming in HR's recruitment Tab " https://issues.apache.org/jira/browse/OFBIZ-5056
I am getting an error(null Pointer Exception) in HR module when i am testing some functionallities.
I followed some steps in my testing.
Step 1:-Cleck on Recruitment tab and also click on "New job Requisition".Fill the data and create the record.
Steps 2:-click on sub tap "Internal Job Posting" and then click on "New internal Job Posting" Button on find Internal job posting page. Create the record from require data
Step3:-Again click "Internal Job Posting" sub tab. and find the created Internal Job Posting record.
You find operastion give the Error Massage
:ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#FindScreenDecorator: java.lang.NullPointerException (null)
You also check Job Interview and Approve sub tab
I have sent this mail to jacopo Le but Issue is not resolve till date
Please solve this issuse. I Am waiting for ur responce APAS
Thanks
Dhiraj Gupta



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400393 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:59:40 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 3e7b774156 Adrian suggested to removes all default-tooltip-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:37:35 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Adam Heath ed5c90c45e DEPRECATION: applications/humanres: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338407 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:43 +00:00
Erwan de Ferrieres 19e0cc2cdc Missing uilabel PageTitleFindTrainingCalendar, and same uilabel defined 2 times for the same screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235947 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:05:22 +00:00
Erwan de Ferrieres 9af1f47aee OFBIZ-2401 - Create a Portlet for training
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234931 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 18:28:17 +00:00
Erwan de Ferrieres ce0ae8feae display-entity for leaveStatus when displaying an employee's leaves
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234355 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 16:01:48 +00:00
Erwan de Ferrieres 3f4b094b62 Missing uilabel for a submit button, display-entity for fields and a display for a field in AssignTraining and ListTrainingParticipants forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234124 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 20:47:01 +00:00
Erwan de Ferrieres 69f8c4643f Adding a new screen in the employee profile, listing all the trainings related to him
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234046 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 18:07:44 +00:00
Erwan de Ferrieres 4d4873d45c display-entity for fields approvalStatus and trainingClassTypeId in training forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234033 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:55:08 +00:00
Erwan de Ferrieres 9fb25ce2ac Entitylabels for EmplLeaveReasonType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 17:57:31 +00:00
Erwan de Ferrieres d0e308b918 Reformating, just tabulations not right
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232379 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 10:22:23 +00:00
Erwan de Ferrieres f968df3a27 Creating entityLabels in humanres component, and adding some for EmplLeaveType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232373 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 09:55:47 +00:00
Erwan de Ferrieres 9b03a5022b Improvements on the EmplLeave entity. Adding entityLabels for the leaveStatus field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232158 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 20:51:18 +00:00
Erwan de Ferrieres 5d353811ef OFBIZ-2400 - Create a Portlet for leave - A patch from Vikas Mayur
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232003 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:18:21 +00:00
Hans Bakker d3697aee42 show payrol history on the HRM employee profile screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190181 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 07:19:53 +00:00
Hans Bakker fa99376e69 only show employ positions in the HR tree which are active: status and from/thru dates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189692 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:46:18 +00:00
Hans Bakker 12575d54fe be able to move a position to another department/organization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1179073 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 07:28:25 +00:00
Hans Bakker 98b44216d8 use different symbols in the HR organization tree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178718 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:19:49 +00:00
Hans Bakker 68cccecf08 remove duplicated screens, now the tree is pointing to the existing screens to add leaves
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1176710 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 04:05:25 +00:00
Hans Bakker 6ff0e4f1f8 move the public holiday definition from scrum to the HR component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170129 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 11:57:22 +00:00
Hans Bakker c4d270c294 be able to change the HR tree with the right mouse button adding orginazations, positions and employees, contribution of kookai
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1167042 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:37:21 +00:00
Hans Bakker 19d8452c34 replace the HR company tree with a jquery version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159056 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 06:39:04 +00:00
Marco Risaliti 5a2e780587 accounting has dependency on projectmgr (OFBIZ-3564)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128623 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 12:24:25 +00:00
Marco Risaliti d0f6fd0f99 WebPosUiLabels references in applications (OFBIZ-3569)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128468 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:31:11 +00:00
Marco Risaliti 3778626ea6 WebPosUiLabels references in applications (OFBIZ-3569)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128464 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:26:48 +00:00
Erwan de Ferrieres 9dbf41adea PartyQual should be using statusItems with a statusType=HR_DEGREE_STATUS instead of PARTY_INV_STATUS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073715 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:06:41 +00:00
Hans Bakker 6c2167ab00 improve some more perfreview forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059778 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 07:50:23 +00:00
Hans Bakker 4805f78664 improve the perfreview list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059761 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 06:39:34 +00:00
Hans Bakker e478604103 more enhancements to performance review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059755 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 05:41:54 +00:00