Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 747a4a3154 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Adrian Crum 222733911b Fixed a bug in the FixedAssetTransactions. Patch contributed by Simon Maskell - https://issues.apache.org/jira/browse/OFBIZ-5488.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1558373 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 13:19:51 +00:00
Jacopo Cappellato b3de2f2f20 Fixed bug reported by Adrian Crum and introduced with the promotion engine refactoring that I committed in rev. 1554265: under some conditions an "ArithmeticException: Non-terminating decimal expansion" could be thrown by the new ShoppingCart$ProductPromoUseInfo.getUsageWeight() method due to missing scale and rounding mode; this method computes a "weight" for the "promotion use" that is used to sort promotions to be applied.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1558145 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 18:25:12 +00:00
Jacques Le Roux 64d21b3a29 Completes r1557447, the annoyances of blind reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557457 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 20:04:19 +00:00
Jacques Le Roux c06bd63860 This fixes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453
It actually does more than that. It follows Adrian's proposition of improving the GeoPoint data model. 
I did not applies all of Adrian's proposition (see our conversation in the Jira issue). Feel free to apply it completely if you are inclined so. 

I will also add an entry in wiki page "Revisions Requiring Data Migration (upgrade ofbiz)" at https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=7045166

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557447 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:39:23 +00:00
Jacques Le Roux 6aef8ce9c3 A comment about demo usage of geoPointId="9000" (reused for several cases)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556472 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 09:27:57 +00:00
Jacques Le Roux ba353e058f I was wrong renaming it from Edit to View at r1555884 http://svn.apache.org/r1555884. I did not see that there is a, by default hidden, upper part of the screen where you can enter data. So it's an interesting complement to Party Geo Location update screen where you edit a party geo location using Google Map (address search and goe point displacement on map).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556464 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 08:40:08 +00:00
Jacques Le Roux 1bfbaebc3b Resolves but not yet closes "Because of the elevation field in GeoPoint we need a many relationship for (at least) PostalAddress and Facility" at https://issues.apache.org/jira/browse/OFBIZ-3198
Simply add a geo point in FacilityLocation for now. Keeps the Jira issue open but resolved as incomplete, we will see later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555886 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 16:19:33 +00:00
Jacques Le Roux 0839a0381b This should be rather named View than Edit, there is no edition there, confusing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555884 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 16:14:53 +00:00
Jacques Le Roux ee6ccc5d9f Those are the real elevations, according to http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555614 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 19:15:11 +00:00
Jacques Le Roux 5b6c8e1953 Change a en to de duplicated label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555474 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 10:06:10 +00:00
Jacques Le Roux 3f9e3a260c Mmm, fixes a typo in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555194 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:39:51 +00:00
Jacques Le Roux a7c48e1d30 Even for testing purpose, I like things to be precise. Google geo coder still fails by about 100 meters (fun :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555187 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:25:01 +00:00
Jacques Le Roux e6038681c9 Fixes a bug reported by Christian Carlow at
https://issues.apache.org/jira/browse/OFBIZ-5457 for "Groovy error when initiating sales order creation for unkown partyId" 

This error is generated when an unknown partyId is entered in the Customer field of the sales order entry form:

To resolve the issue, lines 60-63 of CheckInits.groovy should be wrapped in an IF block checking for the existence of the product variable previously assigned.

jleroux: Christian's patch did not apply but it was easy to do it by hand.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555142 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 16:41:49 +00:00
Jacques Le Roux 676997b394 I did not get a chance to test my last editGeoLocation related change, here is the definitive version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554787 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 11:14:01 +00:00
Jacques Le Roux 22cdda72c4 This closes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453
And definitively fixes issues with i18n of geolocation 

It introduces a "locale" attribute to the "set" operation in widget (I only tested screen, form is quite similar, should be ok) and minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554681 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 21:30:12 +00:00
Jacques Le Roux c28edba6d8 This fixes the geolocation in OFBiz, for both Google Maps and OpenLayers. It seems few changes, it took me more time than I thought. I hope this will last few years again, and it should be easier to maintain now.
What I did:
Upgraded from Google Maps API 2 to 3, which also means removing the keys in general.properties. They are no longer needed in API-3 (at least for our demo and local test uses), one worry less!
Refactored Google Maps code in geolocation.ftl: put more things in common,  simplified code (the API-3 is better from this POV).

For OpenLayers, due to most browsers now rejecting mixed content (HTTP vs HTTPS), I had to follow their advice and put OpenLayers-2.13.1.js + images and theme(finally not used) in the framework. Not a big deal in term of size but again one more lib to worry about. Anyway geolocation is not vital for OFBiz. I have also added a zoom and navigation widget in maps. Note that IE warns about mixed content, but you can bypass it.

While working on editGeoLocation (in Party) I noticed it does not update the elevation. I found it was possible http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm but I did not implement it, lack of time...
Also I got once a NPE in CallSimpleMapProcessor (when using editGeoLocation) but was unable to reproduce (w/o changes before and after)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554536 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:22:21 +00:00
Jacopo Cappellato 26ae0b63bb Removed incomplete JUnit test that was created by Hans Bakker in commit 1449615 in order to test the feature associated to a new field calcTaxAfterPromotion; after this, Paul Foxworthy reverted the commit in rev. 1468865 but he forgot to remove the whole test and instead he updated it, leaving it in a useless state.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554373 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 06:52:35 +00:00
Adrian Crum 2d953bf8e1 Fixed a bug in Party Manager where FreeMarker threw an exception when a PostalAddress did not contain a country GEO ID.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554290 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 18:15:49 +00:00
Jacopo Cappellato 462c8b0bc5 This is a refactoring of the product promotion engine in order to overcome some limitations that prevented it to select and apply the best set of promotions under special conditions.
Example: Consider two promotions:
* consider two products: Product A, with price $20, and Product B, with price $40
* Promotion 1: 20% discount on all the products in a category containing Product A and Product B
* Promotion 2: 40% discount on Product A

When Product A and Product B are both in the cart:
* Expected behavior: on Product A the Promotion 2 should be applied i.e. 40% discount, and on Product B Promotion 1 should be applied i.e. 20% discount.
** Summary
Product		Price	Discount		Subtotal
A		$20	$8 (40% discount)	$12
B		$40	$8 (20% discount)	$32
Total Adjustment: $16

* OFBiz behavior (before this fix): Promotion 1 is applied to Product A and Product B; this happens because the total discount of Promotion 1 is greater than the total discount of Promotion 2 and OFBiz applies promotions sorted by discount (desc)
** Summary
Product		Price	Discount		Subtotal
A		$20	$4 (20% discount)	$16
B		$40	$8 (20% discount)	$32
Total Adjustment: $12

The new solution fixes this issue and similar ones.

Here are some details about the new algorithm.

Overview of the flow:
1) run the promotions one by one in a test run
2) collect the ProductPromoUse information
3) sort them by weight (i.e. the ratio between the discount and the value of the products discounted)
4) execute the ProductPromoUse in the given order

