Commit Graph
8661 Commits
Author SHA1 Message Date
Erwan de Ferrieres aff44ccb2f Removing "Réf" from some French uiLabels and adding new ones
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936370 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 15:53:06 +00:00
Ashish Vijaywargiya 7b0b6d9a95 Applied patch from jira issue OFBIZ-3735 - Added defaultSequenceNum field for sort order in makeCategoryFeatureLists method for ParametricSearch.
Description of the work:
Added defaultSequenceNum field for sort order in makeCategoryFeatureLists method for ParametricSearch.java.
If user want to display product feature in specific order for advanced search so this could be done through defaultSequenceNum. Currently product feature sort only basis of description in makeCategoryFeatureLists method.So if user set defaultSequenceNum field for ProductFeature, then productFeature can not sequence according to defaultSequenceNum for advanced search.
After adding defaultSequenceNum field in sort order, ProductFeature now also sort with respect to defaultSequenceNum. 

Thanks Deepak & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936296 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 13:29:08 +00:00
Ashish Vijaywargiya 51cbf6993d Adding statusId optional input parameter in createOrderPaymentPreference service.
Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 11:35:55 +00:00
Ashish Vijaywargiya a9d1a7a8f5 Applied patch from jira issue: OFBIZ-3633 - Minimum order quantity.
It will work as follows;
We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in ProductPrice entity. On the basis of it we will get the minimum order quantity of the product on the basis of this price and sale price.
Will get the minimum order quantity for product by division. For example we have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.

To achieve the above ;
write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the itemBasePrice and productId as in parameter, and call it where we add, update the cart items and change the quantity to minmumOrderQuantity if it is less then minimum.

Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936228 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:36:40 +00:00
Hans Bakker 4b1e6c5fad corrected sequence generator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936154 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 04:19:22 +00:00
Adam Heath ceb3fad391 Add a releaseDate to a product, mostly informational, intended to mean
when the product was first assembled for purchase, or, for books, when
it was published initially.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 22:46:14 +00:00
Adam Heath 53dd5cc4eb interfaceProductPromoAction.cartItemModifyException needs to be
optional.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936099 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 22:46:05 +00:00
Adam Heath 3bd6e61b99 Make casing of Sales Discontinuation Thru Date consistent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936098 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 22:46:00 +00:00
Jacopo Cappellato 28b3d7ee19 Patch from Bob Morley, OFBIZ-3724: when a ProductionRun was created the WorkEffortCostCalc relations were not cloned from the routing tasks. This resulted in not being able to change the CostCalc as part of a ProductionRun unless you were to change the routing task template for all production runs. –
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935969 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 15:55:27 +00:00
Ashish Vijaywargiya 9712434557 Applied patch from jira issue: OFBIZ-3719 - Include DOCTYPE at the begining of CMS driven html page.
Description of work:
Include DOCTYPE at the begining of html pages, that are render through cms.
Currently DOCTYPE is included in HtmlHead.ftl for cms.
By doing so the DOCT YPE is always included on the top of the page before rendering single HTML statement.

