Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux ba54de86ff A patch from Kiran Gawde "originalFacilityId is not populated in order" https://issues.apache.org/jira/browse/OFBIZ-4499
Order gets the facilityId from shopping cart. But facilityId is never set in shopping cart.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188564 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 08:33:24 +00:00
Hans Bakker 8efa6c396f fix some test cases which did run on derby but not progresql
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188521 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 06:01:41 +00:00
Adrian Crum 20cc328d7d Reverting my previous commit. It causes more problems than it solves.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188451 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 00:03:26 +00:00
Adrian Crum 3f51f39178 Small fix for Flat Grey visual theme - include a elements and form elements in the button-bar style.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188447 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 23:43:29 +00:00
Erwan de Ferrieres 0df2322108 A patch from Olivier Heintz - OFBIZ-4507 - French spelling correction in uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188389 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 21:21:22 +00:00
Erwan de Ferrieres 6cba4e2f6d Adding new uiLabel OrderChangedByUser, and adding uilabels when missing in OrderQuantityHistory, OrderUnitPriceHistory, OrderShipmentMethodHistory and ReturnAndReceivedQuantityHistory forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188359 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:29:36 +00:00
Erwan de Ferrieres 4344f6993b A patch from Olivier Heintz - OFBIZ-4505 - Order history screen display an error when a new ShipmentPlan have been created with no shipment method, even if it's corrected after
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188349 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:12:14 +00:00
Erwan de Ferrieres f3056a41f3 A patch from Olivier Heintz - OFBIZ-4504 - add a purpose to a CommEvent does'nt work, link is currently on AddCommContent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188343 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:05:44 +00:00
Erwan de Ferrieres cc48c68519 Missing French translation for PartyFindCommunicationsByOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188339 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:59:12 +00:00
Erwan de Ferrieres 9f7aa6f483 A patch from Olivier Heintz - OFBIZ-4503 - wrong jquery.custom.min address in product/commonScreens.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188334 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:45:02 +00:00
Jacques Le Roux b6e8b0e26b A patch from Leon "Append order item overrides the exist one if the last order item is "canceled"" https://issues.apache.org/jira/browse/OFBIZ-4470
Set the correct nextItemSeq of shopping cart. It the "next" item sequence id, not the miximal item sequence id.

The problem occured after OFBIZ-4485 patch was applied (see the third change: make order item sequence id more compact and truely "sequential").
Also with and  empty order (order without any valid items or all order items cancelled), then the problem will also occur if all the order items have been cancelled and the new order item is appended after that.