In order to understand this solution, and specifically the changes to ProductPromoWorker.java, there is an important concept to consider:
one Promotion can generate more than one ProductPromoUseInfo objects.
For example if I have 2 units of WG-1111 in the cart (in one cart item) and I have the promotion “20% discount on WG-1111 and GZ-1000” then the system will create TWO ProductPromoUseInfo objects both associated to the same promotion one for each of the 2 units discounted.
Similarly if I had two lines: 2 units of WG-1111 and 1 unit of GZ-1000 I would get 3 ProductPromoUseInfo objects 2 objects for WG-1111 and 1 object for GZ-1000

We can sort these ProductPromoUseInfo objects based on their weight (i.e. the ratio between the discount and the value of the products discounted) in desc order
and now we have a sorted list of ProductPromoUseInfo objects ready to be executed
However we only want to execute each of them once and for this reason we set (in memory, not in the DB) the useLimitPerOrder to 1 in the first ProductPromoUseInfo of a given promotion and then to 2 if the same ProductPromoUseInfo is associated to the same promotion etc...
in this way the end result is that the system will generate, as we desire, ONE ProductPromoUseInfo only for each of the ProductPromoUseInfo in the list.

Here is an example:
we have 2 promotions:
PROMO A
PROMO B

After test run:

ProductPromoUseInfo - PROMO A - #1 - weight 0.3
ProductPromoUseInfo - PROMO A - #2 - weight 0.3
ProductPromoUseInfo - PROMO B - #1 - weight 0.4

After sorting:

ProductPromoUseInfo - PROMO B - #1 - weight 0.4
ProductPromoUseInfo - PROMO A - #1 - weight 0.3
ProductPromoUseInfo - PROMO A - #2 - weight 0.3

Based on this we create a list (sortedExplodedProductPromoList) of ProductPromo:

PROMO B - with useLimitPerOrder=1
PROMO A - with useLimitPerOrder=1
PROMO A - with useLimitPerOrder=2

When we apply these to the cart we get the following results:

