Commit Graph
14503 Commits
Author SHA1 Message Date
Sharan Foga cfcd7aae2f Improved: Added documentation content for employee leave in Human Resources guide (OFBIZ-10269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840666 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 12:05:36 +00:00
Sharan Foga 4f7dc4994c Improved: Added documentation content for resumes in Human Resources guide (OFBIZ-10267)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840661 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 11:31:40 +00:00
Jacques Le Roux e69943ea7e Improved: [Naming Convention] Change 'quickShipPurchaseOrder' to
'quickReceivePurchaseOrder'
(OFBIZ-10558)

We have the option of 'Quick Receive Purchase Order' from Order Overview screen.
In the feature, the request and service name is 'quickShipPurchaseOrder which 
is confusing. Change the name to 'quickReceivePurchaseOrder'.

Thanks: Deepak Nigam for the patch and Suraj Khurana for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840659 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 11:09:50 +00:00
Sharan Foga 83b118aaf4 Improved: Added documentation content for skills in Human Resources guide (OFBIZ-10266)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840658 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 11:03:44 +00:00
Sharan Foga f700c013be Immproved: Added documentation content for qualifications in Human Resources guide (OFBIZ-10264)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840648 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 09:59:14 +00:00
Sharan Foga a9a827afae Improved: Added content details for hr-recruitment.adoc file (OFBIZ-10265)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840647 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 09:31:21 +00:00
Sharan Foga f15114fef2 Improved: Removed duplicate file as content already exists as part of hr-performance-review.adoc (OFBIZ-10257)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840640 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 08:34:36 +00:00
Suraj Khurana c4c6fd5712 Improved: Arranged content UI labels in alphabetic order.
(OFBIZ-7211)
Thanks Shivangi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840633 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 08:24:47 +00:00
Sharan Foga fb6a75babc Improved: Removed duplicate file as content already exists as part of hr-employee-positions.adoc (OFBIZ-10263)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840632 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 08:03:20 +00:00
Jacques Le Roux b6e15931f6 Improved: 'Reserve After Date' should be available for sales orders only
(OFBIZ-10559)

Currently, the newly introduced in (OFBIZ-10534) 'Reserve After Date' field is 
available for all types of orders, it should be available for sales orders only.

jleroux: I have also handled in when editing items

Thanks: Deepak Nigam

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840631 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 07:48:39 +00:00
Nicolas Malin 5dff2f648a Implemented: Calculate estimated shipment delivery time
(OFBIZ-10372)
Currently when you pass an order in ofbiz you can select the shipment method to delivery finish good and obtains an amount cost but you have nothing to indicate how the delivration will during.
We have a good example with ship by plane or boat and for road the time is different between the Portugal to Spain and Portugal to Slovenia.

With this information, we can planned the estimated delivery date with the estimated date to produce finish good and the time to delivery them

To fill this gap, we introduce a new entity ShipmentTimeEstimate modelled as ShipmentCostEstimate to define the estimated time for a shipment method, a carrier and two geo location.
During the entry order process, if you select a shipmentMethod, a carrier and geoIds that match a ShipmentTimeEstimate, when you create the order, OFBiz try to resolve the an estimated delivery date from estimatedShipDate, shipBeforeDate, shipAfterDate or now.

Thanks Leila Mekika for initialize this works, Gil Portenseigne for improve the solution and Suraj Khurana for the review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840579 13f79535-47bb-0310-9956-ffa450edef68
2018-09-11 14:36:08 +00:00
Suraj Khurana 1a1ddb3cf2 Improved: Arranged workeffort UI labels in alphabetic order.
(OFBIZ-7246)
Thanks Shivangi Tanwar for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840558 13f79535-47bb-0310-9956-ffa450edef68
2018-09-11 13:14:24 +00:00
Swapnil Mane cb40521501 Documented: Added content for Performance Review in Human Resources.
(OFBIZ-10262)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840362 13f79535-47bb-0310-9956-ffa450edef68
2018-09-08 13:07:36 +00:00
Swapnil Mane 015304b9a0 Improved: Removed unused code
(OFBIZ-10384)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840355 13f79535-47bb-0310-9956-ffa450edef68
2018-09-08 11:54:54 +00:00
Nicolas Malin 4bcb3aab15 Fixed: Warning in console logs related to entity definitions
(OFBIZ-10540)
Improve the previous fix at r183834 where an error has been introduce with the entity WorkEffortContactMech who is different than OrderContactMech (no purpose but fromDate, thruDate) where at the beginning I thinking, wrongly, that they was the same pattern.
I completed the generic function *getEntityContactMechValueMaps* to analyze on the fly what element have the entityview. To complete, I added unit test for WorkEffortContactMech.

Thanks to Deepak Nigam for the control.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840296 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 13:11:01 +00:00
Jacques Le Roux ef1dbfc169 Improved: UI for all promotions listing disturbed
(OFBIZ-10462)
The "checkout section" in the ecommerce main page is not easily legible
(OFBIZ-10414)

Steps to regenerate the issue are as follows:
1) Navigate to storefront
2) Click on "View All Promotions" button.

