While navigate from Party profile page to create Party Attribute, there is no back option. Added missing cancel/done link on Party Attribute page. Not available in trunk and 12.04, not sure about other versions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498406 13f79535-47bb-0310-9956-ffa450edef68
Select one order item, and click "cancel selected items" link-button, if exception occurs, the exception message doses not display as expected.
I added the "locale" before invoke "cancelOrderItem" service in attached patch.
jleroux: I did not test but this makes sense since, in case of GenericServiceException, resultMap will not be available. The result on screen will maybe be ugly but at least something will show
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494485 13f79535-47bb-0310-9956-ffa450edef68
When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method
{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}
but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?
Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.
jleroux:
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493512 13f79535-47bb-0310-9956-ffa450edef68
currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false);
is not correct, the result is the list, so the remedy is simple:
currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false));
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493393 13f79535-47bb-0310-9956-ffa450edef68
I propose to extend the search mask for the search orders forms with the "Good identification" field.
A thing which can be improved is :
<option value="">Any good identification</option> (in "applications/order/webapp/ordermgr/order/findOrders.ftl")
adding : "Any good identification" to the resource bundle.
Also, I found a bug which exists from 10.04 at least:
search orders by shipment method does not work properly, because:
{noformat}
applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
currentCarrierShipmentMethod = delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false);
is not correct, the result is the list, so the remedy is simple:
currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false));
{noformat}
My patch has this fix, but it is necessary to make this fix for other OFBiz version.
jleroux: I simply added the ProductAnyGoodIdentification label, I will commit the groovy fix apart for easier backport
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493387 13f79535-47bb-0310-9956-ffa450edef68
When printing the production run the pdf is generated in the same browser window. This should be in a new target window
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493070 13f79535-47bb-0310-9956-ffa450edef68
On checkout page if any error comes it redirects user back to showcart page with an error message.
Expected : Error should be shown on the same page.
To reproduce the issue,
Goto OrderEntry -> Add any product to cart -> click on Quick finalize order now select shipping address & shipping method but don't select any payment option and now click on "Continue to Final Order Review" link. You will be redirected to showcart page and with a error message. "Please select a method of payment."
And expected behaviour is to show the error message on the same checkout page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488127 13f79535-47bb-0310-9956-ffa450edef68
There was an extra check in CheckOutEvents.setCheckOutPages that prevented an error message from being produced when no payment method was selected on the "How shall you pay" step of the checkout process.
jleroux: and you got redirected to the order entry page, with the patch you stay on the payment method page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488000 13f79535-47bb-0310-9956-ffa450edef68
Problem specification and step -
1) Go to Order Manager app > Find Orders
2) Enter valid product id for which order exists
3) Relevant orders with entered product value would be shown in search results
4) Enter invalid product id - JUNK value
5) Error behvaior:All orders on the system would be highlighted
6) Actual behavior: No order should be shown as search results, as no order exists with this JUNK product id on system
Observation -
When looked into code level found that system apply check for two condition -
1) If passes productId starts or ends with % or * then add that in condition list as it is and it returns all order that contains the word for product Ids.
2) If the above condition is failed the check if the product corresponding to product id is present or not.
3) If exists then check for variants (if its virtual)all this.
4) If product not exists then the action is missing i.e. no condition is added and it returns all order available.
Recommendation -
There are two ways to solve the issue -
1) If product corresponding to passes productId is not present then return message to user that order is not present.
2) If the thought process for current behavior is show all record if product not available then user should get a message as well that "Order is not available for your search product but we have all these order in system" to convey the correct message to user.
jleroux: The 1st solution is used. I simply added in label that no productId entered would return all the orders, also in French
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487854 13f79535-47bb-0310-9956-ffa450edef68