Commit Graph
35 Commits
Author SHA1 Message Date
Pranay Pandey 7f2e0c003c [OFBIZ-7115] Fixed terminal errors on Timesheet overview page of projectmgr and scrum. Removed the check on workEffortId which was not making difference or directing any purpose and causing errors.
Thanks Vaibhav Jain for reporting the issue and providing initial patch, thanks Amardeep Singh Jhajj and Jacques for reviewing the patch and providing your comments, thanks Montalbano Florian for providing final patch including Scrum component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748218 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 13:17:21 +00:00
Deepak Dixit 4a98e38766 (OFBIZ-7243) Relocate .groovy files in the specialpurpose/scrums component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747795 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:58:55 +00:00
Deepak Dixit 366203d89f (OFBIZ-7228) Relocate .groovy files in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747770 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:39:22 +00:00
Julien Nicolas 27f0959b02 OFBIZ-7160 correct typo javascrip
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1746536 13f79535-47bb-0310-9956-ffa450edef68
2016-06-02 08:39:28 +00:00
Deepak Dixit 67fcbd9193 (OFBIZ-7021) Renamed specialpurpose scrum component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1744784 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 19:05:06 +00:00
Deepak Dixit 05c90901c3 (OFBIZ-6836) relocate .ftl files in the specialpurpose/scrum component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740582 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:46:03 +00:00
Jacques Le Roux d8e9befe1d Completes r1709882 for <<Remove tooltip="${uiLabelMap.CommonRequired}" from fields>> https://issues.apache.org/jira/browse/OFBIZ-6691
Removes nonsensical required-field="true" for <display* field types

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1710093 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 20:22:11 +00:00
Jacques Le Roux e45a7b3db2 Removes tooltip="${uiLabelMap.CommonRequired}" from fields, https://issues.apache.org/jira/browse/OFBIZ-6691
Instead of a quiet S/R action, this was an unexpected pain in the ass. A considerable number of forms:
    EmployeeForms.xml
    EmploymentForms.xml
    EmplPositionForms.xml
    GlobalHRSettingForms.xml
    RecruitmentForms.xml
    QuoteForms.xml
    PartyForms.xml
    StoreForms.xml
    ContactForms.xml
    FixedAssetForms.xml
    TaskForms.xml
    scrumForms.xml
    TaskForms.xml
contained a large number of fields with 
  tooltip="${uiLabelMap.CommonRequired}"
but no 
  required-field="true"


Of course display and display-entity should not be concerned, I spotted a number of them in the lot.

I also removed a bunch of harcoded * at end of labels (those followed by required-field="true"* and spotted a number of others }*"  who still need to be carefully reviewed to see if required=true is not missing there :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1709882 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 16:57:25 +00:00
Jacques Le Roux ca86127179 A slightly modified patch from Taher Alkhateeb for <<replace widget-style="required" with required-field="true">> https://issues.apache.org/jira/browse/OFBIZ-6690
jleroux: after a cursory review, I simply did the chunk related to exampleName by hand, it needed more work. I also removed some trailing blanks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1709872 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 16:00:02 +00:00
Nicolas Malin 8995c4fd02 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/specialpurpose@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Jacques Le Roux c983fe60e8 A patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
Removes the lines related to the ViewSprintItem lines after a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1685621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:48:18 +00:00
Jacques Le Roux e4d09db471 A modified patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
jleroux: rather than removing I rather commented out the lines related to the ViewSprintItem lines in case the original author decides to use it. I will remove in a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1684129 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:39:39 +00:00
Jacques Le Roux c5c006c1aa Comments out unused form in Scrum. Thanks to Pierre Smits report at "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1684128 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:31:28 +00:00
Jacques Le Roux 832e582052 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/specialpurpose@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Deepak Dixit bab89e9683 OFBIZ-5974: Fixed entity-one tag error for ListProdBacklogNote and ListTaskNote forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1679746 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 14:35:12 +00:00
Deepak Dixit f60c3038ec OFBIZ-5974: Reverting incomplete commit r#1679743
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1679744 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:52:43 +00:00
Deepak Dixit d9c757d38a OFBIZ-5974: Added missing value field for entity-one tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1679743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:50:16 +00:00
Jacques Le Roux 12386a7aed A patch from Pierre Smits for "Form TotalProdBacklog has typo in link" https://issues.apache.org/jira/browse/OFBIZ-5979
This bug was introduced in commit: http://svn.apache.org/viewvc?view=revision&revision=1142915

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1652739 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:38:17 +00:00
Adrian Crum 438267ff0f Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Jacques Le Roux 519b1faf4d 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/specialpurpose@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacques Le Roux fa44ffd18d 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/specialpurpose@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacques Le Roux 18bb9d7c44 Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Jacopo Cappellato 7ef64907bf Fix for wrong path name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:06:15 +00:00
Jacques Le Roux 3f093889b9 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/specialpurpose@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 223ce379eb Adrian suggested to removes all widget-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/specialpurpose@1340385 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:32:48 +00:00
Jacques Le Roux 127e509288 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/specialpurpose@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Adam Heath 2551d29ca1 DEPRECATION: specialpurpose/scrum: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338423 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:38 +00:00
Erwan de Ferrieres a1c864425c (typo) Bulk replace planed --> planned
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1294096 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 10:32:13 +00:00
Jacques Le Roux 2a7cdcf757 Closes "Request Content delete operation is not working" https://issues.apache.org/jira/browse/OFBIZ-4707
There were simply no checks on thruDate in screen actions, also true for Project Manager and Scrum components.
Also where we see that we clearly miss a kind of factorization in those screen actions (same block changed 5 times), no time for that tonight...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1291472 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 21:54:30 +00:00
Erwan de Ferrieres dd2ae932cc Adding missing ASL2 license header in scrum component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1230793 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:29:51 +00:00
Erwan de Ferrieres 7504307196 tabs to spaces, no functional changes - xml files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1230481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:51:58 +00:00
Hans Bakker c89baf2d08 fix for the preference screen in scrum as reported in https://issues.apache.org/jira/browse/OFBIZ-4586
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1206093 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 09:30:42 +00:00
Hans Bakker c94ed1285e move the public holiday definition from scrum to the HR component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1170129 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 11:57:22 +00:00
Hans Bakker 815c8916e1 Scrum component update:
Add a 'new backlogitem' button when i selected an existing backlog item
It should be possible to delete a backlog even when hours are attached
the button 'billed' on a backlogitem to set the flag to billed, does not work, get an error message
if for a backlogitem, billed is no, the time entries are not combined into a single item on the invoice.
the email confirmation: Scrum - Your Sprint is started, has the wrong domainname in the sprint url: 127.0.0.1
Convert the service name 'addWorkEffortTimeToInvoice' to 'scrumAddWorkEffortTimeToInvoice' to allow a special grouping
Remove the causes for the entity warnings in the log, there were entity changes inside scrum, we do not expect usingh it yet but we can supply conversion programs if needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1153071 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 09:00:06 +00:00
Hans Bakker e50c030b65 add support for the scrum framework donated by Antwebsystems Co.Ltd. more info at: http://www.antwebsystems.com/control/ViewBlogArticle?articleContentId=21140&blogContentId=AWS_BLOG
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1142915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 08:15:32 +00:00