Commit Graph
14503 Commits
Author SHA1 Message Date
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
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
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
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 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
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
Pawan Verma e9664e94c4 Improved: Convert updateEmailContent service from mini-lang to groovy DSL
(OFBIZ-11371)

Thanks: Devanshu Vyas for report and Anushi Gupta for the patch.
2020-05-04 15:45:33 +05:30
Pawan Verma 1b6c632992 Fixed: Creating custom Time Period does not show in party time period
(OFBIZ-10904)

Thanks, Pierre and Jacques for your contribution.
2020-05-04 15:20:05 +05:30
Suraj Khurana c3cda28099 Improved: Converted all EmplLeave related CRUD services from simple to entity-auto (#97)
(OFBIZ-11630)
Also, added comments for similar types entity-auto services and clubbed them for better visibility.
2020-05-04 14:12:59 +05:30
Suraj Khurana cb4ca226f0 Improved: Converted all TimeEntry related CRUD services from simple to entity-auto (#99)
(OFBIZ-11624)
Also, removed unused services named unlinkInvoiceFromTimeEntry, whcih simply clears TimeEntry field, so used updateTimeEntry instead.
2020-05-04 10:42:26 +05:30
Suraj Khurana 98e95ee9e3 Improved: Converted all TechDataCalendarExcDay related CRUD services from simple to entity-auto (#96)
Improved: Converted all TechDataCalendarExcDay related CRUD services from simple to entity-auto
(OFBIZ-11622)
Also, added a permission service for MANUFACTURING related base permission.
2020-05-03 11:39:07 +05:30
Suraj Khurana 71d9040923 Improved: Converted all SalaryStep related CRUD services from simple to entity-auto (#98)
Improved: Converted all SalaryStep related CRUD services from simple to entity-auto
(OFBIZ-11631)
2020-05-03 11:26:36 +05:30
Suraj Khurana a1647a7f63 Improved: Marked addRequirementTask as deprecated and make it entity-auto service as it was simply creating record of WorkRequirementFulfillment. (#100)
Improved: Marked addRequirementTask as deprecated and make it entity-auto service as it was simply creating record of WorkRequirementFulfillment.
(OFBIZ-11634)
We have already service createWorkRequirementFulfillment available to do this job so makring it as deprecated.

Thanks Jacques for review.
2020-05-02 17:26:24 +05:30
Suraj Khurana 3615f5b842 Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto (#94)
* Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto
(OFBIZ-11627)

* Improved: Added seca rule for checkStatusCustRequest while invoke and updateCustRequestLastModifiedDate while commit for services related to CustRequestContent.
2020-05-02 17:00:48 +05:30
Suraj Khurana f36a15b5a0 Improved: Converted all TrackingCodeOrder related CRUD services from simple to entity-auto (#92)
* Improved: Converted all TrackingCodeOrder related CRUD services from simple to entity-auto
(OFBIZ-11625)
2020-05-02 14:21:10 +05:30
Suraj Khurana edca9f22b0 Improved: Converted all CustRequestParty related CRUD services from simple to entity-auto (#95)
* Improved: Converted all CustRequestParty related CRUD services from simple to entity-auto
(OFBIZ-11621)
2020-05-02 13:47:09 +05:30
Jacques Le Roux 1efaa73ebb Fixed: PartyProfileContent.js does not work
(OFBIZ-11633)
When you upload a content from the party profile page you don't see a progress
bar. The PartyProfileContent.js is loaded but for some reason is unused or wrong

Mohammad Kathawala mentionned that it was removed with OFBIZ-9299
It was also broken with OFBIZ-11402

Thanks: Mohammad for the track
2020-05-02 09:31:54 +02:00
Suraj Khurana 0f56568bc1 Improved: Converted all TimesheetRole related CRUD services from simple to entity-auto (#90)
* Improved: Converted all TimesheetRole related CRUD services from simple to entity-auto
(OFBIZ-11617)
2020-05-02 12:58:35 +05:30
Suraj Khurana 4facbaed79 Improved: All the service level error messages for missing required field for order component (#86)
* Improved: All the service level error messages for missing required field for order component
(OFBIZ-7736)
Thanks Ratnesh Upadhyay for reporting and Ankush Upadhyay for providing the updated patch
2020-05-02 11:33:35 +05:30
Suraj Khurana 8f77e45f15 Improved: Converted all TrackingCodeOrderReturn related CRUD services from simple to entity-auto (#89)
* Improved: Converted all TrackingCodeOrderReturn related CRUD services from simple to entity-auto
(OFBIZ-11623)
2020-05-01 14:31:03 +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 4f90498f5d Improved: Converted all TrackingCodeType entities from simple to entity-auto (#87)
* Improved: Converted all TrackingCodeType entities from simple to entity-auto
(OFBIZ-11615)
2020-05-01 10:44:32 +05:30
Suraj Khurana a92136c662 Improved: Added missing attribute default-entity-name for ShipmentReceiptRole entity auto services.
(OFBIZ-11614)
Thanks Pawan for reporting.
2020-05-01 10:21:18 +05:30
Pawan Verma ffe9c46cf0 Improved: Used utility provided by OFBizTestCase class for userLogin instead of fetching from DB test cases also removed unused fetching of userLogin in some cases
(OFBIZ-11618)
2020-04-30 22:00:04 +05:30
Suraj Khurana e1a16aa9fe Improved: Converted all ShipmentReceiptRole service from crud to entity-auto (#85)
* Improved: Converted all ShipmentReceiptRole service from crud to entity-auto
(OFBIZ-11614)
2020-04-30 17:05:39 +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 0269e7b05f Improved: Sales Invoice creation should be limited for customer parties only.
(OFBIZ-11023)
Thanks Pierre Smits for reporting and Rohit Hukkeri for the patch
2020-04-29 17:05:04 +05:30
Pawan Verma b613256823 Improved: Use userLogin available in context instead of fetching from DB in Groovy test cases
(OFBIZ-11618)

Thanks: Jacques for the review.
2020-04-29 16:26:58 +05:30
Suraj Khurana faf0699e0d Improved: Updated hard coded values of location types and used all available location enums instead.
(OFBIZ-6042)
Thanks Pierre for reporting and Jacques Le Roux for review.
2020-04-29 15:57:48 +05:30
Pawan Verma 0f777b7de2 Fixed: The producttests test suite is brooken
(OFBIZ-11620)

Corrected Class name and ProductAssoc entity name.

Thanks: Jacques for the partial fix.
2020-04-29 14:53:26 +05:30
Jacques Le Roux 649614507b Fixed: The producttests test suite is brooken
(OFBIZ-11620)

It was initially broken by OFBIZ-9905 so only trunk was concerned.
The fix is simple: there should be no space at the beginning of the file.

But then, when running the test suite, other issues raise.
I guess they  were hidden because of the initial issue.

OFBIZ-10231 introduced 2 issues
A syntax error:
product.removeRelated("ProductKeyword", product)
instead of
product.removeRelated("ProductKeyword")

A wrong usage of storeByCondition

This fixes the 3 issues, to test:
gradlew "ofbiz --test component=product --test suitename=producttests"

Thanks: Pawan for initial report
2020-04-29 10:02:07 +02:00
Pawan Verma f00467282f Removed: Duplicate getRelatedParties service definition. It was left during the service conversion from XML to Groovy
(OFBIZ-11361)

Thanks: Rohit Kaushal for the report.
2020-04-28 14:56:59 +05:30
Pawan Verma f195e68c3c Removed: Unwanted character mistakely added during All the service level error messages for missing required field for party component. 2020-04-28 13:18:35 +05:30
Pawan Verma 63f0a84ae2 Fixed: Create Exchange Order button on Return screen is distorted
(OFBIZ-11144)

Thanks: Devanshu for the report, Suraj and Jacques for the review.
2020-04-28 10:11:41 +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 13ea2ba726 Improved: View entity definition for MarketingCampaignAndVisit and made relational optional as false.
(OFBIZ-9909)

This will generate the report with positive visits only in both the cases (with/without date filter) while running marketing campaign reports.

Thanks Rubia for reporting and Ankit Joshi for providing the patch.
2020-04-26 20:10:08 +05:30