PROMO B - with useLimitPerOrder=1 APPLIED
PROMO A - with useLimitPerOrder=1 APPLIED
PROMO A - with useLimitPerOrder=2 NOT APPLIED (because PROMO B used the item)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554265 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 15:53:07 +00:00
Adrian Crum 2798fbd80f Fixed the FinAccountTests - which assumed the tests would be run in the order they appear in source code, which JUnit does not guarantee:
http://stackoverflow.com/questions/3693626/how-to-run-test-methods-in-specific-order-in-junit4


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554064 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 20:42:16 +00:00
Jacques Le Roux ede1994465 A patch from Leon for "NPE thrown out while rendering disabled menu item" https://issues.apache.org/jira/browse/OFBIZ-5451
The method "renderLink" of new class MacroMenuRenderer calls the WidgetWorker.determineAutoLinkType. When menuItem.getDisabled() is true, the link target will be set to null and NPE occurs.

jleroux: This was related with r1517353 and r1537833. The Leon's patch fixes r1517353 and this commits also reverts r1537833


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553887 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 18:55:53 +00:00
Jacques Le Roux 3cd8445fe3 Fix a bug reported by Chris Snow at https://issues.apache.org/jira/browse/OFBIZ-2847 for "Create New Inventory Item - user entered Inventory Item Id overwritten with system generated one"
It does not make sense to allow entering an inventoryItemId. It is and must be generated by the system anyway (to prevent collisions)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552908 13f79535-47bb-0310-9956-ffa450edef68
2013-12-21 14:24:51 +00:00
Jacques Le Roux 8b770eea31 From a wrong Christian Carlow's patch for "ShipBeforeDate/ShipAfterDate of additional ship groups displayed incorrectly on shipping options page of Customer Order Entry app" https://issues.apache.org/jira/browse/OFBIZ-5381
ShipBeforeDate/ShipAfterDate of ship groups are displayed incorrectly on the shipping options page of the Customer Order Entry app.  The dates is set correctly but the shipping options page does not get the shipping date by shipGroupIndex.  Instead it gets the shipBeforeDate/shipAfterDate of the order item.  The page should be changed to get the dates by passing in the shipGroupIndex: cart.getShipAfterDate(shipGroupIndex)

To reproduce
1.  Create new order for DemoCustCompany
2.  Add productId "GZ-BASKET" with quantity 10
3.  Click "Finalize Order" link
4.  Click "Create New Ship Group" button on Shipping page and then click "Continue" link
5.  Assign 5 of GZ-BASKET to Ship Group 2 and click "Continue" link
6.  Select shipping methods and set shipBeforeDate/shipAfterDate and click "Continue" link
7.  Click the "Options" link to return to previous ship options page
8.  Notice the dates of the second ship group are incorrectly set to the same values as the date of the first ship group

jleroux: Christian's patch was reversed, with his comment I eventually got the idea

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552901 13f79535-47bb-0310-9956-ffa450edef68
2013-12-21 13:50:08 +00:00
Jacques Le Roux 2f3a2983fa Oops, what happens when you don't test before committing, fr is not en
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552681 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:18:27 +00:00
Jacques Le Roux 8d3f4a2d11 Adds a French label (at least have main menus localised) and fixes crap as expected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552674 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:56:28 +00:00
Jacques Le Roux 012aea6aac Adds a French label (at least have main menus localised)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552668 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:47:40 +00:00
Adrian Crum 0ea913ca1b Fixed a FreeMarker exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552316 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 13:31:53 +00:00
Jacques Le Roux 1c89a37122 A slightly modified patch from Praveen Agrawal for "Order Return Process doesn't override the Order Adjustment Amount that is provided from Return Screen GUI" https://issues.apache.org/jira/browse/OFBIZ-5439
OFBiz return services (OrderReturnServices.java - createReturnAdjustment) contains a bug when generating the Return Adjustments based on the Order Adjustments.
The bug is it is ignoring the 'overriding amount' entered on the screen.
For example If an order has an Shipping Charge Order Adjustment in the amount of 7.95 and from the screen the cleint wants to return only 5.95 (override), the return services ignores the 5.95 entry and returns the full 7.95.

