Jacques Le Roux
84fb49d051
A patch from Wai "missing request-maps for search related buttons" ( https://issues.apache.org/jira/browse/OFBIZ-3929 ) - OFBIZ-3929
...
Missing request-maps in ordermgr controller.xml:
clearSearchOptionsHistoryList
setCurrentSearchFromHistory
setCurrentSearchFromHistoryAndSearch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995686 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:13:41 +00:00
Adam Heath
f8f89ac3c8
Add ReturnHeader.supplierRmaId, an informational header, to provide a
...
field to support tracking of rmas by suppliers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995201 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:12 +00:00
Ashish Vijaywargiya
9adc1e0669
Applied patch from jira issue - OFBIZ-3924 - Bug on creating Communication event for order return emails(return accept, return complete and return cancel).
...
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.
Thanks Anurag for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993387 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:03:20 +00:00
Ashish Vijaywargiya
4474b06d4f
Applied patch from jira issue OFBIZ-3921 - Return PDF should contain reason of return.
...
Thanks Anurag for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992244 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:48:07 +00:00
Ashish Vijaywargiya
e90d83e6af
Applied patch from jira issue OFBIZ-3909 - Bug in showing online estimate rate on UPS services.
...
UPS Online shipping rates are showing wrong values when product weight having different weightUomId. It doesn't support UOM Conversion as it is working in USPS services.
So fixing this bug, following work is done.
1) Calling generic methods "getPackageSplit", "getProductItemInfo" & "calcPackageWeight" methods from ShipmentWorker.java
2) Removed duplicate methods from UpsServices.java
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990751 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 09:55:02 +00:00
David E. Jones
5c10ed8b2d
Related to 990006 the tax calc address code is made more consistent and supported at a lower level by passing in a facilityId when available; this is the order component part and the other commit was the lower level accounting component part
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990007 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 03:20:10 +00:00
Bruno Busco
6cb038332c
Removed settings of hideSearch field. This is not used any more.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:54:50 +00:00
Hans Bakker
552ab71a62
make the access of productData and content use the cache. This wil result in a 20% speed increase of the ecommerce homepage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988893 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 08:45:08 +00:00
Jacques Le Roux
c486b5d0de
Adds a new ShoppingCart.CartPaymentInfo public method which uses and set an authCode. This is like PosTransaction.java.setPaymentRefNum method in POS but allows to add an authcode without having already a payment info in place, ie when creating an order at the same time.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988411 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 07:24:46 +00:00
Ashish Vijaywargiya
67a7985925
Changing the sorting order(storeName -> productStoreId, storeName) of Product Store. In general for testing purpose we create sales order for an Ecommerce store from the back office ordermgr application, so each time we select the Ecommerce ProductStore first to have all the upcoming steps work without any issues. Now after this change the "OFBiz E-Commerce Store" should come first on OrderEntry screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987996 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 05:04:53 +00:00
Jacques Le Roux
008c6f660b
Fix a bug reported by rrhati on user ML: Error message while adding to cart from ecommerce's promotion detail page
...
I get a error that "ERROR: No promotion found with ID [] " when I click on "add to cart" on the promotional items from the promotiondetail page. Have a look at the screenshots at
http://ofbiz.135035.n4.nabble.com/Error-message-while-adding-to-cart-from-ecommerce-s-promotion-detail-page-td2320794.html#a2321147
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985473 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 12:06:48 +00:00
Jacques Le Roux
f8c2c2be19
A patch from René Scheibe <<"createUpdateBillingAddressAndPaymentMethod" service called from one page checkout throws Exception due to incorrect field name>> ( https://issues.apache.org/jira/browse/OFBIZ-3887 ) - OFBIZ-3887
...
Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".
Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 11:20:55 +00:00
Adam Heath
b273b52dad
Finally created a script to find and fix tons of missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adam Heath
be8ece3717
When loading an order into a cart, handle per-item tax adjustments
...
correctly, by storing them in CartShipItemInfo, instead of the
ShoppingCartItem.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981699 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 22:33:00 +00:00
Adam Heath
2da92e401f
Some more trailing newline changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981698 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 22:32:54 +00:00
Adam Heath
496a0b09f6
In loadCartFromOrder, add support for restoring the per-ship-group sales
...
tax adjustments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981600 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:00:26 +00:00
Scott Gray
327081a1bb
Replaced all usage of CommonWorkers.hasParentType(...) with the EntityTypeUtil version.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981447 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 10:48:06 +00:00
Scott Gray
9346035a5b
Deprecate method* that doesn't use its input parameter and add a new method that doesn't take one.
...
* org.ofbiz.order.shoppingcart.CheckoutHelper.checkOrderBlackList(GenericValue)
use checkOrderBlackList() instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981179 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:52:19 +00:00
Scott Gray
b5f71c236c
Remove throws declaration for unthrown exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981178 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:52:11 +00:00
Scott Gray
1d8c3ad20c
Remove unnecessary null assignment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981177 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:52:02 +00:00
Scott Gray
14d812f57d
Fix bug in unused method, the newly created result map was being iterated over instead of the input list. Also added generics markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981176 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:51:54 +00:00
Scott Gray
220ba3feae
Generics markup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981175 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:51:44 +00:00
Scott Gray
4448c4a866
No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00
Jacopo Cappellato
8c0e270f51
Added ability to create new shipment groups to an existing order. This also fixes a bug mentioned in one of the comments to "OFBIZ-1809" (duplicated ship groups were assigned to newly created items when they were not assigned to the first ship group). Misc code formatting fixes that I did while wading thru the code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@980655 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 05:37:28 +00:00
Adam Heath
69074cfa54
Don't check for purchase allow membership if skipProductChecks is true.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@966380 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:41:02 +00:00
Adam Heath
ac2299c50e
Fix a bunch of no final newline issues.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Adam Heath
0a5b117b8f
Fix NPE in thrown exception reporting an invalid orderHeader when
...
orderHeader is null in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965915 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:14:11 +00:00
Scott Gray
40d54f842e
Run olap SECAs asynchronously so that if they encounter any problems then the entire process that they're attached to won't get rolled back.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965332 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 00:13:06 +00:00
Scott Gray
0a09814ebf
URLs defined as javascript variables shouldn't be xhtml encoded because when they are assigned to an element's url attribute (action, href, etc.) the browser doesn't decode them before using them.
...
Applied patch from Deepak Dixit OFBIZ-3860 and additionally fixed some others that I found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963915 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:38:19 +00:00
Erwan de Ferrieres
722c243ac0
OFBIZ-3849 - Removed hard coded year and month from 'Order Entry Payment Settings' screen for credit card
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960997 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:52:34 +00:00
Jacques Le Roux
392e1fc698
Better French Labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960009 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 14:42:06 +00:00
Anil Patel
699760f7ed
When creating party, Use passed in partyId and not from userLogin.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958953 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 12:54:07 +00:00
Jacques Le Roux
7953289430
I don't know how this line was removed anyway I re-add it (found by chance while backporting to R4.0)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958521 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 09:51:16 +00:00
Jacques Le Roux
a12192be22
Finally I thought that there are no good reasons to show canceled values: this amends r958343
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958514 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 09:36:28 +00:00
Vikas Mayur
11d43510a0
Fixed a bug in Vendor Returns. A zero amount purchase order is created for replacement return in approved status but since the purchase order is not associated to the product store any more it was throwing an error.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958473 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 06:38:30 +00:00
Jacques Le Roux
8cf49bf87d
The Sales by Store Report was wrong has it did not use a complex alias for quantityOrdered (OrderItem.quantity - OrderItem.cancelQuantity) but only OrderItem.quantity. Thus canceled quantities were not taken into account.
...
A little drawback is that if there are 0 values sold this values show. But actually it's not a problem since it informs the user that all quantities ordered for this product has been canceled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 07:42:46 +00:00
David E. Jones
cd4ba0840f
Added code to get tax id in more circumstances in the PDF company header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957870 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 10:07:38 +00:00
Jacques Le Roux
ea5e0ae9f6
Revert r957221 based on community consensus
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957430 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:28:42 +00:00
Jacques Le Roux
6b9d0f5139
Fix: "FIXME Problem here the input field is shared", now use also a layered lookup, only remains the order item (a bit more convoluted)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:36:31 +00:00
Jacques Le Roux
b6030fa93c
Product.productTypeId may not exist in a custom application
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957160 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 11:16:33 +00:00
David E. Jones
b441416115
Small change to not blow up if orderHeader.salesChannelEnumId is not set in the order manager order detail screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956858 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 12:03:59 +00:00
Vikas Mayur
f2e47a18c5
Fixed an issue when SupplierProduct.minimumOrderQuantity was not displayed on the bulk product lookup screen in order entry.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956558 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:01:35 +00:00
Scott Gray
375eec00c2
Update catalog urls to use the new OfbizCatalogUrl directive
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956485 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:05:07 +00:00
David E. Jones
aba8b28655
Improved missing party handling for order view, especially purchase orders; also in the CompanyHeader improved getting bill to customer so it doesn't do the same thing over and over, and it could possibly be simplified more but should have a better fallback for future changes with the current two possible ways of getting it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956402 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 20:12:27 +00:00
Anil Patel
0eb8a5547d
Fix typo. Added billTo prefix to the field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956206 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 09:30:31 +00:00
Erwan de Ferrieres
abfdde6bfb
OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id ( https://issues.apache.org/jira/browse/OFBIZ-3765 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Jacques Le Roux
9ef845d0ad
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
86e817b533
Reverted on Scott's advice (useless and give some trouble on back button: POST => msg like "do you want to send again", not GET)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacques Le Roux
4943ab1e3b
Secure some targets. Note that they have been introduced since OFBIZ-2243 has been closed.
...
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Anil Patel
37e569a115
Fix missing prefix for shipTo and billTo phone numbers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951251 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 03:19:45 +00:00