Commit Graph
14503 Commits
Author SHA1 Message Date
Hans Bakker 27d86e7361 replace ftl with form because no submit button present on the link form, also added an explanation of this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 05:46:04 +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 d6e8686248 OFBIZ-3858 - a patch from David Cervera - Spanish title of Catalog app is wrong
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963610 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 07:05:40 +00:00
David E. Jones af619fd463 Fixed and enhanced updateTimeEntry, before it would not update anything unless an invoiceId was specified and now will properly only update invoiceId and invoiceSeqId if they are not already set, and all other fields regardless; also now updates the hours based on from/thru date if they hours are not specified, ie it auto-calculates those based on the dates/times
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963410 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 18:08:46 +00:00
Scott Gray be15953af1 No functional changes. Fixed indentation to use separate indent levels for freemarker and html. Committers please consider using this method, it makes templates MUCH easier to read.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963242 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 11:22: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 57afcb230f Change IN and OUT parameters names in order to generalize (I have generalized the Ajax calling and will use it later in Example with a couple of country/states dependent dropdowns)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960863 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 10:37:21 +00:00
Erwan de Ferrieres dbbcedd7ba From http://www.culture.gouv.fr/culture/dglf/mel.htm, in French, we are using mél for an e-mail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960841 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 08:40:33 +00:00
Hans Bakker 234c5aa7e9 change the type bigdecimal to double to avoid conversion errors in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960502 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:43:48 +00:00
Scott Gray bb12340bd9 set operation was always returning null because the inline bsh wasn't returning anything
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960143 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 00:48:05 +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
Jacques Le Roux 060a0ad59b Internationalize the category/products and country/state dependent dropdown "worker" services (when the list is empty we need to show something to explain)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959984 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 13:45:55 +00:00
Jacques Le Roux 205b0e5eeb New getAssociatedProductsList service to help dynamically populate a products dropdown given a product category id from a change in another dropdown, possibly sorted on sequenceNum.
As they are no such examples in OFBiz yet, I will later create an example of use in Widget form Examples which of course needs some javascript (it's for now based on the same than for country/states)

At term I would like to generalize and have it embedded in OFBiz widgets, will see even later...
I will also consider Anil's proposition: https://code.google.com/p/ue-protoui/source/browse/trunk/src/DependentSelect.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959951 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 11:12:36 +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
Erwan de Ferrieres 8fb16d24b1 Better French uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958846 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 06:58:53 +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
Jacques Le Roux cc9fcc46c5 Better place for showOutOfStockProducts and storeCreditAccountEnumId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956664 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 18:40:10 +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
Scott Gray 5db5584476 Add a freemarker template directive (same as a transform) for making catalog urls i.e. same as StringUtil.wrapString(Static["org.ofbiz.product.category.CatalogUrlServlet"].makeCatalogUrl(...))
Can be accessed using <@ofbizCatalogUrl [productId=] [currentCategoryId=] [previousCategoryId=] />

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956484 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:04:53 +00:00
Scott Gray 0f29438bfd Make sure the shipment id is transferred to the WeightPackageSession
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956438 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 01:59:30 +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
Jacques Le Roux 48a872868d Fix a bug 1st reported by Sharan on user ML and wrongly fixed by me (I mixed the lines :/), then reported again by BJ at "keywordsearchbox looks up category instead of product" (https://issues.apache.org/jira/browse/OFBIZ-3827) - OFBIZ-3827
I fixed it by hand, BJ's patch was not enough

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956340 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 09:41:59 +00:00
Jacques Le Roux b5b1ea45e1 I like the Groovy's Elvis operator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956226 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 13:49:49 +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
Jacques Le Roux 9152e67d2e A patch from Eric De Maulde "Product Categories page without category name" (https://issues.apache.org/jira/browse/OFBIZ-3826) - OFBIZ-3826
Into the form UpdateProductCategoryMemeber (Product Categories page) categoryId appears twice if category description is empty, but category name is more significant and always full.
Also the form name has an error.

Into UpdateProductCategoryMemeber form, this patch changes category description to category name. It corrects the form name to UpdateProductCategoryMember


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956201 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 09:10:33 +00:00
Jacques Le Roux 7ad8af8dba Fix some typos, I don't think they had a real impact, but any way it's better like that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956022 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 15:22:00 +00:00
Ashish Vijaywargiya 3b45817f98 Inventory reservations should not be done with defective inventory in system.
Patch from Pranay Pandey(Thanks!)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955340 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 18:30:24 +00:00
Jacques Le Roux 8787d226ec I was too quick yesterday evening when I removed useless lines at top of updatePartyContactMech in r954583, some of them might turn useful in some cases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954733 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 07:46:26 +00:00
Jacques Le Roux 85f720ade3 Fix a bug that seems to have been introduced at r934389 for (https://issues.apache.org/jira/browse/OFBIZ-3703) - OFBIZ-3703
This fix a bug in updatePartyContactMech. When you wanted to update only the extension of a phone number it did not get stored. 
I said "that seems to have been introduced" because it's working in stable demo.

I also remove a useless couple of lines at the beginning of the updatePartyContactMech service.

Finally I must say that I find very weird to have extension in PartyContactMech entity. It would be certainly more logical to have in TelecomNumber. Is it really used for anything else than phone number extension?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954583 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 18:40:05 +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 173a5bf11e A patch from Sascha Rodekamp "Add a Uom Description to the Product Feature Table" (https://issues.apache.org/jira/browse/OFBIZ-3818) - OFBIZ-3818
URL : https://localhost:8443/catalog/control/EditProductFeatures

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953964 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 09:02:36 +00:00
Scott Gray 2d9cf72a50 Remove stray character introduced in r953889
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:58:15 +00:00
Scott Gray c7e8ffb10e Fix bug where the service's responseMessage was being used to return error messages instead of the proper payment gateway parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953889 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:10:13 +00:00
Vikas Mayur be2c5e7231 Consider returned items for a non-serialized inventory as good merchandise.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953580 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 06:53:12 +00:00
Jacques Le Roux 0394703f8e A patch from Sumit Pandit "Average product rating is not calculated properly." (https://issues.apache.org/jira/browse/OFBIZ-3816) - OFBIZ-3816
In ProductWorker.java, method getAverageProductRating is used to calculate product's average rating. It is always return zero.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953294 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 12:10:24 +00:00
Hans Bakker 6420789510 make sure a send email does not show on the originators 'open' email list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953277 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 10:57:13 +00:00
Jacopo Cappellato fd287e7b9b Removed code that is not needed after my last commit (refactoring of dependent/mandatory pruns diplayed in the overview page)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953228 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 06:59:22 +00:00
Jacopo Cappellato 34f78a9642 Refactored code to display dependent/mandatory production runs in the overview page to be more consistent with the production run's assoc page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953226 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 06:52:49 +00:00
Erwan de Ferrieres 5b2b852c2c Changing portlet category from PROFILE to PARTY_PROFILE to make it more understandable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953014 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 14:05:46 +00:00
Jacques Le Roux a6d8955001 Fixes "Lookup LookupCustRequestItem goes wrong when layered" (https://issues.apache.org/jira/browse/OFBIZ-3813) - OFBIZ-3813
The line bypassed was specifically added for "Lookup Layer Search of a Variant Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
But it did not was generalized enough, this should handle all the other cases where a link is in a cell of the result list that is not the 1st one cell



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952249 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 14:36:33 +00:00