Commit Graph
14503 Commits
Author SHA1 Message Date
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
Jacopo Cappellato d972ee8dda Fixed a fop runtime error happening when no materials or no tasks were defined.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990726 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 08:24:10 +00:00
Jacques Le Roux 2cc0283da6 <?xml version="1.0" encoding="iso-8859-1"?> allows to read accentuated characters in Docbook
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990539 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 10:53:28 +00:00
Scott Gray 1a86d7d4b6 Replace null check with a null safe expression (even though productTypeId should never be null anyway)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:47:07 +00:00
Scott Gray 7956d456d6 Continue with the next iteration on exception, prevents potential NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990333 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:46:58 +00:00
Scott Gray fcfa1386e5 Replace date condition with in-memory date filtering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990332 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:46:48 +00:00
Ashish Vijaywargiya aaec638d26 Applied patch from jira issue OFBIZ-3904 - Bug in calling methods defined in Usps Services.
Calling "getPackageSplit" & "calcPackageWeight" methods from outside of the class causes compilation error, as their access modifiers are private. 
So fixing this bug, following points are covered in this commit.
1) Moving "getPackageSplit" and "calcPackageWeight" from UspsServices.java to ShipmentWorker.java. They are not Usps third party related methods.
2) Changing access modifiers of these methods to public.

