Commit Graph
14503 Commits
Author SHA1 Message Date
Pranay Pandey 9b07370518 Improved: Product: Remove inline js for toggleAll, checkToggle and selectAll calling from ftls
(OFBIZ-7896)

Remove inline js for toggleAll, checkToggle and selectAll calling from ftls in Product component, instead added class="selectAll" on parent checkbox element for select all functionality.

Thanks: Amardeep Singh Jhajj for the contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761182 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:36:33 +00:00
Ashish Vijaywargiya 735fa52a5d Improved: Clean up commented out code in Java source for Product.
(OFBIZ-7856)
Thanks: Harsh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761181 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:34:57 +00:00
Pranay Pandey de4285f56b Improved: Order: Remove inline js for toggleAll, checkToggle and selectAll calling from ftls.
(OFBIZ-7896)

Remove inline js for toggleAll, checkToggle and selectAll calling from ftls in Order component instead, added class="selectAll" on parent checkbox element for select all functionality.

Thanks: Amardeep Singh Jhajj for the contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761180 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:32:21 +00:00
Jacques Le Roux e4e91e3ecc Fixes: RateAmount is not found when the level is 'WorkEffort'
(OFBIZ-8052)

When you create a RateAmount, you can determine for which WorkEffort it should apply. But when this RateAmount is retrieved for a specific WorkEffort, it fails to find the good RateAmount.

The problem comes from the check done to retrieve the RateAmount at a WorkEffort level. This is the used check : 
<entity-and entity-name="RateAmount" list="amounts" filter-by-date="true">
                <field-map field-name="rateTypeId" from-field="parameters.rateTypeId"/>
                <field-map field-name="partyId" from-field="parameters.partyId"/>
                <field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
                <field-map field-name="periodTypeId" from-field="parameters.periodTypeId"/>
                <field-map field-name="rateCurrencyUomId" from-field="parameters.rateCurrencyUomId"/>
            </entity-and>
            <if-empty field="amounts"> 

In this 'entity-and', the partyId is set as a constraint. But it is possible to enable a special RateAmount only for a WorkEffort without regarding the partyId.

This makes the retrieving more accurate by checking first the WorkEffort, then from the retrieved list, check if the partyId matches and finally from this second retrieval, check if the emplPositionTypeId match. 
The getRateAmount service searches for the applicable rate from most specific to most general in the RateAmount entity
           Defaults for periodTypeId is per hour and default currency is the currency in general.properties
           The order is:
               1. for specific rateTypeId, workEffortId (workEffort)
               2. for specific rateTypeId, partyId (party)
               3. for specific rateTypeId, emplPositionTypeId (emplPositionType)
               4. for specific rateTypeId (rateType)

               Then, the results are filtered to improve the result. If you pass a workEffortId and a partyId,
               the service will first search the list of all the rateAmount with the specified workEffortId. Then, if
               there is at least one rateAmount with same partyId than the one in the parameter in the list, the list will
               be reduced to those entries.
               At the end, the first record of the list is chosen.

               For a easier debugging time, there is a log triggered when no records are found for the input. This log
               shows up when there are rateAmounts corresponding to the input parameters without the rateCurrencyUomId and
               the periodTypeId.

jleroux: in only fixed few typos in the comment above which comes from the The getRateAmount service description


Thanks: Florian  Montalbano 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761179 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:31:05 +00:00
Divesh Dutta 0a6a9be9c6 Improved:Convert search criteria on status into multi-select pattern for content component.
(OFBIZ-7547)

Added Check for status fields on Find Content and Find Data resource forms. 

Thanks: Mohammad Kathawala for the patch and Swapnil Shah for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761178 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:30:00 +00:00
Jacopo Cappellato a21cddf70f Improved: removed unused fields from a series of Java classes.
(OFBIZ-7698)

