Commit Graph
120 Commits
Author SHA1 Message Date
Wiebke Pätzold 785be8abe4 Fixed: Financial account transaction (OFBIZ-10308)
Fixes the direction of some accounting transactions.

Thanks Ingo Wolfmayr for the patch
2021-02-15 19:47:21 +01:00
Jacques Le Roux 4ff22b46dc Improved: Convert getInvoicePaymentInfoListByDueDateOffset service from mini-lang to groovy DSL (OFBIZ-11486)
Thanks: Devanshu Vyas for report, Nitish Mishra for the patch
2020-08-09 20:14:10 +02:00
Jacques Le Roux cc61673198 Improved: Convert cancelCheckRunPayments service from mini-lang to groovy DSL (OFBIZ-11494)
Thanks: Devanshu Vyas for report, Yogesh Naroliya for the patch
2020-08-09 20:07:51 +02:00
Jacques Le Roux 2b04118690 Revert "Improved: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)"
This reverts commit faa59b325f.

It introduced 3 errors in testIntegration, in:
testGlPostingOnCancelCheckRun
testGlPostingsOnVoidPayment
testVoidPayment
2020-07-25 16:06:34 +02:00
Jacques Le Roux faa59b325f Improved: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)
Thanks: Sourabh Punyani
2020-07-25 10:33:17 +02:00
Jacques Le Roux 7c4a117448 Improved: Convert getPaymentGroupReconciliationId service from mini-lang to groovy DSL (OFBIZ-11496)
Thanks: Devanshu Vyas for report and Rohit Koushal for the patch

Improved: Convert createPaymentAndApplication service from mini-lang to groovy DSL (OFBIZ-11484)
Thanks: Devanshu Vyas for report and Anushi Gupta for the patch

Sorry due to a bad handling there are 2 commits in one (squashed)
2020-07-09 14:18:05 +02:00
Akash Jain f3997f1feb Improved: Convert AutoPaymentTests.xml to Groovy (OFBIZ-11535)
Thanks, Rohit Hukkeri for report and Pawan Verma for review.
2020-07-04 17:23:34 +05:30
Priya Sharma 18b21c1e94 [Improved] Convert getInvoicePaymentInfoList service from mini-lang to groovy DSL (#148)
(OFBIZ-11485)

Done following:
- removed the mini-lang implementation of the service
- updated the service definition to point the groovy service
- added the groovy implementation of the service
2020-07-04 14:57:53 +05:30
Akash Jain f764266d17 Improved: Convert AutoInvoiceTests.xml to Groovy (OFBIZ-11531)
Thanks, Rohit Hukkeri for the report.
2020-07-02 12:20:18 +05:30
Pawan Verma 6de4b73074 Improved: Convert getPayments service from mini-lang to groovy DSL(OFBIZ-11495)
Thanks: Devanshu for the report and Yogesh for the patch.
2020-07-01 16:13:33 +05:30
Pawan Verma 20ba868b7d Improved: Convert cancelPaymentBatch service from mini-lang to groovy DSL(OFBIZ-11489)
Thanks: Devanshu for report, Kirti for patch and Jacques for the review.
2020-07-01 15:48:49 +05:30
Jacques Le Roux 5880859c7c Implemented: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)
Thanks: Devanshu Vyas for report and Sourabh Punyani for implementation
2020-07-01 12:05:22 +02:00
Akash Jain da0002fc4a Improved: Convert AutoAcctgTransTestsSales.xml to Groovy (OFBIZ-11526)
Thanks, Rohit Hukkeri for the report.
2020-07-01 10:57:41 +05:30
Akash Jain 8be1705765 Improved: Convert AutoAcctgTransTestsPurchase.xml to Groovy (OFBIZ-11522)
Thanks, Rohit Hukkeri for the report.
2020-06-30 11:43:23 +05:30
Priya SharmaandPriya Sharma 0f9307c071 Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553) (#208)
* Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553)
Done following:
- converted all xml test implementation to groovy
- used MockHttpServletRequest MockHttpServletResponse objects for triggering the events
- removed the xml version of the test implementations
- updated the test service mapping in the invoicetests.xml
(OFBIZ-11553)