In the code level, if the nextItemSeq is set to the sequence id of last order item but not the true "next" one, then in ShoppingCart.makeOrderItems method, the problem will occur if the cart does not contain any exist order items (all cart items's orderItemSeqId are null):

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188042 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 08:39:46 +00:00
Jacques Le Roux cc1af0dfc5 A patch from Leon "Minor update to order and cart service" https://issues.apache.org/jira/browse/OFBIZ-4485
The patch is related to following issues:
1. after append a new item to created or approved order, the externalId data of original items are lost
2. after append a new item to created or approved order, the itemDesiredDeliveryDate value is wronly set to shipBeforeDate field
3. make order item sequence id more compact and truely "sequential"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187944 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 18:09:28 +00:00
Jacques Le Roux 526d518879 A patch from Kiran Gawde "Warnings while approving the purchase order" https://issues.apache.org/jira/browse/OFBIZ-4495
Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product.

[ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID
[ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null.

The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items.
The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 17:05:59 +00:00
Jacques Le Roux 6b763c3b83 A patch from Varun Bhansaly https://issues.apache.org/jira/browse/OFBIZ-4500
"Promo condition - Shipping method gets lost."

Steps to replicate -
1. Create a promo rule having condition with Shipping Total in LHS, an(y) operator, some value in RHS and some value in "Select Shipping Method". Click create.
2. Try updating RHS value, notice value for "Select Shipping Method" get lost.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187528 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 19:46:32 +00:00
Jacques Le Roux 04e499fcc2 A patch from Kiran Gawde https://issues.apache.org/jira/browse/OFBIZ-4491
"CommonUiLabels resource is missing from EmailOrderScreens.xml#OrderConfirmNotice"

Due to this various labels are not expanded in the email.
Added <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1187515 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 19:19:45 +00:00
Hans Bakker badd567bf3 remove the possibility to update payment applications: is too complicated and can cause posting problems, only allow add and delete, this is at the payment side
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1186102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 11:19:21 +00:00
Hans Bakker 9270f2c6c6 make sure the defaut image is shown in the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185724 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:33:44 +00:00
Jacques Le Roux 0c93d8e16f A patch from Wai "disable Page Push/Following...Push URL...Follow session feature" https://issues.apache.org/jira/browse/OFBIZ-4488
The UI associated with this functionality has been disabled to prevent confusion.

Associated postings for this issue:
http://ofbiz.135035.n4.nabble.com/Page-Push-Following-Push-URL-Follow-session-td3903077.html
http://ofbiz.135035.n4.nabble.com/Fw-Page-Push-Following-Push-URL-Follow-session-td3910266.html

jleroux: this is not really a bug, rather an incompleted feature, so I will not backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185270 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 15:56:45 +00:00
Jacques Le Roux 60161e2d26 A patch from Paul Foxworthy "Order not completed when filled from more than one InventoryItem" https://issues.apache.org/jira/browse/OFBIZ-4386
There is a nasty bug in IssuanceServices in the situation where the order is filled from more than one InventoryItem. When the order is created, there are OrderItemShipGrpInvRes reservations created for all the inventory items needed to fill the order.
In the simple method issueOrderItemShipGrpInvResToShipment in IssuanceServices, at line 173 (https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?hb=true#to173), there is an assumption that if the OrderShipment already exists, we are some sort of adjustment, and we should adjust the OrderShipment quantity by the difference between the old OrderShipment quantity and the new one. This all works fine in the situation where there is only one InventoryItem needed to fill the order. However, if there are two or more InventoryItems, the simple method is called twice, and an incorrect quantity is calculated.

The crux of the problem is that OrderShipment doesn't care about InventoryItems, so there will be only one OrderShipment row for a given product. In contrast, ItemIssuance does care about InventoryItems, so there will be more than one if the product is supplied from more than one InventoryItem. The ItemIssuance code doesn't take account of this distinction.

I have provided two patches. One is a new unit test that exemplifies the bug. If you just apply this patch to trunk, the unit test will fail with an OrderShipment quantity of 4 when it ought to be 6.

The other patch is my fix for IssuanceServices, which now looks for a relevant ItemIssuance to decide if we are adjusting quantities, or creating a new ItemIssuance (and possibly a new OrderShipment).

jleroux: only the test part (not backported)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185188 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 14:07:41 +00:00
Jacques Le Roux d8255c4c62 A patch from Paul Foxworthy "Order not completed when filled from more than one InventoryItem" https://issues.apache.org/jira/browse/OFBIZ-4386
There is a nasty bug in IssuanceServices in the situation where the order is filled from more than one InventoryItem. When the order is created, there are OrderItemShipGrpInvRes reservations created for all the inventory items needed to fill the order.
In the simple method issueOrderItemShipGrpInvResToShipment in IssuanceServices, at line 173 (https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?hb=true#to173), there is an assumption that if the OrderShipment already exists, we are some sort of adjustment, and we should adjust the OrderShipment quantity by the difference between the old OrderShipment quantity and the new one. This all works fine in the situation where there is only one InventoryItem needed to fill the order. However, if there are two or more InventoryItems, the simple method is called twice, and an incorrect quantity is calculated.

The crux of the problem is that OrderShipment doesn't care about InventoryItems, so there will be only one OrderShipment row for a given product. In contrast, ItemIssuance does care about InventoryItems, so there will be more than one if the product is supplied from more than one InventoryItem. The ItemIssuance code doesn't take account of this distinction.

I have provided two patches. One is a new unit test that exemplifies the bug. If you just apply this patch to trunk, the unit test will fail with an OrderShipment quantity of 4 when it ought to be 6.

The other patch is my fix for IssuanceServices, which now looks for a relevant ItemIssuance to decide if we are adjusting quantities, or creating a new ItemIssuance (and possibly a new OrderShipment).

jleroux: I commit patch by patch to be able to backport the fix, here only the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185179 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 14:03:30 +00:00
Hans Bakker 2c234661ac update the backend top left logo by specifying a url in the current accounting company partygroup or uploading a logon in partycontent. the logo will also show in the partyprofile. All themes are updated. Contribution of Antwebsystems employee 'Nop'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 10:58:47 +00:00
Hans Bakker d3b0d26077 change info message to verbose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185031 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 07:37:21 +00:00
Jacques Le Roux 1e755c13db A patch from Leon with help from Martin https://issues.apache.org/jira/browse/OFBIZ-4469
"Load product dimension when and only when the product is created successfully"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184999 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:58:39 +00:00
Jacques Le Roux 6cc1830b30 A patch from Dimitri Unruh https://issues.apache.org/jira/browse/OFBIZ-4471
"Minor API Extension for WebSiteWorker.java"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184997 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:54:52 +00:00
Jacques Le Roux c7b706cedc A patch from Kiran Gawde https://issues.apache.org/jira/browse/OFBIZ-4473
"ListProductStoreFacility in StoreScreen.xml is missing decorator-screen element"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184996 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:47:56 +00:00
Jacques Le Roux 806ae76832 As reported by Hans in r1184785 this is now useless, so removing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184991 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:18:50 +00:00
Jacques Le Roux e6fc03cb54 A patch from Wai https://issues.apache.org/jira/browse/OFBIZ-4486
"createuserlogin, createUserLogin duplicate request map entries"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184906 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 19:36:20 +00:00
Hans Bakker ea489d1c57 enable the update of the feature category description and remove translation because it is demo data and would not allow update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184785 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 09:00:07 +00:00
Jacques Le Roux ac49d59629 A patch from Deepak Dixit "Removing product association from catalog product assoc page, result page shows error message." https://issues.apache.org/jira/browse/OFBIZ-4484
Removing product association from catalog product assoc page, result page shows error message.
"Association not found: Product Id=, Product Id To=, Association Type Id=, From Date="



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183651 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 14:39:39 +00:00
Jacques Le Roux b940e9dac3 Following a message on dev ML removes a whole useless commented out block certainly forgotten in both configproductdetail.ftl files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183451 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 18:11:56 +00:00
Jacques Le Roux dc056e77ed Replaces 3 hardcoded sentences in <default-message> introduced at (r1170129, r1142915) since r1132726. Few remains... asking Hans...
Introduces also 2 new labels that will be used soon with commit for WIP OFBIZ-3913 (External Devices by Nicolas)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183423 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 16:59:16 +00:00
Ashish Vijaywargiya 0ec8f44676 Bug fix: Applied patch from jira issue OFBIZ-4441. UtilXml firstChildElement should use getNodeName instead of getLocalName.
We have observed the same issue in past and provided a patch for the same. For more details please refer the commit r995384.

Fixing bug of reading node name. When we read first child element of the response of any third party integration for example ups etc, node name can't be read using "node.getLocalName()". So changing  node.getLocalName() --> node.getNodeName().

This time before I revert my changes I will wait for Bilgin's comment to understand the exact problem with SOAP call due to which he did this changes. Bilgin please post your comment on this as soon as you get a chance.
http://svn.apache.org/viewvc?view=revision&revision=894359 

Thanks Kiran, Sascha for the contribution. We were also observing this issue since quite long so for now it is better to put the code in trunk and releasebranch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183314 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 11:39:19 +00:00
Jacques Le Roux d10ff1719f JQuery team does not care about plugins consistency, so we have to be careful. For instance, for more fun: in validate plugin we have also ptpt and ptbr...
Just found by chance while looking for consistency in JsLanguageFileMappingCreator class after refactoring

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182858 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:51:37 +00:00
Jacques Le Roux 75916a2ae6 Changes user role creation as it does not work.
Anyway this whole page seems broken or at least hard to understand how to use. BTW in R9.04 user role creation does not work because of lack of security, seems that nobody is worried about it so far, I let it like that...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182827 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:03:05 +00:00
Jacques Le Roux 690a5dd02e Fix a bug reported by Chatree "JavaScript location is empty causes a double requests problem" https://issues.apache.org/jira/browse/OFBIZ-4477
In r1178199, I missed to use the default DateTime file (jquery.ui.datepicker-en.js) being still with the idea that it was handled internally.

I have also refactored/simplified JsLanguageFileMappingCreator class and put comments to better explain how all that works






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 09:07:12 +00:00
Jacques Le Roux bf6d97f7c6 Fix a small bug in the show description tootip feeding (related to autocomplete and lookup)
It was cutting the 1st part in case of composed names (like "Tiny Gizmo").

Actually this is a compromise because it's impossible to correctly handle all cases w/out a deep (maybe impossible) refactoring on searchFields in Lookups screens definition.
So now for few lookups, tooltips descriptions will possibly contain more/redundant information than before (like "admin THE ADMINISTRATOR" in Order Creation, instead of only "THE ADMINISTRATOR" before) but by and large the behaviour will be better (ie descriptions will contain more complete information). This is obvious for products lookups for instance, but not only....

I have tried to generalize using the same logic in lookupDescriptionLoaded (in adding a showDescription parameter), but gave up as it was making things more blurred than before

I don't backport: more an improvement than a real bug


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182596 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 22:02:46 +00:00
Jacques Le Roux 810bd966a8 Fix a small bug: layoutSettings.javaScripts was used when layoutSettings.styleSheets should have been used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182310 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 11:18:28 +00:00
Jacques Le Roux a410f8fd1d Fix a bug here, there was a circular reference to EditGeo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182308 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 10:55:52 +00:00
Jacques Le Roux d1c5bb6392 Shows rather internalName than brandName in product lookup description (tooltip at right). Being mandatory InternalName is often more complete...
There are maybe other cases like that were the tooltip description could be better... Not a big deal...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182289 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 09:40:56 +00:00
Jacques Le Roux d7ff15da0f Replaces an hardcoded label in an alert(). There are still some technical ones like "An error occured loading content! : " but I don't think it's worth the trouble to fix (more for developers)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182280 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 09:23:37 +00:00
Jacques Le Roux 58cb2c39c1 Fixes "Stock Move: Error when attempting to select a From Stock location" https://issues.apache.org/jira/browse/OFBIZ-4465 reported by Alan Barker
It was simply a matter of replacing &amp; by & in PickMoveStock.ftl. 
I also improved by checking if the product was already selected

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182259 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 08:34:56 +00:00
Jacques Le Roux 3008a8d500 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182257 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 08:27:59 +00:00
Jacques Le Roux c58e94dca6 Makes the fieldlookup.gif background transparent. This should have been done far earlier :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1181878 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 16:31:05 +00:00
Erwan de Ferrieres c3a7d50175 Better French translations in projectmgr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1181229 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 20:34:23 +00:00
Hans Bakker ba48fd9024 formatting only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1180645 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 16:36:07 +00:00
Hans Bakker fcfd8ee4d5 correct typing error which prohibited showing potentional invoices to apply
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1180643 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 16:32:08 +00:00
Jacques Le Roux 8c06f33d4b A patch from Kiran Gawde "Reference to datetimepicker is wrong in CommonScreens.xml" https://issues.apache.org/jira/browse/OFBIZ-4463
Need to replace
/images/jquery/plugins/datetimepicker-0.9.6/jquery-ui-timepicker-addon.css
with:
/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.9.6.css

Note the reference is in two places.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1180398 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 16:09:32 +00:00
Sascha Rodekamp 5e41d63234 FIX: A patch from Leon which fixes the dependent State dropdown https://issues.apache.org/jira/browse/OFBIZ-4349
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1179943 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 06:25:06 +00:00
Hans Bakker 91741aeca6 update on rev: 1178759 wrong status was displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1179517 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 06:27:04 +00:00
Hans Bakker ce13ab7418 add a from/to date selection on the party invitation find
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1179515 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 06:14:28 +00:00