jleroux: I removed a BigDecimal amount declaration which was conflicting
I formatted the if block

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552290 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 12:20:32 +00:00
Jacques Le Roux 274a420596 Fixes an issue where externalKeyParam was not escaped in link so was useless (this is only in .ftl files)
Actually the right thing to do should be to work on migrating all freemarker templates in backend to widgets and using target-type="inter-app" for those. I know Adrian has opened a Jira for that, next task in my TODO list. 
Without this effort we will never be able to style the backend uniformly, notably in custom projects...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552149 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 23:00:57 +00:00
Jacques Le Roux ad01b0df4c A slightly modified patch from Pierre Smits for "Improvement of Dutch localization in WorkEffortMgr" https://issues.apache.org/jira/browse/OFBIZ-5435
jleroux: Removed few duplicates en labels


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551609 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:35:25 +00:00
Jacques Le Roux 00fe5c3681 A slightly modified patch from Pierre Smits for "Improvement of Dutch localization in PartyMgr" https://issues.apache.org/jira/browse/OFBIZ-5433
jleroux: 
French label change wrong, removed
<value xml:lang="fr">OFBiz : Gestionnaire d'acteur</value>
Removed duplicates en
<value xml:lang="nl">Team</value>
<value xml:lang="nl">Account</value>
<value xml:lang="nl">Project team</value>
<value xml:lang="nl">Sponsor</value>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551605 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:22:49 +00:00
Jacques Le Roux b670bf49c9 A patch from Pierre Smits for "Improvement of Dutch localization of OrderEntityLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-5432
jleroux: the French label change was wrong, removed (forgot in previous commit)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551600 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:13:42 +00:00
Jacques Le Roux 75042592c8 A slightly modified patch from Pierre Smits for "Improving Dutch localization of OrderUiLabel.xml" https://issues.apache.org/jira/browse/OFBIZ-5431
jleroux: the French label change was wrong, removed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551596 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:05:57 +00:00
Jacques Le Roux eb01bb126d Misc. cleaning in labels
Removes all empty ones
Removes some redundant/duplicates ones (please committers don't commit those again, I know it's not easy to catch, hopefully now we should have less of them)
Automatically replaces some tabs
Few French labels improvements
Removes 2 orphan entries ("ja" & "cs")
Fixes the schema header of WebtoolsUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551594 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:00:50 +00:00
Christian Geisert 38a03c0c29 Completed German translation for MarketingUiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551585 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 15:41:47 +00:00
Jacques Le Roux 69ca22e987 Removes nl labels which are actually duplicates of en.
Those were introduced (as wrong C/P I guess) at r732423

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551460 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 05:31:14 +00:00
Jacques Le Roux 4c3e9b7ec8 No functional changes:
Removes all remaining unchecked warnings
Automatically adds some @Override

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551207 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 13:30:46 +00:00
Jacques Le Roux 5a535722ef Better to have this in another tab or window
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550702 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:16:00 +00:00
Jacques Le Roux 063c383d33 Better to have this in another tab or window
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550690 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 11:11:06 +00:00
Jacques Le Roux 18e77722a4 I see no reasons to not have expand/collapse all for new product (creation). I guess it was simply a half-batched C/P from above item, so I will backport to releases (R11.04 is ok)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550515 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 20:39:09 +00:00
Jacques Le Roux bd155829c9 Removes blank line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550434 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 15:13:26 +00:00
Jacques Le Roux 0c2d1c6201 No functional change. Removes useless check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550433 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 15:13:08 +00:00
Jacques Le Roux 576a213948 No functional changes, code improvements
Fixes some dead code entries
Automatically adds some override annotations


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550429 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 14:53:38 +00:00
Jacques Le Roux 20c0205762 I checked with Pierre this was a wrong C/P from above
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550380 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 09:23:48 +00:00
Jacques Le Roux fadc86742b A patch from Pierre Smits for "Improving Dutch references in AccountingEntityLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-5407
jleroux: there are also few English labels changes and a new TaxAuthorityRateType.description.EXCISE_TAX labels with much languages

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550378 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 09:12:55 +00:00
Jacques Le Roux 2fec67919d No functional changes
This removes a tab introduced with Christian Carlow's patch for "Cancelled ship groups show incorrect quantities on edit order items page" OFBIZ-5405
It also puts the quantity check box near the quantity to avoid any confusion and modify the related label to clarify (English and French only), incidentally this removes a tab introduced with Thaï labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550258 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 21:00:27 +00:00
Jacques Le Roux 11300fa28f A patch from Christian Carlow for "Cancelled ship groups show incorrect quantities on edit order items page" https://issues.apache.org/jira/browse/OFBIZ-5405
Cancelled ship groups show incorrect quantities on the edit order items page.  I cancelled a ship group with a quantity of 2 for an order item but the quantity was still set to 2 when entering edit mode again.  Because its not set to 0 or blank, all cancelled ship groups must manually be set to one of those values in order for the quantity not to be added back after updating the order items.

This patch resolves the problem. It calculates the ship group quantity with OrderItemShipGroupAssoc.quantity - OrderItemShipGroupAssoc.cancelQuantity in editorderitems.ftl



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1550255 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 20:48:30 +00:00
Jacques Le Roux 6983020dc5 A patch from Christian Carlow for "HTML embedded in entity fields is rendered as text rather than HTML elements when using FTL" https://issues.apache.org/jira/browse/OFBIZ-5376
StringUtil.wrapString is now employed as it is on the order items section of the order creation review page.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1548143 13f79535-47bb-0310-9956-ffa450edef68
2013-12-05 14:06:39 +00:00
Jacques Le Roux b169a7dcfc Missed to commit GetAccountOrganizationAndClass.groovy in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547745 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 09:35:22 +00:00