Thanks: Deepak Nigam for the report and Pradhan Yash Sharma for the patches.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761176 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:11:59 +00:00
Arun Patidar 1b814bd613 Implemented: Added CRUD services for EmplPositionClassType, ConfigOptionProductOption and Component entity.
(OFBIZ-8049) (OFBIZ-8058)(OFBIZ-8059)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761175 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:10:15 +00:00
Pranay Pandey bcef65a5c5 Improved: Catalog: Align column titles in list forms.
(OFBIZ-8260)

Thanks: Aditi Patidar for the contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761174 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:08:36 +00:00
Pranay Pandey 35b07b5aad Fix for: Pagination error in Accounting FixedAssetForms.
(OFBIZ-8263)

Added paginate target to these forms for fixing the issue.

Thanks: Chandan Khandelwal for reporting and providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761170 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 09:54:33 +00:00
Arun Patidar b219815591 Implemented: Added CRUD services for Delivery, EmailTemplateSetting and EbayProductListingAttribute entity.
(OFBIZ-8050) (OFBIZ-8057)(OFBIZ-8058)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761169 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 09:48:00 +00:00
Jacopo Cappellato 3bbab79dea Improved: New Dutch labels for commonext component.
(OFBIZ-8232)

Thanks: Pierre Smits for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761168 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 09:42:01 +00:00
Gil Portenseigne 5ca14b9188 Improved: Improve Dutch labels for marketing component (OFBIZ-8051)
Thanks: Pierre Smits for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761158 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:29:20 +00:00
Pranay Pandey 8d43720935 Implemented: Multisite support in specialpurpose/cmssite
(OFBIZ-7120)

Second patch for providing demo data for multisite feature.

Thanks Mohammed Rehan Khan for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761156 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:15:20 +00:00
Gil Portenseigne 50285df96c Improved: Improve Dutch labels for product component (OFBIZ-8052)
Thanks: Pierre Smits for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761151 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:07:49 +00:00
Pranay Pandey cbc10832b2 Implemented: Multisite support in specialpurpose/cmssite
(OFBIZ-7120)

This is the first patch from the ticket and is for the implementation done to support the multisite feature in specialpurpose/cmssite component.

Thanks Mohammed Rehan Khan for the contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761150 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:03:19 +00:00
Gil Portenseigne 486aca72dd Improved: Improve Dutch labels for error handling in Accounting (OFBIZ-8054)
Thanks: Pierre Smits for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761146 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:57:28 +00:00
Arun Patidar 3539ea7ed9 Implemented: Added CRUD services for DeductionType, Deliverable and DeliverableType entity.
(OFBIZ-8047) (OFBIZ-8048)(OFBIZ-8049)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761140 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:44:56 +00:00
Arun Patidar d8562e4821 Implemented: Added CRUD services for Deduction, DataTemplateType and CustomMethodType entity.
(OFBIZ-8035) (OFBIZ-8045)(OFBIZ-8046)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761136 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:17:36 +00:00
Divesh Dutta 38c5ba5993 Improved: Convert search criteria on status into multi select pattern for Accounting Component
(OFBIZ-7546)

Added Check box for status fields on Find Invoice, Find Payments and Find Purchase Invoices forms.

Thanks: Mohammad Kathawala for the patch and Swapnil Shah for reporting the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761134 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:58:41 +00:00
Divesh Dutta e1d31962be Improved: Convert search criteria on status into multi select pattern for Order Component
(OFBIZ-7542)

Added Check box for status fields on Find Orders, Find Quotes, Find Requirements, and Find Return forms.

Thanks: Mohammad Kathawala for providing the patch and Swapnil Shah for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761133 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:54:42 +00:00
Arun Patidar 964fcfb87f Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
(OFBIZ-8132) (OFBIZ-8133)(OFBIZ-8134)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:51:07 +00:00
Pranay Pandey 47b5e12b82 Fix for: Pagination error in Accounting FinAccountForms.
(OFBIZ-8254)

