Mridul Pathak
dc5f8a6af0
Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk
2020-05-23 18:14:00 +05:30
Mridul Pathak
f9a05c8e30
Improved: Convert setContentStatus service from mini-lang to groovy DSL(OFBIZ-11365). Thanks Devanshu Vyas for the contribution.
2020-05-23 18:12:13 +05:30
Suraj Khurana
c7e0856b06
Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk
2020-05-23 17:53:40 +05:30
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
Aditya Sharma
ebd7992dac
Fixed: Requesthandler exception is showing after clicking cancel/done button on editPerson screen
...
(OFBIZ-10890)
Set the value of missing parameter.
Thanks Minal Phalak for reporting and providing the patch
2020-05-23 17:32:16 +05:30
Suraj Khurana
59d465bfd8
Improved: All the service level error messages for missing required field for humanares component.
...
(OFBIZ-8716)
Thanks Jagpreet for reporting and Prasheel for providing the initial patch
2020-05-23 17:06:18 +05:30
Aditya Sharma
3a2a9df44b
Fixed: paginateOrderList does not find orders on next page specific to FindOrders.ftl
...
(OFBIZ-11356)
Adding the missing showAll flag in the paginateOrder form because of which the orders were not shown while submitting the next button.
Thanks Michael Brohl for reporting the issue and Ankit Joshi for providing the patch
2020-05-23 16:18:28 +05:30
Suraj Khurana
2ac82b46c9
Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk
2020-05-23 15:57:48 +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
8bdb6c9985
Improved: Make shipment services loosely coupled with work-effort generation. ( #132 )
...
* Improved: Make shipment services loosely coupled with work-effort generation.
(OFBIZ-11678)
Removed workeffort generation related code in separate service, in createShipment and updateShipment service. In this effort, createShipment has been successfully changed to entity-auto as well.
Thanks: Pierre Smits and Arun Patidar for discussion and review.
2020-05-23 15:26:26 +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
Nicolas Malin
b134c6b72f
Improved: Convert ProductionRunServices.xml file from mini-lang to groovy DSL
...
(OFBIZ-11395)
Thanks to Yashwant Dhakad for this patch
2020-05-19 17:09:34 +02:00
Pawan Verma
3b7e63744c
Improved: Expansion of form widget field disabled atrribute with xsd improvement ( #141 )
...
(OFBIZ-10432)
1. Added disabled attribute support in ModelFormField with xs:boolean type
2. Removed specific field level disabled attribute support for CheckField and TextField
3. Modified existing usage of disabled attribute as per new implementation.
Thanks: Rishi for the report and Taher, Gil and Jacques for the feedback
2020-05-19 17:37:24 +05:30
James Yong
f443ace724
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
Revert multi-block attr on RemoveInternalOrg.ftl, to fix
regression for HR tree.
There is no inline script causing CSP issue in the 1st place.
Thanks: Olivier for reporting
2020-05-18 20:26:39 +08:00
Jacques Le Roux
11905d82f5
Improved: Convert deactivateAllContentRoles service from mini-lang to groovy DSL
...
(OFBIZ-11366)
jleroux: I had to slightly rewrite the patch, mostly the Groovy part (see
comment in Jira)
Thanks: Devanshu Vyas for the initial patch
2020-05-18 13:25:35 +02:00
James Yong
e3e12ee487
Improved: No need to specify externalKeyParam in ofbizUrl calls (OFBIZ-11711)
...
Let ofbizUrl macro generates externalLoginKey when needed.
Thanks: Jacques for review
2020-05-17 20:37:48 +08:00
Priya Sharma and Priya Sharma
6495dc7a91
Improved: Convert createArticleContent service from mini-lang to groovy ( #140 )
...
Deleted the old mini-lang service file
Updated the service definitions with the new groovy methods
Added the groovy implementation (with minor enhancement)
(OFBIZ-11383)
Co-authored-by: Priya Sharma <priya.sharma@example.com >
2020-05-17 10:54:16 +02:00
Suraj Khurana
9913e566cc
Improved: Called service directly instead of simple methoda call as service has been changed to entity-auto. ( #142 )
...
(OFBIZ-11616)
Also, updated time sheet related test data as timesheet status should be appropriate before updating or deleting.
2020-05-16 14:52:12 +05:30
Suraj Khurana
c7ae78d551
Improved: Converted all Timesheet related CRUD services from simple to entity-auto ( #88 )
...
* Improved: Converted all Timesheet related CRUD entities from simple to entity-auto
(OFBIZ-11616)
2020-05-16 13:46:12 +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
Suraj Khurana
1a45f2ff71
Improved: Converted WorkEffort related services from simple to entity-auto. ( #135 )
...
(OFBIZ-11690)
2020-05-16 10:17:32 +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
James Yong
a9843ccba1
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
For Product application.
2020-05-15 21:01:04 +08:00
Sebastian Berg
95f0eda361
Improved: Convert LeadServices.xml mini lang to groovy
...
(OFBIZ-11572)
2020-05-15 14:41:54 +02:00
Wiebke Pätzold
8af7cf8775
Improved: Converted AccountServices from mini lang to groovy
...
(OFBIZ-11413)
Added ServiceDefs createPartyContactMechs and createPartyGroupRoleAndContactMechs.
Also converted createPartyGroupRoleAndContactMechs because it is used in AccountServies and needed more return values.
2020-05-15 14:41:54 +02:00
James Yong
b17fd2419a
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
For Order application.
2020-05-15 19:24:20 +08:00
James Yong
2c62637752
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
For Accounting, Content, HR, Manufacturing.
2020-05-15 17:43:38 +08:00
James Yong
d94beee1b6
Improved: Apply multi-block attr to each application (OFBIZ-11706)
...
For Party application.
Also fixed bug where external script tag is incorrectly handled
when extracting internal script tag from freemarker template.
2020-05-15 15:43:31 +08:00
Suraj Khurana
44c374a644
Removed: Deprecated entity captureBillingAccountPayments since release 17.12. ( #131 )
...
(OFBIZ-11435)
Also, added deprecated since tag in some old entities and fields. This is done as per current policy to deprecate entities/services.
Thanks Pierre for reporting and Jacques for review.
2020-05-15 12:07:35 +05:30
James Yong
60c78d24be
Improved: <script-template> widget tag (OFBIZ-11686)
...
Removed script-template tag.
Use multi-block=true on html-template tag instead.
2020-05-15 11:16:15 +08:00
Jacques Le Roux
fb447e7b62
Fixed: Unable to navigate to 'Recently approved' screen under image management
...
(OFBIZ-11403)
It works on stable demo which uses 2.4.13 instead of 2.5.11 for trunk.
I guess it's because since Groovy 2.5 DateTimeFormatter, introduced with Java 8,
is used underneath.
This fixes and improves it regarding localisation. Because it's easier with
DateTimeFormatter and LocalDateTime to handle localisation
2020-05-14 13:35:49 +02:00
Nicolas Malin
a6cfaf8732
Improved: getAssociatedPriceRulesConds service return huge result
...
(OFBIZ-11701)
The service getAssociatedPriceRulesConds return some element to help the selection on product prise rule condition screen.
The problem: all query to resolve element are realized without filter :
from("Product").queryList()
On big database, a call on this service generate a server saturation (load 1 Million product to a dropdown, isn't logical)
To keep the benefit of this service as example to implement a custom service with filter, I introduce a limit range to 200. For much more it's better to improve the screen with a lookup.
I also simplify the list generation to homogenize and help the reader.
2020-05-13 16:08:06 +02:00
Nicolas Malin
b9b8c1405b
Improved: Convert PriceServices.xml mini lang to groovy
...
(OFBIZ-11578)
Second pass:
* slimdown code
* move saveProductPriceChange to entity-auto
2020-05-13 16:08:06 +02:00
Sebastian Berg
4ebdcdd9d0
Improved: Convert PriceServices.xml mini lang to groovy
...
(OFBIZ-11578)
2020-05-13 16:08:06 +02:00
James Yong
803f7fa060
Improved: <script-template> widget tag (OFBIZ-11686)
...
The new tag allows us to render a freemarker template containing javascript,
as external script in html instead of inline script.
This helps to reduce CSP errors.
2020-05-13 20:19:05 +08:00
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
e3124a6856
Improved: Converted remaining ElectronicText related CRUD services from simple to entity-auto ( #120 )
...
(OFBIZ-11664)
2020-05-13 10:46:55 +05:30
Sebastian Berg
7fcde49d82
Improved: Convert ShipmentServices.xml mini lang to groovy
...
(OFBIZ-11462)
2020-05-12 17:48:12 +02:00
Suraj Khurana
9eb6ba5a39
Improved: Converted all CustRequestItem related CRUD services from simple to entity-auto ( #118 )
...
(OFBIZ-11663)
2020-05-12 10:17:18 +05:30
Suraj Khurana
814b2ef139
Improved: Converted all TechDataCalendar related CRUD services from simple to entity-auto ( #112 )
...
(OFBIZ-11632)
2020-05-11 12:53:31 +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
Pawan Verma
df0c441568
Improved: Use OFBizTestCase's from method utility instead of using EntityQuery in each test case ( #119 )
...
(OFBIZ-11666)
Also, removed some unused imports from the test cases files.
2020-05-10 14:23:20 +05:30
Pawan Verma
2647c99752
Removed: Unnecessay code added to fix the middle name issue on List party screen
...
(OFBIZ-11681)
2020-05-09 21:12:08 +05:30
Pierre Smits
acda509e46
Fixed: ListParty doesn't show middleName
...
(OFBIZ-11681)
Fixes a logic error
2020-05-09 16:11:52 +02:00
Pierre Smits
0351cdb03c
Fixed: ListParty doesn't show middleName
...
(OFBIZ-11681)
added: funtion to retrieve middleName from Person record and append it to the result
2020-05-09 13:14:08 +02:00
Jacques Le Roux
adfdae4553
Improved: Removes duplicated labels
2020-05-09 10:16:42 +02:00
Pawan Verma
f365a9b7a0
Improved: Remove hard coded values from removePromotion
...
(OFBIZ-10376)
Thanks: Shikha Jaiswal for your contribution.
2020-05-09 12:44:15 +05:30