Thanks Deepak & Rishi for the contribution and Scott for the comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935886 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:03:21 +00:00
Jacques Le Roux c064f81282 A patch from Luís Alfredo Harriss Maranesi "Brazilian Portuguese Translation for Manufacturing" (https://issues.apache.org/jira/browse/OFBIZ-3725) - OFBIZ-3725
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935880 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 11:45:35 +00:00
Jacques Le Roux f66aeda383 Fix 2 labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935879 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 11:43:16 +00:00
Bilgin Ismet Ibryam 524e0f300e Added autocompleter to LookupContactList and LookupPreferredContactMech screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935657 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:34:09 +00:00
Jacopo Cappellato 9fa32439f0 Fixed wrong labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935591 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:22:02 +00:00
Ashish Vijaywargiya dee58397d9 Applied patch from jira issue OFBIZ-3717 - Cancel items should not displays on receive inventory of PO.
Thanks Arun & Pranay for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935497 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 09:43:58 +00:00
Jacques Le Roux 246b3f1395 Fix a bug reported by Blas Rodriguez Somoza: "Error in screen Accounting->Tax Authorities->Edit->GL Accounts" at https://issues.apache.org/jira/browse/OFBIZ-3714 - OFBIZ-3714
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935494 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 09:38:42 +00:00
Jacques Le Roux a5da982794 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (Product part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3587 - OFBIZ-3587
Medium set of changes; most very trivial (adding suppress serial, filling in Collection generics signature, removing or commenting out unused variables, etc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935487 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 09:23:10 +00:00
Scott Gray 63e75ce253 Fixed wrong class name, reported by Blas Rodriguez Somoza in OBIZ-3715
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935434 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:32:56 +00:00
Scott Gray 11ab7cdeac Fix bad variable reference, reported by Blas Rodriguez Somoza in OFBIZ-3713
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935432 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:23:08 +00:00
Scott Gray 911a066540 Added missing import. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3712.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:54 +00:00
Scott Gray 1a0df2ec7c As it turns out, Groovy's List.first() method doesn't quite behave as I'd assumed. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3711.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:41 +00:00
Scott Gray fbd346436a Replaced some commas with colons, fixes bug reported by Blas Rodriguez Somoza in OFBIZ-3710
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935401 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:14 +00:00
Bilgin Ismet Ibryam 1562b0a308 Added description field to TemporalExpression entity and related data plus forms. Part of https://issues.apache.org/jira/browse/OFBIZ-3521
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935387 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:41:20 +00:00
Adam Heath 7f439d2b60 Remove duplicate OrderItem relation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935382 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:53 +00:00
Adam Heath 95949ff2b7 Add <test-jar> macro.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935381 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:47 +00:00
Scott Gray b2f2a17e27 A few more EntityConditionBuilder examples
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935330 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:46 +00:00
Scott Gray b9c89499a5 A couple of examples of using EntityConditionBuilder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935329 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:32 +00:00
Jacques Le Roux f07a75fa13 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (Marketing part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3587 - OFBIZ-3587
Very minor change to VCard.java - now using unknown generic in iterator (Iterator<?>).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935313 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 08:06:49 +00:00
Bruno Busco 70ce5b9598 A patch from Blas Rodriguez Somoza
OFBIZ-3682 - XHTML validation errors round 2 (workeffort)
https://issues.apache.org/jira/browse/OFBIZ-3682
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

WorkEffortSearchOptions.ftl
Line 162: Input is not allowed directly inside table.

WorkEffortCommEventForms.xml
Line 59: hidden field in sort order before banner creates a visible empty table.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935310 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:20:44 +00:00
Bruno Busco dd833d6d77 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3683 - XHTML validation errors round 2 (product)
https://issues.apache.org/jira/browse/OFBIZ-3683
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935309 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:00:37 +00:00
Scott Gray d1c385bbfe A few examples of using groovy's first() list method instead of EntityUtil.getFirst(List)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 00:16:52 +00:00
Bruno Busco 6eff56b946 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3684 - XHTML validation errors round 2 (party)
https://issues.apache.org/jira/browse/OFBIZ-3684
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

visitdetail.ftl
From must be inside td.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935271 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:31:44 +00:00
Bruno Busco 35ac7ec381 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3685 - XHTML validation errors round 2 (order)
https://issues.apache.org/jira/browse/OFBIZ-3685
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

checkinits.ftl
Line 104, 171: duplicated id userLoginId

appendorderitem.ftl
Line 65: invalid a closing

editorderitems.ftl
Line 214: needed td close;

orderagreements.ftl
Line 35,55: hidden input must be inside td.
Line 37,67: attribute valign not valid for tr

orderinfo.ftl
Lines 22-88: form must be inside li.
Lines 232-248: form must be inside td.

orderpaymentinfo.ftl
LInes 122,123,124,155: wrong syntax -> class"label" should be -> class="label"

ordershippinginfo.ftl
Line 62: form must be inside li.
Line 296,297: label for attribute does not match input id
Lines 308, 310: label for attribute does not match select id
Line 318: duplicated unneeded id.
Line 319. 321: label for attribute does not match select id
Lines 499, 519: form must be inside td
Line 527: duplicated span open
Lines 521,546: form must be inside td
Line 552: duplicated span open

quoteInfo.ftl
Line 40: invalid /div

quoteRoles.ftl
Lines 24-44: avoid empty table

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935270 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:26:44 +00:00
Jacques Le Roux a0b01446aa A patch from Bob Morley "Resolve java warnings exposed in Eclipse (Party part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3589 - OFBIZ-3589
Party was very clean; only a few minor changes - also added a @SupressWarnings("serial") in framework's MimeMessageWrapper (noticed when fixing iteration from this in Party).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935269 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:25:40 +00:00
Jacques Le Roux b5cfc499f9 Organize import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935267 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:17:42 +00:00
Bruno Busco d1979c11c4 A patch from Blas Rodriguez Somoza
OFBIZ-3687 - XHTML validation errors round 2 (manufacturing)
https://issues.apache.org/jira/browse/OFBIZ-3687
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

EditProductBom.ftl
Line 110: duplicated id "productId"

EditCalendar.ftl
Lines 71, 74: unclosed td

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935266 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:07:44 +00:00
Bruno Busco 28e67b0349 A patch from Blas Rodriguez Somoza
OFBIZ-3688 - XHTML validation errors round 2 (content)
https://issues.apache.org/jira/browse/OFBIZ-3688
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

ContentTreeLookupList.ftl
Line 20: tr with attribute colspan

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935263 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:02:54 +00:00
Bruno Busco bdaf56ec66 A patch from Blas Rodriguez Somoza
OFBIZ-3689 - XHTML validation errors round 2 (commonext)
https://issues.apache.org/jira/browse/OFBIZ-3689
XHTML validation errors

    * Uppercase tags or attributes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935262 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:56:56 +00:00
Bruno Busco e96545ffc2 A patch from Blas Rodriguez Somoza
OFBIZ-3690 - XHTML validation errors round 2 (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3690
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

CostCenters.ftl
Lines 37,51: input must be inside td.
Lines 45,47: duplicated id, and invalid character "|"

EditCustomTimePeriods.ftl
Form must be outside table

CommisionReport.ftl
Line 77: invalid td outside tr and there is no open table at this point

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:52:20 +00:00
Scott Gray d4e34a244a Fixed a ton of pointless ServiceUtil.returnError(...) calls, I've left the ones that aren't inside services for now since they require a little more thought to fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935164 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:28:18 +00:00
Scott Gray f8354e3fa4 Get rid of a bunch of Integer instantiations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935163 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:27:15 +00:00
Jacques Le Roux 8f9b43feaa Change B2B and B2C stores names to avoid a drawback in demo order entry see "Order Manager: the Add Gift Certificate button in 3rd screen of order creation does not work" (https://issues.apache.org/jira/browse/OFBIZ-3636) - OFBIZ-3636
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935150 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:47:34 +00:00
Scott Gray a0943f6483 Switched a few other String to BigDecimal parsing attempts over to the conversion framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935140 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:41:57 +00:00
Scott Gray fc8af449a3 Switch to using the conversion stuff for getting a BigDecimal from a string
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935138 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:09:24 +00:00
Scott Gray 46734dcf97 Removed another unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935134 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:37:00 +00:00
Scott Gray 2fbe8da09b Removed two unnecessary not null checks and the corresponding unreachable else blocks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935133 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:48 +00:00
Scott Gray fdd0d5f4c2 Removed some unnecessary casts and added a little generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935132 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:34 +00:00
Scott Gray 39709d7b30 Added missing popup.js which seems to be required during ordermgr checkout
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935131 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:19 +00:00
Ashish Vijaywargiya 87b71cced0 Applied patch from jira issue - OFBIZ-3706 - updateOrderPaymentPreference service should not be dependent on flag cancelThis to cancel status of OrderPaymentPreference record.
Thanks Divesh & Pranay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935123 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 04:49:07 +00:00
Joseph Eckard 6f30dd1146 cleaned up order header adjustment display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935032 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:27:05 +00:00