Commit Graph
80 Commits
Author SHA1 Message Date
Jacques Le Roux a115d37998 Fixes a test issue introduced with r1802668
See https://ci.apache.org/builders/ofbiz-trunk-framework-plugins?numbuilds=30

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1803406 13f79535-47bb-0310-9956-ffa450edef68
2017-07-30 08:36:35 +00:00
Nicolas Malin c8fd7699e4 Fixed: remove uneeded makeValidContext call with Groovy DSL improvement on run service at revision 1802798
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802811 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 13:07:52 +00:00
Deepak Dixit acbf92baff Improved: Used ModelService.IN_PARAM instead of hard coded "IN" in groovy file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802753 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 06:13:11 +00:00
Deepak Dixit cd94155947 Fixed: Fixed typo done at r#1802668, Corrected service name from filteredRatesList to filterRateAmountList
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802752 13f79535-47bb-0310-9956-ffa450edef68
2017-07-24 06:01:41 +00:00
Nicolas Malin 0c9a81f118 Improved: With new groovy DSL for query one, simplify groovy rate amount services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802712 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 22:42:56 +00:00
Nicolas Malin d74177348b Fixed: For service getRateAmount align the level variable on 'rateTypeId' by default and correct name workEffort to workEffortId for more coherence with other.
This escape a potential failure on groovy instanciation if the service found a rateList without dedicate service, Thanks Scott for this remark

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802670 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 10:37:56 +00:00
Nicolas Malin 0e96e6daad Fixed: For service getRateAmount don't use parameters map to propage variable to ensure the isolation,
Thans Scott for this remark

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802668 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 10:26:15 +00:00
Nicolas Malin 8b96173d79 Fixed: For service getRateAmount move the periodTypeId default value from groovy to service definition,
Thans Scott for this remark

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802666 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 09:46:47 +00:00
Nicolas Malin 3cce62448a Fixed: Remove unnecessary UtilValidate.is(Not)Empty used in RateAmount groovy service,
Thans Scott for this remark

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802665 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 09:42:08 +00:00
Deepak Dixit 244d7505fa Fixed: Moved groovy file GetPartyNameForDate.groovy form WEB-INF/actions to groovyScripts folder added in r#1751109
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801362 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 09:56:44 +00:00
Arun Patidar 35b93c82a1 Added missing file those of part of 1801320, also updated the path in screens. (OFBIZ-6774)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801359 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 09:28:35 +00:00
Deepak Dixit dbf9efc127 Fixed: The copyAgreement service fails (OFBIZ-9143)
Thanks Jacques and Renuka for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801357 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 09:10:14 +00:00
Deepak Dixit 006bb6ac0e Improved: Code improvement, Used ModelService.IN_PARAM instead of hard coded string, Also update the string comparison.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801356 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 09:07:57 +00:00
Deepak Dixit a3f7437a09 Improved: Remove cancelAgreement service and added expireAgreement entity-auto service. (OFBIZ-9480)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801355 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 08:57:20 +00:00
Deepak Dixit d53f44e420 Fixed typo,
Thanks Renuka for reporting this issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801353 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 08:45:05 +00:00
Arun Patidar abbece0f9f Improved: Convert AgreementServices.xml mini-lang to groovyDSL. (OFBIZ-9460)
Thanks Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801342 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 23:45:10 +00:00
Nicolas Malin 987feeb2a8 Improved: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
finish the service conversion : getRateAmount, getRatesAmountsFromWorkEffortId, getRatesAmountsFromPartyId, getRatesAmountsFromEmplPositionTypeId and filterRateAmountList
I create a generic groovy function getRateAmoutForm to remove duplicate code and refactoring the filterRateAmount for simplicity

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800245 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 07:46:02 +00:00
Nicolas Malin a1b7e5a23d Improved: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
With service rate minilang conversion to groovy, I renamed deleteRateAmount and deletePartyRate to expireRateAmount and expirePartyRate for more coherence between the service process and the name. The previous service naming have been kept to set them as deprecated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799252 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 18:27:14 +00:00
Gil Portenseigne f2fac1a18f Fixed: Convert AcctgAdminServices.xml mini-lang to groovyDSL (OFBIZ-9372)
Related to task OFBIZ-9350 Deprecate Mini Lang, convert services createPartyAcctgPreference, getPartyAccountingPreferences, setAcctgCompany, updateFXConversion and getFXConversion from mini-lang to groovyDSL
Commited slightly modified patch from Leila, implementing Jacques and Deepak recommendations.

Thanks to Jacques and Deepak for the review, Leila for the provided patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1796731 13f79535-47bb-0310-9956-ffa450edef68
2017-05-30 07:14:27 +00:00
Nicolas Malin 0185345b7a Fixed: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
related to task OFBIZ-9350 Deprecate Mini Lang, convert service updateRateAmount, deleteRateAmount updatePartyRate and deletePartyRate from mini-ang to groovyDSL
Thanks to Deepak for the review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1796428 13f79535-47bb-0310-9956-ffa450edef68
2017-05-27 16:23:31 +00:00
Deepak Dixit d5bcaaedf8 Improved: Inconsistent String Comparisons, Applied application groovy patch from jira issue. (OFBIZ-9254)
I found an inconsistency in the code for string comparison statusId.equals("PRUN_COMPLETED") whereas it should be written as "PRUN_COMPLETED".equals(statusId) cause the former can throw NullPointerException if the variable found to be NULL.

Thanks Devanshu Vyas for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1795341 13f79535-47bb-0310-9956-ffa450edef68
2017-05-16 17:16:05 +00:00
Jacques Le Roux 1ac56553bd Fixed: report GL Account Trial Balance
(OFBIZ-9216)


Go to Accouting --> Organization GL Settings -->Accounting button – >> 
reports --> GL Account Trial Balance
this report the give me an error 

Thanks: Moatasim Al Masri for report, Pierre Smits for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1783202 13f79535-47bb-0310-9956-ffa450edef68
2017-02-16 13:32:00 +00:00
Arun Patidar 2bfc816e9b Improved: Removed semicolon from all Groovy files of all components.
(OFBIZ-8652)

Thanks: Rohit Koushal, Jacques Le Roux and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767764 13f79535-47bb-0310-9956-ffa450edef68
2016-11-02 19:09:13 +00:00
Mridul Pathak 9b2643d9be Improved: Removed unused imports from groovy files in accounting component.
(OFBIZ-8484)

Thanks: Suraj Khurana for contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765057 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 13:11:46 +00:00
Ashish Vijaywargiya 7402cda35d Applied patch from jira issue - OFBIZ-8069 - Clean up commented out code in Groovy for Accounting. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759145 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:33:32 +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 9596b03661 Applied patch from jira issue - OFBIZ-7515 - Balance Sheet PDF export fails. Thanks Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750940 13f79535-47bb-0310-9956-ffa450edef68
2016-07-01 14:06:51 +00:00
Arun Patidar 5e34274b47 Applied patch from jira issue - OFBIZ-7514 - Income Statement PDF export fails. Thanks Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750925 13f79535-47bb-0310-9956-ffa450edef68
2016-07-01 13:28:42 +00:00
Deepak Dixit 633d933e91 (OFBIZ-7219) Relocate .groovy files in the accounting ap and ar webapp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747849 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 05:54:25 +00:00
Deepak Dixit 87601f6aca (OFBIZ-7219) Relocate .groovy files in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 16:54:38 +00:00