* Improved: Moved the common code into a method so as to avoid duplication of code.
- passed in two parameters i.e. product id and the invoicePerShipment flag, to be used as per the need of the testcase.
(OFBIz-11553)

* Improved: Added support to get access to the Debug log methods in the groovy tests. (OFBIZ-11553)
- Also updated the references in the InvoicePerShipment tests.

Co-authored-by: Priya Sharma <priya.sharma@hotwaxsystems.com>
2020-06-27 18:09:34 +05:30
Jacques Le Roux f421af33a3 Improved: Convert createFinAccoutnTransFromPayment service from mini-lang to groovy DSL (OFBIZ-11492)
Thanks: Devanshu Vyas  for report, Anushi Gupta for the patch
2020-06-27 12:06:46 +02:00
Jacques Le Roux 3c22a3f912 Improved: Convert testTaxGeoId test from XML to Groovy (OFBIZ-11560)
This can be tested using

./gradlew "ofbiz --test component=accounting --test suitename=paymentappltests"

Thanks: Rohit Hukkeri for report and Anushi Gupta for the patch
2020-06-23 15:14:02 +02:00
Pawan Verma 1b637fae5c Improved: Converted testBillingAppl test from XML to Groovy(OFBIZ-11558)
Thanks: Rohit for your contribution.
2020-06-14 14:26:42 +05:30
Pawan Verma 6d7c953e5f Improved: Converted assertInvoiceTotal, testInvoiceAppl and testToPayment tests from XML to Groovy.
(OFBIZ-11530)(OFBIZ-11557)(OFBIZ-11559)

Thanks, Rohit for the contribution and Jacques for the review.
2020-06-14 14:17:44 +05:30
Pawan Verma 04bc8be7cb Improved: Converted RateTests from XML to Groovy
(OFBIZ-11561)(OFBIZ-11562)(OFBIZ-11563)(OFBIZ-11564)(OFBIZ-11565)(OFBIZ-11566)(OFBIZ-11567)(OFBIZ-11569)

Thanks: Rohit for the report and Anushi for the patch.
2020-06-01 16:47:10 +05:30
Jacques Le Roux 240903b6cb Improved: Convert testExpirePartyRate test from XML to Groovy (OFBIZ-11568)
This can be tested using

./gradlew "ofbiz --test component=accounting --test suitename=ratetests"

