Commit Graph
14503 Commits
Author SHA1 Message Date
Gil Portenseigne 7c8aab3d9d Improved: Migrate checkCreateOrderRequirement service to groovy
(OFBIZ-9984)

This commit migrate also dependent method and remove createRequirementFromItemATP service
2020-06-19 16:59:00 +02:00
James Yong da3473b183 Improved: Use Compound Widget on rest of the project (OFBIZ-11821)
Remove unnecessary namespace
2020-06-17 22:42:01 +08:00
Priya SharmaandPriya Sharma a3059c097d [Implemented] Introduce the option for specifying Check (Reference) Number upon using Check as payment method during ordering (#203)
Done the following:
- Added a field on the UI to allow the input of the check reference number
- Added logic to set this reference number on the cartpaymentinfo map
- Added logic to fetch the reference number from the order preference record and apply it on the payment.

(OFBIZ-7377)

Co-authored-by: Priya Sharma <priya.sharma@hotwaxsystems.com>
2020-06-16 14:55:35 +05:30
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
James Yong 4bdabd825e Improved: Use Compound Widget on rest of the project (OFBIZ-11821)
Refactor for Find Request
2020-06-14 13:55:11 +08:00
James Yong 28809d71d8 Improved: Use Compound Widget on rest of the project (OFBIZ-11821)
Refactor for Find Request
2020-06-14 11:40:16 +08:00
Suraj Khurana e797845dda Improved: Changed decimals, rounding, zero static variables names as per best practices in accounting component. (#202)
(OFBIZ-11804)
Also make them private data members of the class.
2020-06-13 15:01:11 +05:30
Suraj Khurana f85d6439aa Improved: Changed decimals, rounding, zero static variables names as per best practices in third party payment component. (#201)
(OFBIZ-11804)
Also make them private data members of the class.
2020-06-13 14:58:50 +05:30
Suraj Khurana c03e27d73e Improved: Changed decimals, rounding, zero static variables names as per best practices in order component. (#196)
(OFBIZ-11804)
Also make them private data members of the class.
2020-06-13 14:26:52 +05:30
Suraj Khurana a527862961 Improved: Changed decimals, rounding, zero static variables names as per best practices. (#195)
(OFBIZ-11804)
Also make them private data members of the class.
2020-06-13 14:26:06 +05:30
Suraj Khurana 575defd088 Improved: Changed decimals, rounding, zero static variables names as per best practices in manufacturing component. (#200)
(OFBIZ-11804)
Also make them private data members of the class.
2020-06-12 16:35:36 +05:30
holivier d20bd4510c Documented: remove docbook help files for accounting
(OFBIZ-11587)

In the global Help Docbook index tree, remove all points about
accounting and add a short page with a link to the new help
2020-06-09 09:39:51 +02:00
Suraj Khurana a6cf5aafda Fixed: Unnecessary iterations and setting inventory for all productFacilities in setLastInventoryCount.
(OFBIZ-11796)

Instead of updating all product facilities records on one inventory item change, we should be changing only specific product facility record for that the inventory item belongs to. Thanks Jacques, Pierre, Pawan and Arun for the review.
2020-06-08 18:00:37 +05:30
holivier 492511c1a0 Documented: remove docbook help files for commonext
(OFBIZ-11587)

all files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files
2020-06-06 14:35:46 +02:00
holivier ecd2a088e1 Documented: remove docbook help files for accounting
(OFBIZ-11587)

all files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files
2020-06-06 14:32:28 +02:00
holivier 2d0be47cdf Documented: Help link using asciidoc files via generated html
(OFBIZ-11693)

Migrate CommonExtHelData.xml to added some <set field="helpAnchor" to
the correct screens

Now in commonext component only asciidoc documents are used, help link
area now link to userDocUri
(ci.apache.org/projects/ofbiz/site/trunk/ofbizdoc as default value in
general.property)
2020-06-06 14:26:33 +02:00
James Yong 4e563a67ff Fixed: showHelp not working (OFBIZ-11803)
Fixed Navigation tree is not displayed in showHelp page.
2020-06-06 19:49:26 +08:00
James Yong 5e63e81d08 Improved: Remove unused location ${parameters.quoteDecoratorLocation} (OFBIZ-11802)
Thanks: Jacques for review
2020-06-06 18:34:08 +08:00
Priya SharmaandPriya Sharma 15aec7e8f7 WIP: [Improved]: Use GroovyBaseScript's logging utility methods instead of using Debug (OFBIZ-11762) (#185)
* [Improved]: Use GroovyBaseScript's logging utility methods instead of using Debug
- Replaced the debug.log methods with the respective groovy utility method
- Enhanced the GroovyBaseScript to entertain the fetch the current class name as the module name for logging
- Overloaded the logError method to entertain throwbale object for better logging
- Removed unused import statements and module variables.

(OFBIZ-11762)

* [Removed]: Extra line spaces. (OFBIZ-11762)

* [Revert]: Unwanted changes. (OFBIZ-11762)

* [Added] Same changes to these files. (OFBIZ-11762)

Co-authored-by: Priya Sharma <priya.sharma@example.com>
2020-06-06 10:17:23 +02:00
holivier 211540a966 Documented: Help link using asciidoc files via generated html
(OFBIZ-11693)

Migrate AccountingHelData.xml to added some <set field="helpAnchor" to
the correct screens

Now in accounting component only asciidoc documents are used, help link
area now link to userDocUri
(ci.apache.org/projects/ofbiz/site/trunk/ofbizdoc as default value in
general.property)
2020-06-05 15:15:21 +02:00
Suraj Khurana 73b15e9867 Improved: Enforce noninstantiability to FinAccountHelper Class. (#171)
(OFBIZ-11723)

Made class as final, added private constructor, also made data members as private, defined getter methods and changed related occurrences.
2020-06-05 13:13:58 +05:30
holivier 192059e3da Improvement: Help link using asciidoc files via generated html
(OFBIZ-11693)

Change release for all asciidoc files, now there area 3 publish site,
one per release
* site/trunk
* site/next   currently for the 18.12
* site/stable currently for the 17.12
2020-06-04 17:56:54 +02:00
Suraj Khurana 9ade9d776b Improved: Enforce noninstantiability to BillingAccountWorker Class. (#167)
(OFBIZ-11721)
Made class as final, added private constructor, changed data members to private and corrected names as per naming convention.
2020-06-04 14:41:31 +05:30
Pawan Verma d106b91dd0 Improved: UI improvement on View Order page(OFBIZ-10985)
Thanks, Rashi for report and Aishwary for initial patch and garima and jacques for the review.
2020-06-02 17:34:29 +05:30
Pawan Verma 281c278308 Fixed: Overview of shipments shows links to edit shipment it should point to viewshipment(OFBIZ-11787)
Thanks: Pierre for your contribution.
2020-06-02 17:15:28 +05:30
Pawan Verma 30ee142864 Improved: Improvement in Purchases by Product Report(OFBIZ-11733)
The status description should be used in report instead of OFBiz ID.

Thanks: Chandan Khandelwal for your contribution.
2020-06-02 16:57:29 +05:30
Pawan Verma c9b7c576a9 Fixed: UI issue in payment lookup(OFBIZ-9476)
Thanks: Pallavi for report and patch and pierre from the review.
2020-06-02 16:37:10 +05:30
Pawan Verma 6c342323a5 Improved: Refactor CatalogWorker.java to remove duplicate code(OFBIZ-11696) 2020-06-02 16:27:52 +05:30
Pawan Verma aa57e68088 Fixed: ViewShipment in facility does not show phone details(OFBIZ-11785)
Thanks, Pierre for the report.
2020-06-02 15:33:56 +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
Aditya Sharma 3bc127dfb0 Fixed: RequestHandlerException due missing controller entries
(OFBIZ-9478)
Fixed missing Lookup controller entries for the following pages:
1. LookupBudget for Employment Applications page of party
2. LookupDataResource for Content page of facility
3. LookupFixedAsset for Inventory Items Details page of facility

Thank you Pallavi Goyal for reporting the issue and Humera Khan for providing the patch
2020-05-31 09:53:26 +05:30
Pawan Verma bda6192b6b Fixed: Corrected package path for UtilDateTime.(OFBIZ-6408) 2020-05-30 23:07:03 +05:30
Pawan Verma f0e60ba3dc Fixed: Adding a group order generates an error(OFBIZ-6408)
The error is caused by an invalid expression, the two boolean evaluations should reside in the same groovy scriptlet.

Thanks, Pierre for report, Scott for the solution and Adrian, Jacques, Rahul for the review.
2020-05-30 15:36:52 +05:30
c8a7c7dd23 Fixed: Create Payment service throws an exception when receiving payment on order (OFBIZ-11754) (#166)
* [Fixed] Create Payment service throws exception when receiving payment on order
- Since the MODULE variable could not be found, the service was throwing error
- Instead used the groovy method directly to print the log instead, which has access to the module variable implicitly.
- Removed the unused import as Debug class is not longer needed here.

(OFBIZ-11754)

* [Improved] The content groovy services to avoid the error in case we try to log a detail, since the module variable is not found. (OFBIZ-11754)

* Update ContentServices.groovy

* [Improved] Added error logs instead of info logs for service excpetions logging. (OFBIZ-11754)

Co-authored-by: Priya Sharma <priya.sharma@example.com>
Co-authored-by: Suraj Khurana <64310724+surajkhurana@users.noreply.github.com>
2020-05-30 11:53:53 +02:00
James Yong c0e527efb2 Improved: Headerize external script in multi-block html template (OFBIZ-11741)
Allow external scripts within the multi-block html template, to be rendered
within the html head tag, when a new attribute data-import is set to “head”

Thanks: Jacques for review
2020-05-30 12:00:21 +08:00
Nicolas Malin b862632a94 Fixed: Convert InventoryIssueServices.xml mini lang to groovy
(OFBIZ-11591)

Side effect: Inventory Issuance use generic shipment service to control the authorization
but without a shipment, checkCanChangeShipmentStatusGeneral failed with NPE.

I complete the function to escape if a shipment isn't present and only valid with facility permission
2020-05-29 16:28:18 +02:00
Sebastian Berg 7968f62e51 Improved: Convert InventoryIssueServices.xml mini lang to groovy
(OFBIZ-11591)
2020-05-29 16:28:11 +02:00
Suraj Khurana 5e7193f5a8 Improved: Changed resources with proper naming convention in all application components.
(OFBIZ-11739)
Also, made MODULE as private data member of class instead of public. This will reduce checkstlye issues. Thanks Jacques for review.
2020-05-29 13:19:05 +05:30
Pawan Verma 269165d6df Fixed: productServiceOrder-test issue, it has been introduced after we fixed InventoryItemStatus is not updated to INV_PROMISED status(OFBIZ-8459)
Thanks, Jacques for the report.
2020-05-28 19:58:27 +05:30
Pawan Verma 45a7deecfe Fixed: InventoryItemStatus is not updated to INV_PROMISED status while creating sales order for serialized product(OFBIZ-8459)
Thanks, Vaibhav for the report and patch and Pranay for the review.
2020-05-28 17:25:03 +05:30
Pierre Smits 96c428d1cf Improved: instructions to upgrade due to datamodel changes (OFBIZ-11719) (#162) 2020-05-26 17:21:05 +05:30
Aditya Sharmaandholivier a82c3032ad Documented: datamodel markdown migration to asciidoc (OFBIZ-11574)
* Documented: datamodel markdown migration to asciidoc
(OFBIZ-11574)

- DATAMODEL_CHANGE migration to asciidoc and add a included in
developer_manual
- Readme migration to asciidoc

* Documented: theme/README.md change theme/README.adoc but with very
simple content
(OFBIZ-11574)

README.md  has been migrated to asciidoc as doc/themes.adoc previously
but remove README.md has been forgot.
In this commit README.md is removed and a new README.adoc is created
with only a brief component definition and link to the theme
documentation (and developer-manual which included theme.adoc)

* Documented: datamodel markdown migration to asciidoc
(OFBIZ-11574)

Added new field parentGlXbrlClassId taking reference from DATAMODEL_CHANGES.md which was added with OFBIZ-10613 and missing in adoc file

Co-authored-by: holivier <holivier@apache.org>
2020-05-25 19:46:04 +05:30
Pierre Smits 52732c8807 Fixed: organisation tree in humanres doesn't show person names (OFBIZ-11677) (#121)
* Fixed: Tree on main page of the humanres component doesn't show names of persons

(OFBIZ-11677)

When parties are assigned to employee positions their names aren't shown in the tree
fixed: the function that retrieves the person record of the assigned party was using
	the wrong variable in the query, resulting in a null being returned. Corrected the variable
added/improved: retrieval of the middleName value of the person record, added it to the title
improved: ordering of the names making up the title.
improved: applying proper case to variable names

* Fixed: Tree on main page of the humanres component doesn't show names of persons

(OFBIZ-11677)

invoking PartyHelper.getPartyName instead of custom code
code clean-up

Thanks to Pawan Verma for the review and the suggestion
2020-05-25 19:42:16 +05:30
Suraj Khurana 0a23151ed3 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-05-25 13:37:42 +05:30
Suraj Khurana 7aa3db4c45 Improved: Converted createDownloadContent,updateDownloadContent services from mini-lang to groovy.
(OFBIZ-11372)(OFBIZ-11373)
Thanks Devanshu Vyas for reporting, Harman Kaur and Rahul for initial patch, Pawan for review.
2020-05-25 13:37:16 +05:30
Pierre Smits 5fac98022e Improved: quote menu
(OFBIZ-11715)

updated: QuoteTabBar - simplified labels
updated: moved 'Edit quote' menu item to QuoteSubTabBar
updated: reordering of menu-items of QuoteTabBar
updated: various UiLabels used by menu-items in QuoteTabBar
2020-05-24 14:34:03 +02:00
Suraj Khurana a178b79107 Improved: Added UI labels for success/error messages for humanres, marketing, order component.
(OFBIZ-7696)
Thanks Deepak Nigam for reporting and Sourabh Punyani for the patch.
2020-05-24 13:03:03 +05:30
Pawan Verma 3f9e37797a Fixed: RuntimeException in getPartyNameForDate service for partyNameHistory.gender field(OFBIZ-11736)
The reason for this issue is code is trying to get the gender of person from partyNameHistory record and gender is not a field in partyNameHistory entity. During conversion we minimized duplicate code which caused that issue.

I've added a check to avoid checking gender in partyNameHistory record.
2020-05-23 23:35:39 +05:30