Added paginate target to these forms for fixing the issue: ListFinAccountRoles, ListFinAccountAuths, ListDepositSlips, ListDepositSlipMember and ListFinAccountReconciliations.

Thanks: Chandan Khandelwal for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:48:00 +00:00
Divesh Dutta 26a345e1a9 Improved: Convert search criteria on status into multi select pattern for Manufacturing component
(OFBIZ-7544)

Added check box for status field on Find Production Run Form

Thanks: Mohammad Kathawala for providing the patch and Swapnil Shah for reporting the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761126 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:47:26 +00:00
Divesh Dutta 9bad0bd7d4 Improved: Convert search criteria on status into multi-select pattern for Facility component
OFBIZ-7545
Added check box for status fields on Find Inventory Items and Find Shipment pages. 
Thanks: Mohammad for providing the patch and Swapnil Shah for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761125 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:31:35 +00:00
Jacques Le Roux d5901a5a33 Improves: Clean up commented out code in Java source for Manufacturing
(OFBIZ-7848)

As per discussion provided patch to add the log statements in catch block to avoid silent exceptions.

jleroux: I had these pending for a moment because I also changed a "if (Debug.infoOn()) Debug.logInfo" to always print an error in case of catched exception

Thanks: Harsh Vijaywargiya



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761124 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:31:11 +00:00
Arun Patidar 7463cf3590 Implemented: Added CRUD services for GlAccountCategoryType entity.
(OFBIZ-8031)

Thanks: Aman Mishra for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761123 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:27:18 +00:00
Arun Patidar 24b0ced916 Implemented: Added CRUD services for FinAccountTransAttribute entity.
(OFBIZ-8030)

Thanks: Rahul Singh Kushwah for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761122 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:22:27 +00:00
Pranay Pandey 682a14a7ad Fix for: Profile of contact person not shown on quick add of contact in SFA.
(OFBIZ-7816)

Here 'createContact' service was not returning 'roleTypeId' and it is required to fetch the record from 'RoleTypeAndParty' entity.

Thanks: Aditi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761118 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 05:42:51 +00:00
Michael Brohl 1f6f4cc740 Improved: Common: Consistent form name.
(OFBIZ-8099)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761103 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:10:04 +00:00
Michael Brohl 36a04a6851 Improved: Workeffort: Consistent form name.
(OFBIZ-8090)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761102 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:06:42 +00:00
Michael Brohl 18f72f7d8f Improved: Product: Consistent form name.
(OFBIZ-8089)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761101 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:00:12 +00:00
Michael Brohl e22972c4c6 Improved: Party: Consistent form name.
(OFBIZ-8088)

Change all form names to upper camel case for consistency. I have slightly modified the patch to have camel case also for the LookupParty form in PartyForms.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761100 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:52:52 +00:00
Michael Brohl f0a109c0dd Improved: Order: Consistent form name.
(OFBIZ-8078)

Change all form names to upper camel case for consistency. I have slightly modified the patch to remove a typo (LookupOrderHeader instead of LSookupOrderHeader) in LookupScreens.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761095 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:31:05 +00:00
Michael Brohl 1b54f7f212 Improved: Marketing: Consistent form name.
(OFBIZ-8077)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761087 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:05:17 +00:00
Michael Brohl 42510ce611 Improved: Manufacturing: Consistent form name.
(OFBIZ-8068)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761086 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:58:32 +00:00
Michael Brohl 5c67a416aa Improved: Humanres: Consistent form name.
(OFBIZ-8067)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761080 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:42:50 +00:00
Michael Brohl 6c8a33ff2c Improved: Content: Consistent form name.
(OFBIZ-8046)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761079 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:37:43 +00:00
Michael Brohl 923b980f29 Improved: Accounting: Consistent form name.
(OFBIZ-8045)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761077 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:27:26 +00:00
Jacques Le Roux 960f227e80 Improves: Change the inlineHandlePriceWithTaxIncuded method name
(OFBIZ-8244)

