Commit Graph
27737 Commits
Author SHA1 Message Date
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 ba04eda31a Improved: Converted CustomTimePeriod related services from simple to entity-auto
(OFBIZ-11689)
Thanks Pierre for reporting.
2020-05-13 10:25:15 +02:00
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
Jacques Le Roux 448d987008 Improved: weekly update of tasks.checkstyleMain.maxErrors 2020-05-11 12:45:01 +02:00
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 8bd7b9b6f9 Fixed: Theme files loading taking longer time
(OFBIZ-11665)

Thanks: Pierre and Jacques for the review.
2020-05-10 14:17:13 +05:30
Pawan Verma de07647bfe Improved: Improve logging for services run on global-commit/global-rollback
(OFBIZ-11667)

Thanks: Jacques and Suraj for the review.
2020-05-10 14:06:38 +05:30
Pawan Verma 12ef22228d Improved: Add support for Limit and offset in EntityQuery
(OFBIZ-11670)

Thanks: Jacques and Suraj for the review.
2020-05-10 14:03:55 +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
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
Jacques Le Roux d0eae33622 Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Puts back the ASL2 header and the -Xms64m value
2020-05-08 13:32:17 +02:00
Pierre SmitsandPawan Verma e1ab3b1e99 Improved: Enhance entity "GlXbrlClass" and use (OFBIZ-10613) (#41)
* Improved: Enhance entity "GlXbrlClass" and use

(OFBIZ-10613)

Adding field parent of the GlXbrlClassId
Application of field in appropriate forms

* Improved: Added new field parentGlXbrlClassId into DATAMODEL_CHANGES.md
(OFBIZ-10613)

Co-authored-by: Pawan Verma <pawan.verma@hotwaxsystems.com>
2020-05-08 16:34:40 +05:30
Suraj Khurana ffd6686220 Improved: Converted all RequirementRole related CRUD services from simple to entity-auto (#105)
(OFBIZ-11641)
It was using same permission for all CRUD operation, updated logical permissions corresponding to each action.
2020-05-08 09:31:53 +05:30
Suraj Khurana 112a5929e9 Improved: Converted all RequirementCustRequest related CRUD services from simple to entity-auto (#102)
(OFBIZ-11638)
Also, renamed associatedRequirementWithRequestItem to proper name and corrected occurences including tests.
2020-05-07 11:09:34 +05:30
Suraj Khurana 4cb9fc7e80 Improved: Converted all TechDataCalendarWeek related CRUD services from simple to entity-auto (#109)
(OFBIZ-11644)
2020-05-06 18:56:19 +05:30
Jacques Le Roux 5ff7852e50 Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Increases tasks.checkstyleMain.maxErrors from 36894 to 37094

Too much detected after Gradle upgrade to fix manually
The checkstyle plugin is automatically updated with the Gradle version
(you don't define a checkstyle plugin version)
2020-05-06 15:12:43 +02:00
Jacques Le Roux 00ec6c677b Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Fixes a known issue with config/checkstyle/checkstyle.xml:

TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module'
section for this Check in web documentation if Check is standard
2020-05-06 15:08:57 +02:00
James Yong 3da9ff426c Merge remote-tracking branch 'origin/trunk' into trunk 2020-05-06 20:24:17 +08:00
James Yong ff21950024 Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Upgrade to Gradle 6.3 and Groovy 2.5.11. Both are current stable versions.
2020-05-06 20:22:38 +08:00
Pierre Smits a58d78a79e Improved: Accounting seed data (OFBIZ-11652) (#116)
* Improved: Accounting Component - improve seed data

(OFBIZ-11652)
Adding role type records relating to budget entities

* Improved: Accounting Component - improve seed data

(OFBIZ-11652)
Adding role type records relating to budget entities
2020-05-06 13:47:10 +02:00
Pierre Smits a7328da044 Improved: Accounting Component - improve seed data
(OFBIZ-11652)
Adding role type records relating to budget entities
2020-05-06 12:53:22 +02:00
Suraj Khurana 0393ebe994 Fixed: testIntegrations caused due to invalid cust request status 'CRQ_SUBMITTED', so loaded QuoteTestData.xml with proper status before executing CustRequestTests. Also fixed default dateValue for nowTimestamp as in case of overrided fromDate, entity-auto doesn't take care of it.
Thanks: Jacques Le Roux for reporting.
2020-05-06 12:16:12 +05:30
Pawan Verma f2165421f6 Fixed: Promised Datetime & Current Promised Date values not getting updated in OISGIR Entity
(OFBIZ-10538)

Thanks: Deepak, Taher, Ravi, Amit, Suraj for the contribution.
2020-05-06 11:51:40 +05:30
Pawan Verma d753c10265 Improved: Unit test case for service - createPartyPostalAddress (#106)
(OFBIZ-8522)
2020-05-06 11:36:16 +05:30
Pawan Verma ff53e54a4e Improved: Groovy DSL test case for service addProductCategoryToCategory and getProductCategoryAndLimitedMembers (#111)
* Improved: Groovy DSL test case for service addProductCategoryToCategory and getProductCategoryAndLimitedMembers
(OFBIZ-9088)

Thanks: Pradhan Yash Sharma for report and initial patch and Suraj and Jacques for the review.
2020-05-06 11:33:44 +05:30
Jacques Le Roux f4c60052b1 Improved: Updates xercesImpl to 2.11.0, with its source!
Note that it changes from
apache-xerces:xercesImpl:2.9.1
to
xerces:xercesImpl:2.11.0
2020-05-05 19:00:05 +02:00
Pierre Smits 10060c8eea Improved: Tax Authority Data for China
(OFBIZ-11628)

added party and tax authority data for China
2020-05-05 15:55:33 +02:00
Pierre Smits 451d78b1c7 Improved: move demo data from optional plugin to base application
(OFBIZ-6110)

Moved: marketing component related data in ecommerce plugin
2020-05-05 15:51:12 +02:00
Pierre Smits e675694d0b Improved: demo data regarding rental assets
(OFBIZ-10862)

Updating fixed asset 'RentalShip'
2020-05-05 13:43:19 +02:00
Pawan Verma e925e5f1df Fixed: Issue with opening a page via bookmark when the user is logged out
(OFBIZ-10539)

Thanks: Ritesh Kumar for report and the patch and Girish for the review.
2020-05-05 14:56:25 +05:30
Pawan Verma adb60c2a9e Improved: Purchase Invoice creation should be limited for parties with roleTypeId = SUPPLIER
(OFBIZ-11024)

Added new LookupSupplier and used it.

Thanks: Pierre, Rohit, Jacques, Nicolas for your contribution.
2020-05-05 13:48:54 +05:30
Pawan Verma 1369df300f Fixed: Party's ContactMechWorkerTests does not work
(OFBIZ-11646)

The reason for the issue was a typo in the class-name attribute.

Thanks: Jacques for the review.
2020-05-05 11:53:12 +05:30
Suraj Khurana 00e1b01a7d Improved: Converted all TechDataCalendarExcWeek related CRUD services from simple to entity-auto (#104)
(OFBIZ-11636)
2020-05-05 11:07:10 +05:30
Pierre Smits df66cca3ff Improved: Marketing/SFA demo data (OFBIZ-11043) (#107)
* Improved: Marketing/SFA demo data

(OFBIZ-11043)

modified: UserLoginSecurityGroup for DemoLeadOwner
modified: UserLoginSecurityGroup for DemoLeadOwner1
modified: roleTypeId for DemoLeadOwnerGroup
modified: PartyRelationship between DemoLeadOwnerGroup and DemoLeadOwner
modified: PartyRelationship between DemoLeadOwnerGroup and DemoLeadOwner1

* Improved: Marketing/SFA demo data

(OFBIZ-11043)

removed: related comments
2020-05-04 21:45:07 +02:00
Jacques Le Roux 9e08611e13 Fixed: Freamework only integration tests don't pass due to missing data only
present in ecommerce

(OFBIZ- OFBIZ-6110)

OFBIZ-10031 and OFBIZ-8579 did not take care of that. It seems that, for a
reason, fixing OFBIZ-11620 mades them popup
2020-05-04 20:59:35 +02:00
Pierre Smits eea0198835 Improved: Currency Data for China
(OFBIZ-11629)

improved description
2020-05-04 17:33:52 +02:00
Suraj Khurana 7988fab8ab Improved: Converted all CustRequestAttribute related CRUD services from simple to entity-auto (#101)
(OFBIZ-11637)
Added seca rule to updateCustRequestLastModifiedDate on commit operation of this service, earlier it was called inline.
2020-05-04 18:02:46 +05:30
Jacques Le Roux fde21d0b10 reverted: CLONE - Use only HTTPS in OFBiz
(OFBIZ-11643)

Reverted, this needs more work
2020-05-04 13:21:03 +02:00