Thanks Vivek for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990127 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 12:35:29 +00:00
Jacopo Cappellato 0f4c0e143e Fixed an issue (NPE) that was preventing the cost and qoh calculation in the scalar explosion; slightly improved layout of scalar explosion; added weight information.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990097 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 11:01:44 +00:00
Jacopo Cappellato e7c2988ede Fixed a series of layout issues that were preventing the production run pdf to be really useful (overlapping contents, messed up fields etc...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990086 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:24:13 +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
David E. Jones 8a2dd45310 A few changes to make the code more consistent that determines the address to use for tax calc, especially when there is no shipping address, ie when it is a face-to-face sale
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990006 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 03:13:27 +00:00
David E. Jones ee0e437a3c Fixed issue with createFacilityContactMech where purpose was not being created, it is created now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990004 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 03:06:24 +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
Jacques Le Roux 9fd01fcd31 Removes a framework dependency on Marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989389 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:20:18 +00:00
Erwan de Ferrieres 353f609b52 Adding missing French uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989031 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 11:55:55 +00:00
Jacopo Cappellato 8999de4c0c Fixed bug that was preventing the product name from appearing in the production run pdf; also added the production run name, when available; slightly improved the pdf layout for these two fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988923 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 09:27:17 +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 d166ab0737 Oops, a unwanted log had slipped in in r988728
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988828 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 07:06:33 +00:00
Jacques Le Roux 5fd0165b7a No functional changes only better description of getAssociatedProductsList service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988728 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 21:03:53 +00:00
Jacques Le Roux a8aab34859 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988541 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 13:55:33 +00:00
Jacques Le Roux 792aa82bee A solution for "State field is missing - Not in List or N/A" reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3247 - OFBIZ-3247
I finally decided to use the new Dependent Dropdowns mechanim.
I have also refined how it's used in Example to avoid confusion, so changed setDependentDropdownValuesJs.ftl to pass paramKey when it's different from mainId

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988508 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 12:32:52 +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
Bruno Busco 0fe784196c Replaced PartyClassificationTabBar FTL file with a standard TabBar menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 11:41:25 +00:00
Jacques Le Roux cb4beec116 A patch from Rene Scheibe "Facility Manager: "Default Weight Unit" is not shown correctly" https://issues.apache.org/jira/browse/OFBIZ-3893) - OFBIZ-3893
page: Looking at https://127.0.0.1:8443/facility/control/UpdateFacility

The "Default Weight Unit" is not shown correctly. It is always showing "none".

This was not fixed correctly in rev 931700. Just added selected="selected". 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987841 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 00:27:09 +00:00
Jacopo Cappellato 657ccb35c3 Simlified service definitions for CRUD operations on the TechDataCalendarWeek entity: this fixes an error happening when the exception week was edited.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987698 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 05:39:59 +00:00
Bruno Busco 598f535807 Replaced party visits list screen with a more standard findVisits one.
Included Search options form for visit filtering and paginations.
Some ftl files have not yet been deleted because used in the projectmgr application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987162 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 14:39:01 +00:00
Hans Bakker 2d9b75a30f this is a revert of r731487 to downgrade freemarker from 2.3.15 to 2.3.10 because of speed problems. In order to make the older version work we changed the following:
- create new OfbizCatalogUrlTransform class
- delete CatalogUrlDirective.java class
- set ofbizCatalogUrl transform to OfbizCatalogUrlTransform class
- In htmlFormMacroLibrary.ftl file, change floor directive to floor method of Math class
- change freemarker version in .classpath and LICENSE files
We are in discussion with the freemarker developers to solve this problem there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986577 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 06:33:12 +00:00
Jacques Le Roux 3e925d6a06 Moves getCountryList and getAssociatedStateList from Party component to Framework to avoid dependencies on Party component (countries and states are not parties, but Geo, ie should be in the framework)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986325 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 14:31:25 +00:00
Jacques Le Roux 89dec0b0bf Completes r985856 "Cost calculation is still broken and no shipping costs are returned"
I forgot to commit the change in ShipmentCostEstimate: add productStoreShipMethId to ShipmentCostEstimate when created by createShipmentEstimate. Else new created ShipmentCostEstimate would be inconsistent, see http://markmail.org/message/2f6ryfm6fvvrvx74  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985902 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 12:41:00 +00:00
Jacques Le Roux 4cf1de3119 Fix a bug reported in this thread http://markmail.org/message/2f6ryfm6fvvrvx74
"Cost calculation is still broken and no shipping costs are returned."

Note that nothing still is calculated for Fedex. I'm not quite sure if it's related, but Fedex has changed/is changing how things work. The API is deprecated, replaced by web services and will be totally unusable in May 2012

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985856 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 10:14:45 +00:00
Jacques Le Roux 8b9e3c3f66 Uses a better syntax w/out any fixed naming conventions. Thanks to Andrew. More to come soon in Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985745 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 20:25:01 +00:00
Jacques Le Roux 33d9854c6f Fix "Attach Features to Category from Products" (https://issues.apache.org/jira/browse/OFBIZ-3890) - OFBIZ-3890 reported by Michał Cukierman
Steps:
1) Go to Catalog Manager
3) Select Large Gizmos cateogry
4) Go to the features second lvl tab
5) Click "Attach Features to Category from Products" option

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985718 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 17:52:25 +00:00
Bruno Busco ef82b88d15 Better Italian labels.
Removed a duplication of a FormField label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985547 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:44:42 +00:00
Bruno Busco d17613645b Added "Description" label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985546 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:43:34 +00:00
Bruno Busco b147ea3c5e Adding the "create" class on appropriate buttons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985545 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:42:25 +00:00
Bruno Busco 0d4faa902a No necessity to specify the field title. Using the formfield_** label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985544 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:40:11 +00:00
Bruno Busco 5e5b6a9309 Slightly improved Party Manager help screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985539 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:36:00 +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
Hans Bakker dbfe449399 simplyfication of code and comment out log message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983544 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 07:39:51 +00:00
Adam Heath 0062d852d7 Also check OrderAdjustmentBilling for an orderId linkages when
displaying InventoryItem records.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982872 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:47:10 +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
Jacopo Cappellato 067defc63c Fix for typo; unfortunately the typo is also in the id that is a primary key: this should be fixed as well but will require some work to make it backward compatible and I don't have time to do it now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982596 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 13:05:19 +00:00
Jacopo Cappellato fb18f7f63e Fixed wrong parameter set in the link to the production run detail page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982595 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 13:03:31 +00:00
Hans Bakker 167adb75bc allow the update of invoiceId's of 'completed' timesheet entries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982503 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 08:31:50 +00:00
Jacopo Cappellato 057fa56a04 Fixed a couple of issues (reported by Giorgio Tomaselli) in the MRP event search form: error thrown (due to a missing import statement) when a date filter was selected and removed unused and old "description" field (now the description is provided by Ajax)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982276 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:57:40 +00:00
Jacopo Cappellato fde2b45002 Improved error handling: the java event was hiding the error returned by the service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982273 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:53:54 +00:00
Hans Bakker ce47857de5 update a link in the internal documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982155 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 08:17:59 +00:00