This is a non functional change which also removes a bunch of trailing blanks (in patch). Including on empty lines which is a moot point but anyway the review is easy

Thanks: Wai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761075 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:02:58 +00:00
Jacques Le Roux dc7c438e9a Improves: Use try-with-resources statement wherever it's possible
(OFBIZ-8202)

These are a non functional changes for the accounting component
I forgot to commit the change in EntityListIterator.java, hence a lot of confusion, sorry guys

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761047 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 15:15:34 +00:00
Jacques Le Roux 082f6d48a3 Improves: Use try-with-resources statement wherever it's possible
(OFBIZ-8202)

Reverts r1761023 because it works locally on Windows but not locally on Linux see http://markmail.org/message/r5pxmyymsj74ywek

I have no ideas why this happens yet, still investigating

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761045 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 15:06:20 +00:00
Jacques Le Roux a2ab28b37e Improves: Use try-with-resources statement wherever it's possible
(OFBIZ-8202)

These are a non functional changes for the accounting component

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761023 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 11:53:27 +00:00
Jacques Le Roux 762095bc91 Fixes: The entity description labels are considered not used by the Label Manager
(OFBIZ-8154)

It's a pity, because of the translations, but the labels starting by "HumanResServices.", which dates from pre Apache era, are not used OOTB, so I remove them here
.portalPageName. is used by demo data
ProductStoreGroup.productStoreGroupName.NA is used as data by ProductTypeData.xml
FormFieldTitle_timesheetPartyId in ProjectMgrUiLabels.xml seems an error. As it duplicates the same in AccountingUiLabels.xml, which is accurate, I remove it from ProjectMgrUiLabels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760995 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 05:58:15 +00:00
Jacopo Cappellato 4a7d46bedb Improved: modified classes to use the FORWARDED_FROM_SERVLET constant
defined in the new ControlFilter class.

The old constant defined in ContextFilter will soon be removed together with the 
debug field, that is not currently used.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760949 13f79535-47bb-0310-9956-ffa450edef68
2016-09-15 15:35:05 +00:00
Jacques Le Roux d642114ff7 Fixes: reverts r1760566, unfortunately in this commit I did not see that not only the ToirtoiseSvn was removed but also other pending changes where ticked (I did not, thanks ToirtoiseSvn to make me show silly :/)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760567 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 16:07:50 +00:00
Jacques Le Roux 47761c3f62 Completes: (no functionnal change) remove the ToirtoiseSvn template to avoid confusion for other possible users of ToirtoiseSvn. I keep my local change, not a bid deal, to be revisited...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760566 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 16:02:31 +00:00
Jacques Le Roux f3a5cdac52 Fixes: postalAddressHtmlFormatter in PartyScreens.xml does not work properly.
OFBIZ-8242

When I added a postal address template into application [party] for Japan, it does not work properly.
I found the value of addressTemplatePath in the screen of postalAddressHtmlFormatter
is wrong in file PartyScreens.xml.

jleroux; this also adds Japanese Postal Address formating files PostalAddress_JPN.fo.ftl and PostalAddress_JPN.ftl

Thanks: fumiyoshi.to  for report and patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760535 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 12:53:19 +00:00
Arun Patidar dbcfc50acc Applied patch for "Added CRUD services for FacilityTypeAttr and FinAccountAttribute entities" from issues [OFBIZ-8019] [OFBIZ-8025]
Thanks Rahul Singh for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760435 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 18:54:23 +00:00
Arun Patidar d331656873 Applied patch for "Added CRUD services for BudgetScenarioApplication entity" from issue [OFBIZ-8005]
Thanks Amit Gadaley  and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760432 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 18:44:52 +00:00
Arun Patidar cb41f971b4 Applied patch for "Added CRUD services for BudgetTypeAttr entity" from issue [OFBIZ-8015]
Thanks Amit Gadaley  and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760431 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 18:41:32 +00:00