Commit Graph
15 Commits
Author SHA1 Message Date
Jacques Le Roux d5c336ed3a Fixed: Error on quick ship complete order (OFBIZ-12185)
When we try to quick ship entire order from the Order Manager, the following
error is thrown (in some cases, specifically when we have added a telecom number
for the customer

This was broken by OFBIZ-11462

Thanks: Priya Sharma
2021-02-21 14:14:38 +01:00
Jacques Le Roux a608fa4b56 Improved: puts dates in migration services to be able to remove them later 2021-02-10 11:02:59 +01:00
Mridul Pathak 8487df8666 Fixed: MessagingException in sendShipmentScheduledNotification service (OFBIZ-11984)
The sendFrom emailAddress had the unnecessary comma prefix. The sendTo emailAddress list was a list of lists instead of list of strings.
Also affected sendOrderDeliveryScheduleNotification minilang service. <string-append> tag was used with comma prefix for sendFrom emailAddress, since the sender would only be one used <set> tag without any prefix instead.
2020-08-27 23:58:27 +05:30
Mridul Pathak ef56f80bb3 Fixed: Error in sendShipmentScheduledNotification service (OFBIZ-11983) (#234)
sendTo field was wrongly being fetched from PartyAndContactMech view to get emailAddress, replaced it with the correct entity field infoString.

Thanks: Jacques for input.
2020-08-26 21:30:07 +05:30
lodhiravi 4739019732 Fixed: Error in Quick Receive Purchase Order process. (OFBIZ-11911) (#219)
Corrected typo
2020-07-25 12:11:12 +05:30
lodhiravi 356af00b83 Fixed: Converted GString to String while setting success message in receiveInventoryProduct service to avoid the ClassCastException. Also corrected loop condition while creating inventory information during PO receiving to fix the issue where each product is getting received two times (doubled the qty) instead of single time.(OFBIZ-11909) (#218) 2020-07-25 12:04:03 +05:30
Pawan Verma efc016e5c9 Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Sometimes use wrong type castings for BigDecimal:

Used BigDecimal.ZERO and BigDecimal.ONE instead.
2020-07-03 14:08:14 +05:30
Jacques Le Roux 4bf23fdd9c Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Fixes syntax errors introduced by my previous commit
2020-06-30 18:42:43 +02:00
Jacques Le Roux df179777b6 Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Sometimes use wrong type castings for BigDecimal:

I have observed that for typecasting in groovy, we have used the wrong coding
pattern like

(BigDecimal) 0
It should be like
0 as BigDecimal

Note that this does not apply to decimal because in case of decimal, the default
type is always BigDecimal in Groovy.

Thanks: Pritam Kute for spotting the issue in OFBIZ-11843
2020-06-30 15:17:47 +02:00
Jacques Le Roux 3926134950 Improved: Moves Shipment Services files from sub-dirs to shipment dir (OFBIZ-11468)
In PR#150 Pierre Smits suggested to move this new Groovy files updir:

"There is no need to have subfolders defining where the services belong to when
such is already captured in the name of the file, e.g.:
folder /shipment/receipt/ when the filename has ShipmentReceiptServices.groovy
Similarly
/shipment/issuance/ when the filename has ShipmentIssuanceServices.groovy"
2020-06-27 08:01:08 +02:00
wpaetzoldandWiebke Pätzold 7335ce021a OFBIZ-11468 Improved: Convert ShipmentReceiptServices.xml mini lang to groovy (#150)
* Improved: Convert ShipmentReceiptServices.xml mini lang to groovy

(OFBIZ-11468)

Also converted getTotalIssuedQuantityForOrderItem in IssuanceServices, because it is used in ShipmentReceiptServices and needed more return values.

* split to long lines

Co-authored-by: Wiebke Pätzold <Wiebke.Paetzold@ecomify.de>
2020-06-24 10:57:28 +02: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
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
Sebastian Berg 7fcde49d82 Improved: Convert ShipmentServices.xml mini lang to groovy
(OFBIZ-11462)
2020-05-12 17:48:12 +02:00
Nicolas Malin 1e5c621420 Improved: PicklistStatusHistory doesn't follow history entity status pattern
(OFBIZ-11182)
The entity PicklistStatusHistory record each status change realized on picklist.

It can't be convert to entity-auto easily because PicklistStatusHistory's fields pattern
doesn't follow same entities like ShipmentStatus and PartyStatus.

To solve this issue, I deprecate PicklistStatusHistory and move it to OldPicklistStatusHistory
and replace it by new entity PicklistStatus that can use natively with entityauto.

I added a new migration service migrateOldPicklistStatusHistoryToPickListStatus to forward all 
picklist status history to new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866558 13f79535-47bb-0310-9956-ffa450edef68
2019-09-07 15:51:06 +00:00