Expected:
All promotions should be in a listed format.

Actual:
All promotions are listed inline.

jleroux: I also added a space after uiLabelMap.CommonDetails in 
ShowAllPromotions template in order

This also improves OFBIZ-10414

Thanks: Pritam Kute

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840263 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 20:42:10 +00:00
Sharan Foga 15d261cf5f Improved: Added content for Employee Positions in Human Resources. Thanks Alan Zarsuela for the documentation contribution (OFBIZ-10259)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840210 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 11:07:24 +00:00
Sharan Foga 8e0fb2bf9a Improved: Added content for Employees in Human Resources. Thanks Benjamin Jugl for the documentation contribution (OFBIZ-10260)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840208 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 10:37:31 +00:00
Sharan Foga d66910e9ac Improved: Added content for Employments in Human Resources (OFBIZ-10261)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840205 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 10:10:06 +00:00
Jacques Le Roux d9a5ec2471 Improved: Remove duplicate labels from ProductUiLabel.xml
(OFBIZ-10550)

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840204 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 10:04:42 +00:00
Jacques Le Roux db83d25ab4 Improved: Remove duplicate labels from OrderUiLabel.xml
(OFBIZ-10548)

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840203 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 10:04:09 +00:00
Jacques Le Roux d896ed0186 Improved: Display From address in send confirmation email form
(OFBIZ-10493)

Open any sales order and press "Send a confirmation email" button. 
Note that header From is read-only and empty. No problem with read-only mode as 
the address has been taken from ProductStoreEmailSetting but I think it would 
be better to display this address.

Thanks: Oleg Andreyev

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840189 13f79535-47bb-0310-9956-ffa450edef68
2018-09-06 07:50:54 +00:00
Jacques Le Roux f2aab378fe Improved: Improve NL labels in ManufacturingUiLabels.xml
(OFBIZ-10547)

Improves Dutch labels in Manufacturing component to enable adoption increase.

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840129 13f79535-47bb-0310-9956-ffa450edef68
2018-09-05 12:35:21 +00:00
Nicolas Malin 31b32ff2e1 Fixed: Warning in console logs related to entity definitions
(OFBIZ-10540)
I introduced two waring on log with the commit OFBIZ-10514 (Refactoring ContactMechWorker.get[Entity]ContactMechValueMap)
Thanks to Deepak Nigam to raise and correct it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839965 13f79535-47bb-0310-9956-ffa450edef68
2018-09-03 14:18:30 +00:00
Jacques Le Roux 1c73989942 Implemented: 'Reserve After Date' for order items
(OFBIZ-10534)

While creating orders from the backend, we have the option to set parameters 
like 'Ship After Date' and 'Ship Before Date' to manage the fulfilment cycle 
more efficiently. 

Inventory gets reserved for the product based on a FIFO basis. Sometimes the 
fulfilment time for the order is high and inventory unnecessarily gets locked 
for some time period.
 
We can introduce a new parameter (at order item level) 'Reserve After Date' 
which will indicate the date only after which reservation can happen. 
In this way, we can manage the stock availability more efficiently.
 
This issue relates to OFBIZ-10518

Thanks: Deepak Nigam  for the effort, Deepak Dixit for a review and suggestions

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839914 13f79535-47bb-0310-9956-ffa450edef68
2018-09-03 08:15:08 +00:00
Jacques Le Roux 6056b47770 Improved: Improve NL labels in ProductUiLabels.xml
(OFBIZ-10544)

