Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement.
JLR: only the fields and getters are provided in this patch, no UI changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057571 13f79535-47bb-0310-9956-ffa450edef68
Go to ordermgr/control/orderview for an order that doesn't have stock ready for picking.
Click on Prink Pick Sheet
You'll get a Pick Sheet PDF with the message "Order not ready for picking, needs stock move"
Look at logs, you'll see an EntityListIterator was created and never closed, so a warning message was logged when the finalize was executed.
The problem is in the findOrdersToPickMove simple method in
applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml .
There's a <use-iterator/> for the OrderHeaderAndItemFacilityLocation entity.
After the entity-condition element, there's an <if> element, and the iterator is only used when the "if" condition is false, i.e. the <else> part is executed.
My fix is simply to move the <entity-condition>, complete with <use-iterator>, within the <else> element so the condition is evaluated and the iterator created only when the iterator will be used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057519 13f79535-47bb-0310-9956-ffa450edef68
All cases are now fixed
Also replace all tabs by spaces
JLR: I have fixed another related bug at r1057153 (the 1st one I crossed and is the summary of OFBIZ-4100). It was introduced by r1040908 and I'm afraid there are more unwanted side effects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057154 13f79535-47bb-0310-9956-ffa450edef68
But in Flat Grey, even when you had the content of the bluelight/help.css in flatgrey/help.css...
I have set the default lookup_popup2 size to width=900 height=700, now that anyway OFBiz is designed to be used with at least a 1024*768 screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056986 13f79535-47bb-0310-9956-ffa450edef68
So WhizzyWig is not needed anymore. I removed also WhizzyWig Notice and while at it Scriptaculous Notice (which should have been removed when we merged jQuery branch)
BTW, is CoolTips Notice still needed?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056984 13f79535-47bb-0310-9956-ffa450edef68
If there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.
Thanks to Dukian for quick testing!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056977 13f79535-47bb-0310-9956-ffa450edef68
The createEntittyAuditLogSingle function creates a record in the AuditLog entity even when there's no change. This patch only logs new, changed and deleted values. Also, all changes in the same transaction will get the same change date.
After applying this patch the overhead of the AuditEntityLog is recuded from 32% to 25%.
There's even more room for performance increase: a findOne search for the previous entity is done for every field that's enabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056973 13f79535-47bb-0310-9956-ffa450edef68
It's also available as an attachment of OFBiz Contributors Best Practices page in wiki. It needs Eclipse/Aptana for editing Javascript files and notably to format them correctly. I suggest also to not use tabs in *our* javascript files but 4 spaces (like in Java)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056913 13f79535-47bb-0310-9956-ffa450edef68
The issues already fixed were
* A Save File dialog box pop up to save a json file
* Creation did not update the list
* You can't edit the column "Name" content
* Sometimes it worked on an instance, not another (both with same configuration)
* Sometimes the same instance, which did not work before, worked
I found another issue, the line
<on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly">
was duplicating the list and hiding the create section.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056824 13f79535-47bb-0310-9956-ffa450edef68
Two reasons to this:
# we are not sure the descriptionFieldName is alwayd of the form formName_descriptionFieldName
# anyway we need a form name for call_fieldlookup3 and call_fieldlookup2 just above in htmlFormMacroLibrary.ftl.
While at it, I also removed all question marks in ${uiLabelMap.ProductIncludeSubCategories}? occurrences, it's already in the labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056731 13f79535-47bb-0310-9956-ffa450edef68
Rohit reported a bug in the jQuery implementation (ecommerce):
The find button is not working in the 'googlebase' application. The 'googlebase' application has a page using which u can to search for product to be submitted to google base. the find button is not submitting the page at all.
Sascha: This issue was related to the Lookup Call. The Form in Google Base hadn't a 'name' tag, so the form could not be found. I changed the target by name to a target by Id call (which is better anyways).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056701 13f79535-47bb-0310-9956-ffa450edef68
Rohit reported a bug in the jQuery implementation (ecommerce):
With the jQuery branch being merged into the trunk, 2 new issues have been identified in the onepagecheckout, and they are:
1) the remove item link does not work in the shoppingcart panel, and
2) the cart is not updated if cart quantity is changed or promo codes are entered.
There was also a caching problem in IE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056672 13f79535-47bb-0310-9956-ffa450edef68
During the last works on the my portal module, the Drag'n'Drop functionality was lost. Here is a fix which enables the Drag'n'Drop again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056670 13f79535-47bb-0310-9956-ffa450edef68
This cames from Adam's advice: http://markmail.org/message/kai5lfvlnsz7xwki
Sascha comes to this solution
The Idea is to have a method which takes a JSON Object with uiLabel Resources and label entries and returns the resolved labels in a JSON Object which can be used directly in the JS Code.
The advantage of this way, is that we have only one Ajax request which reads all labels. The alternative is an Ajax request for each label, which simplify the request (because you haven't to create a complex JSON Object) but is very expansive.
* Replaces all JS alerts with the new fancy error boxes
* Adds a few uiLabels
I simply fixed some typos. I did not test all cases but did a good review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056497 13f79535-47bb-0310-9956-ffa450edef68