Thanks: Rohit Hukkeri
2020-06-01 10:08:29 +02:00
Suraj Khurana 15bcc92dd1 Improved: Converted updatePayment service from mini-lang to groovy.
(OFBIZ-11480)
Thanks Devanshu Vyas for reporting and Priya Sharma for the patch.
2020-05-23 17:48:54 +05:30
Suraj Khurana 9e194b0e9a Improved: Converted createPaymentAndApplicationForParty service from mini-lang to groovy
(OFBIZ-11491)
Thanks Devanshu Vyas for reporting and Sourabh Punyani for providing the patch.
2020-05-23 15:57:21 +05:30
Suraj Khurana 21a8bfaef7 Improved: Converted massChangePaymentStatus service from mini-lang to groovy.
(OFBIZ-11498)
Thanks Devanshu Vyas for reporting and Rushikesh Mawal for initial patch.
2020-05-23 15:23:13 +05:30
Suraj Khurana c21683e30b Improved: Converted createPaymentContent, updatePaymentContent services from mini-lang to groovy. (#155)
(OFBIZ-11501)(OFBIZ-11502)
Thanks Devanshu Vyas for reporting and Sourabh Punyani for providing the patch.
2020-05-23 12:38:07 +05:30
Suraj Khurana 86b0a4e592 Improved: Refactor simple methods names as per naming convention best practices. (#137)
(OFBIZ-11700)
2020-05-23 10:33:46 +05:30
Suraj Khurana 89016fa71e Improved: Converted getPaymentRunningTotal service from mini-lang to groovy DSL
(OFBIZ-11488)
Thanks Nitish Mishra for the patch and Devanshu Vyas for reporting and review.
2020-05-23 10:27:50 +05:30
Suraj Khurana c150980271 Improved: Converted some simple services services from simple to entity-auto. (#136)
(OFBIZ-11698)
Converted services: deleteOrderAdjustment, removeShoppingList and removed simple method for already converted deleteFinAccount.
2020-05-16 10:19:53 +05:30
Pawan Verma 13ab014afb Improved: Convert AutoAcctgFixedAssetTests from XML to Groovy
(OFBIZ-11520)(OFBIZ-11519)(OFBIZ-11517)

Thanks: Rohit for the report and patch and Suraj for the review.
2020-05-15 22:52:19 +05:30
Suraj Khurana 2b0166410d Improved: Converted all GlReconciliationEntry related CRUD services from simple to entity-auto (#129)
* Improved: Converted all GlReconciliationEntry related CRUD services from simple to entity-auto
(OFBIZ-11662)
2020-05-13 17:17:20 +05:30
Suraj Khurana 10a8f7a093 Improved: Converted all AcctgTrans related CRUD services from simple to entity-auto (#103)
* Improved: Converted all AcctgTrans related CRUD services from simple to entity-auto
(OFBIZ-11640)
2020-05-10 16:05:54 +05:30
Suraj Khurana c7e0f909ea Improved: Converted all GlReconciliation related CRUD services from simple to entity-auto (#110)
(OFBIZ-11642)
2020-05-09 12:31:23 +05:30
Suraj Khurana 3c3147d745 Improved: Converted all FixedAssetMeter services from simple to entity-auto. (#82)
* Improved: Converted all FixedAssetMeter services from simple to entity-auto.
* Improved: Added seca rule for creating maints from meter reading, earlier it was called inline while creating or updating FixedAssetMeter record.

(OFBIZ-11611)
2020-05-01 14:15:49 +05:30
Suraj Khurana f527bf4dc0 Improved: Converted cancelFixedAssetStdCost service from simple to entity-auto. (#80)
* Improved: Converted cancelFixedAssetStdCost service from simple to entity-auto.
(OFBIZ-11612)
2020-04-29 18:47:34 +05:30
Suraj Khurana 47e5a1ad5e Improved: Convert FixedAssetTests from XML to Groovy. (OFBIZ-11546)(OFBIZ-11547)(OFBIZ-11548)(OFBIZ-11549)(OFBIZ-11550)(OFBIZ-11551)(OFBIZ-11552) Thanks: Rohit for reporting. 2020-04-27 12:44:42 +02:00
Suraj Khurana 9dda9fec3f Improved: Converted testUpdateFixedAssetMeter test from XML to Groovy.
(OFBIZ-11550)
Thanks Rohit Hukkeri for reporting and Aishwary Shrivastava for providing the patch.
2020-04-26 19:49:49 +05:30
Pawan Verma a74480ec5a Improved: Convert AutoAcctgFinAccountTests from XML to Groovy. (#68)
(OFBIZ-11507)(OFBIZ-11508)(OFBIZ-11509)(OFBIZ-11510)(OFBIZ-11511)(OFBIZ-11512)(OFBIZ-11513)(OFBIZ-11514)(OFBIZ-11515)(OFBIZ-11516)

Thanks: Rohit Hukkeri for the report
2020-04-25 12:25:22 +05:30
Pawan Verma ae9f726875 Improved: Convert AutoAcctgCostTests from XML to Groovy (#57)
(OFBIZ-11505)

Thanks: Rohit for the report.
2020-04-25 12:17:08 +05:30
Jacques Le Roux b8848355d1 Implemented: Convert createPayment service from mini-lang to groovy DSL
(OFBIZ-11479)

jleroux: I have only changed the MODULE name (and uppercased it)

Thanks: Priya Sharma
2020-04-09 11:13:09 +02:00
Jacques Le Roux 18d84ac162 Improved: Convert AutoAcctgInvoiceTests Unit Test from XML to Groovy
(OFBIZ-11277)

Removes empty AutoAcctgInvoiceTests.xml
2019-11-11 11:29:14 +01:00
Pawan Verma fbf8531e49 Improved: Convert AutoAcctgInvoiceTests Unit Test from XML to Groovy
(OFBIZ-11277)

Thanks: Jacques Le Roux for the review.
2019-11-11 12:12:21 +05:30
Pawan Verma 47f1e5a75f Improved: Convert AutoAcctgAgreementTests Unit Test from XML to Groovy
(OFBIZ-11248)

Thanks: Devanshu Vyas for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868449 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 13:31:22 +00:00
Pawan Verma c0141b568d Improved: Convert AutoAcctgAdminTests Unit Test from XML to Groovy
(OFBIZ-11243)

Thanks: Jacques Le Roux for the review and test.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868167 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 04:45:21 +00:00
Pawan Verma ec56797af7 Fixed: Check run payment(A/P) transactions not getting available for reconciliation
(OFBIZ-10796)

Check run payment group transactions don't get available for Financial Account reconciliation. Though the financial account balance gets updated during the A/P check run process, the system must allow the user with an additional step of reconciling the transactions.

The cause of this is that the financial account transaction doesn't get created in the 'Created' status and has an 'Approved' status. An approved status financial transaction directly updates the financial account balance and thus don't appear in the list of the transactions to be reconciled.

Thanks: Chinmay Patidar for your contribution and Pierre Smits for the review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867930 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:05:21 +00:00
Jacques Le Roux 086f2e8c8a Fixed: Error in log when looking for parties at partymgr/control/main
(OFBIZ-11201)

These are similar issues in Minilang than the one fixed initially for
<set field="userLoginSize" value="${util:size(logins)}" type="Integer"/>
Fixed by replacing by 
<set field="userLoginSize" value="${groovy:logins.size()}"/>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867585 13f79535-47bb-0310-9956-ffa450edef68
2019-09-26 15:38:52 +00:00
Nicolas Malin f4aab777a5 Improved: Refactoring permission model call
(OFBIZ-7113)
With the problem to have a permission service not on the same transaction that the related service [1]

I realized the following improvement to
 * unified call evalPermission
 * move all related field for permission service on ModelService to ModelPermission
 * Remove deprecated code
 * add labelized error message  
 * call as same transaction the permission service by defautl with possibility to overide this rule 
 * add new attributes on permission model: require-new-transaction and return-error-on-failure

Thanks to Jacques Leroux for the review


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866137 13f79535-47bb-0310-9956-ffa450edef68
2019-08-30 08:47:48 +00:00
Suraj Khurana 946fe12b73 Fixed: Customer Party getting set as 'organizationPartyId' in one the Account transaction for Customer return invoice.
(OFBIZ-10856)
Thanks Chinmay Patidar for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858250 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 07:15:51 +00:00
Jacques Le Roux 3190e0ff2e Improved: Create patch for removal of IDEAL code in framework
(OFBIZ-5444)

Removes all iDEAL specifics from the framework (actually only applications)

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1846227 13f79535-47bb-0310-9956-ffa450edef68
2018-11-09 10:20:10 +00:00
Suraj Khurana 2dda661549 Improved: Consistency and Readability improvements for log tag.
(OFBIZ-8929)
Thanks Devanshu Vyas for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845080 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 07:50:40 +00:00
Nicolas Malin acfe87067e Improved: Convert InvoiceServices.xml mini lang to groovy
(OFBIZ-9986)
Convert services getNextInvoiceId, invoiceSequenceEnforced and invoiceSequenceRestart from minilang to groovy.
This is a subtask of OFBIZ-9350 Deprecate Mini Lang

Thanks to Leila Mekika for this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839778 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 17:29:55 +00:00