Improves Dutch labels in Product component to enable adoption increase.

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839912 13f79535-47bb-0310-9956-ffa450edef68
2018-09-03 08:05:49 +00:00
Nicolas Malin 487ad5e7dd Improved: Add shipmentIds list parameter on quickShipPurchaseOrder service return
(OFBIZ-9376)

Service "quickShipPurchaseOrder" allows to create a reception for every ship group of a purchasing order. This work correctly but it didn't return shipments reference that has been created during the receptions.
Now we can obtains the shipmentIds list after a receipt to help the follow.

Thanks to Pierre Gaudin for this proposal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839787 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 19:17:39 +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
Deepak Dixit 6d3395f4c4 Improved: Removed extra unused code to set the fromDate to avoid duplicate PK in case of mysql. As mysql added support to store Fractional Seconds in Time Values, this has been fixed under OFBIZ-9337
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839653 13f79535-47bb-0310-9956-ffa450edef68
2018-08-30 09:27:04 +00:00
Jacques Le Roux b21b8891e4 Improved: Improve NL labels in OrderUiLabels.xml
(OFBIZ-10543)

Improve Dutch labels in Order component to enable adoption increase.

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1839551 13f79535-47bb-0310-9956-ffa450edef68
2018-08-29 08:29:23 +00:00
Nicolas Malin 5bb8916cca Fixed: escape null pointer exception on ShipmentWorker.calcPackageWeight when a product haven't a productWeight value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838868 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 14:37:25 +00:00
Jacques Le Roux 99be3370a9 Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

I was waiting for months to do more on this, but got caught recently with this
pending change merged with a patch I tested. Better to get rid of it now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838665 13f79535-47bb-0310-9956-ffa450edef68
2018-08-22 16:59:59 +00:00
Jacques Le Roux 85c4d26378 Improved: no functional change
We have agreed to have lines no longer than 120 characters. This splits where
necessary, at least for me. I find that a bit longer sometimes makes things more
legible, we are not robots.

Also automatically removes an unused import (thanks Eclipse)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838384 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 15:49:00 +00:00
Jacques Le Roux 4b8d988563 Fixed: Search in Ecommerce no longer works
(OFBIZ-10531)

I guess that when I worked on OFBIZ-9164 I broke that.

I found 3 occurences where the dispatcher was not in the session because the 
session comes from the request and the request has not it in.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838381 13f79535-47bb-0310-9956-ffa450edef68
2018-08-19 15:30:42 +00:00
Nicolas Malin ea9844a6c4 Improved: Refactoring ContactMechWorker.get[Entity]ContactMechValueMaps function to improve processing speed
(OFBIZ-10514)
ContactMechWorker.get[Entity]ContactMechValueMaps are old historic functions that resolve all contact mech context related to an Entity (Party, Facility, Order, WorkEffort).
The problem that they create too many db call during their execution that decrease OFBiz performance when the contactMech history grow.

A solution use to improve the process speed was replace all db call through *GenericValue.getRelated* function by *Delegator.makeValidValue* to instanciate each GenericValue needed after an unique search call on a viewEntity. For the four entities : Party, Facility, Order and WorkEffort, I use the same view structure with a sub view entity on ContactMechDetail. This offer more genericity and permit to slim code.

This commit introduce a regression on genericValue resolved for ContactMechType and ContactMechPurposeType that currently lost their description, it's actually not awkward because theses genericValue use the function .get("description", locale) to resolve the description so call directly the label system.

For Order and WorkEffort, I merged the resolving process in one function, that can be extend later easily for some other entity like Invoice or Quote.
The new FtpAddress wasn't managed by this worker so I introduce it to keep the coherence.

Last improvement, I use 
   getPartyContactMechValueMaps(Delegator delegator, String partyId, Timestamp date, String contactMechTypeId) 
instead of
   getPartyContactMechValueMaps(Delegator delegator, String partyId, boolean showOld, String contactMechTypeId) 
to offert also more possibility to resolve at date instead just use now or all.

icing on the cake, I added groovy test to control this worker

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838349 13f79535-47bb-0310-9956-ffa450edef68
2018-08-18 21:23:31 +00:00
Suraj Khurana 9c2127b257 Improved: Added support to calculate deposit price as well while creating shopping cart item.
(OFBIZ-7482)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838320 13f79535-47bb-0310-9956-ffa450edef68
2018-08-18 08:34:18 +00:00
Jacques Le Roux d22812ba9b Fixed: You can't create a New Payment Group
(OFBIZ-10523)

There is a duplicated paymentGroupTypeId, it should a string not a list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838032 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 16:44:17 +00:00
Nicolas Malin 8aaadfd41f Fixed: No functional change, indent correctly the xml file workeffort/entitydef/entitymodel_view.xml and set self-closing tag on empty element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837999 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 08:58:11 +00:00
Deepak Dixit b5da481d29 Improved: Use input type=submit for form submission (OFBIZ-10482)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837892 13f79535-47bb-0310-9956-ffa450edef68
2018-08-12 08:52:51 +00:00
Deepak Dixit 2fe25b3d79 Improved: Replace #assign with #local in all the ftl macros
(OFBIZ-10516)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837830 13f79535-47bb-0310-9956-ffa450edef68
2018-08-10 18:49:03 +00:00
Gil Portenseigne ceea6ce791 Improved : Remove all unnecessary boxing and unboxing in Java classes
(OFBIZ-10504)

Thanks Taher, Jacques, Mathieu and Rishi for the review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837577 13f79535-47bb-0310-9956-ffa450edef68
2018-08-07 07:30:43 +00:00
Gil Portenseigne a855a8bd9a Fixed : File transfer management with communicationEvent and new contactMech FTP_ADDRESS
(OFBIZ-10245)

Fix package name of FtpAddress entity respecting renaming to 'org.apache.ofbiz'

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837297 13f79535-47bb-0310-9956-ffa450edef68
2018-08-02 13:10:26 +00:00
Julien Nicolas f6e8a8f4c7 Fixed: Unable to create new facility when DB has no facility
OFBIZ-10501

Some mistake in facility screens design, I don't know why it doesn't respect OFBiz screen list standard.
I only fixed the problem with the creation button, some flying condition and add a new menu action for facility

Thanks: to Gil PORTENSEIGNE for is help :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837150 13f79535-47bb-0310-9956-ffa450edef68
2018-07-31 14:11:23 +00:00
Julien Nicolas c24c5872e0 Fixed: Another typo in french translation of ProductOnlyOneFacility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837122 13f79535-47bb-0310-9956-ffa450edef68
2018-07-31 08:06:24 +00:00
Julien Nicolas 266fad09b4 Fixed: Typo in french translation of ProductOnlyOneFacility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837121 13f79535-47bb-0310-9956-ffa450edef68
2018-07-31 08:03:29 +00:00
Aditya Sharma bb047e2b00 Improved: Add Option to update Facility Party Role on Edit Facility Party Role screen.
(OFBIZ-9085)
Used response type as 'view' instead of 'request-redirect' for error. As commented by Deepak Dixit on dev mailing list 'In case of error, we need to use view or request as response type as if we use request-redirect we need to redirect all the form parameter along with error messages.'
Thanks Deepak for the heads up.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837028 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 07:30:13 +00:00
Aditya Sharma 4c4932be8d Improved: Add Option to update Facility Party Role on Edit Facility Party Role screen.
(OFBIZ-9085)
When using response type as 'view', the url of the page changes to specific request name. Instead of that it is better to use 'request-redirect' to give a better user experience. Hence, changing response type to 'request-redirect'.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836908 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 13:31:49 +00:00
Aditya Sharma 5ac33f6b59 Improved: Add Option to update Facility Party Role on Edit Facility Party Role screen.
(OFBIZ-9085)
Manually applied the outdated patch. Slightly modified the patch changes, uiLabel was missing for title of 'thruDate'.
Thanks Akshay Modak for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836906 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 13:28:46 +00:00
Deepak Dixit 3093b5a476 Improved: Used input type=submit instead of anchor and javascript code to submit form where applicable.
(OFBIZ-10482)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836905 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 13:27:22 +00:00
Deepak Dixit d71d1c4617 Improved: Removed unused code, input type image was used to submit form usign onClick event. These code was from pre-apache era
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836894 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 12:26:31 +00:00