Commit Graph
520 Commits
Author SHA1 Message Date
Jacques Le Roux 57ee595bc2 Fix a bug reported by Arun Patidar at https://issues.apache.org/jira/browse/OFBIZ-3272 "Delete links for on Catalog-> Promos->Rules is not working." OFBIZ-3272
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885122 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 17:57:17 +00:00
Jacques Le Roux fffdd4175d A patch from Arpit Singh Pandya "Error is not Handle for Inventory, if wrong productId is passed, it is breaking the ftl." (https://issues.apache.org/jira/browse/OFBIZ-3265) - OFBIZ-3265
Steps to generate the problem
– Go to https://demo.ofbiz.org/catalog/control/main
– In Right bar at Search Products section Leave Product Id.
– Select "Inventory" in "Product Jump" DropDown.

It is breaking the ProductInventorySummary.ftl and EditProductInventoryItems.ftl code. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884758 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 07:25:06 +00:00
Jacopo Cappellato 099cd47379 Hidden marketing package specific information for non marketing package products in the inventory page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884653 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 17:27:22 +00:00
Adam Heath 8846568006 In the Product/Parties screen, the link to the related party was broken.
Instead of showing the related party, it would show the user who was
logged into the partymgr backend.  The patch that fixed this was
provided by Ean Schuessler in
(https://issues.apache.org/jira/browse/OFBIZ-3258) OFBIZ-3258

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883933 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:31:25 +00:00
Jacques Le Roux 23f65dfef7 Oops, I put a wrong tag in r883280 while doing some tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883292 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 09:35:26 +00:00
Jacques Le Roux f64c440775 A patch from Surya Kusumakar "New feature to upload multiple Additional View Images at Product Content." (https://issues.apache.org/jira/browse/OFBIZ-3244) - OFBIZ-3244
Add a new feature in Product Content to add all four images at a time and one can preview those images in larger view on mouse over of particular image. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 08:48:43 +00:00
Jacques Le Roux 8a6de29205 Format few lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:29:13 +00:00
Jacques Le Roux 89c24075c7 Fix an FTL security bug "delete website from product store" reported by Mario Harnisch at https://issues.apache.org/jira/browse/OFBIZ-2387 - OFBIZ-2387
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833703 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 16:01:37 +00:00
Jacques Le Roux be13e3cfe5 Fix an FTL security bug "Remove productstore role from store" reported by Willem Janssen at https://issues.apache.org/jira/browse/OFBIZ-3174 - OFBIZ-3174
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833686 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 14:34:07 +00:00
Ashish Vijaywargiya fc45518ad6 Applied patch from jira issue OFBIZ-3149 - Improve Category association in eBay.
Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved:

   1. Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT
   2. Define a worker method in CatalogWorker to derive the top level (root) ebay category
   3. Now in the advance search form, first look for top level ebay category associated to the selected catalog
          * If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself
          * If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it

Thanks Parimal Gain for the contribution.
Special thanks to Mridul Pathak (Zone of Sharp Mind :-)) for discussing implementation plans & providing wonderful notes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832713 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:05:09 +00:00
Jacques Le Roux e739fc04b9 A slightly modified patch from Deepak Dixit "List boxes are not displayed properly in bizznesstime theme." (https://issues.apache.org/jira/browse/OFBIZ-3134) - OFBIZ-3134
I simply used the same syntax than in other themes (XHTML)
+ added =multiple (XHTML compliant) where needed
+ fixed in product quick admin (wrong syntax multiple=true)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831801 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 06:15:12 +00:00
Ashish Vijaywargiya 7c2d11d05a Applied patch from jira issue OFBIZ-3132 - Multiple productStore support to googleBase and eBay.
Changes includes following:
1) Created new search form for eBay and GoogleBase - It was not good to update *advancesearch*.ftl file present inside catalog component. Now it will be easy to maintain separate file for future deployments.
2) Restricted productStoreId and prodCatalogId field to search.
3) Added webSite drop-down on "Export to eBay" and "Export to GoogleBase" page.
4) Select webSite to get the webSiteUrl. 

Thanks Parimal for your contribution - this will surely help the community.
Special thanks to Mridul, Rishi, Chirag, Deepak & Me :-) for discussing requirement and also special thanks to Jacopo for the notes and discussion on requirements.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 12:01:52 +00:00
Jacopo Cappellato 1032ba881d Added the ability to define cost component formulae to a product: new ProductCostComponentCalc entity and crud services, and ui to manage the information. Modified standard costing calculation service to use the new entity. Also implemented a custom method (cost formula) that adds a percentage based adjustment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831099 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 21:38:18 +00:00
Jacques Le Roux da516e7413 A patch from Deepak Dixit "Html cleanup of keyword search boxes." (https://issues.apache.org/jira/browse/OFBIZ-2986) - OFBIZ-2986
For the product component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830676 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:14:06 +00:00
Jacques Le Roux 237401e8a9 Better behavior in case of error (nothing to export from product search list)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830091 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 08:29:12 +00:00
Jacques Le Roux b4d171111c StringUtil.wrapString around searchParams. Fix an issue introduced with security
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829884 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 18:05:58 +00:00
Jacques Le Roux 061b06acf1 Please gents, no words sentences, thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829875 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 17:41:41 +00:00
Marco Risaliti e809ab667d Sorry, I have not seen that in the meantime the ProductForms.xml has been moved to widget folder.
Best Selling Products does not support product name internationalization (OFBIZ-3081)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829434 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 19:08:42 +00:00
Marco Risaliti 83abaaff3a Best Selling Products does not support product name internationalization (OFBIZ-3081)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829433 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 19:01:07 +00:00
Bruno Busco 17288a9082 Part of OFBIZ-3067 - Menus and form widget files location
Party and Product components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829418 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:41:31 +00:00
Jacques Le Roux 32a96cdd9e Small cleanup in labels for categ content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829085 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 15:03:40 +00:00
Marco Risaliti 8decfa8f7f i18n of best selling products form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828853 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 21:05:16 +00:00
Bruno Busco 4334bf29f3 Fixed screenlet pattern in FTL files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825206 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 17:52:26 +00:00
Vikas Mayur def342d430 Change lastInventoryCount to read only field as it is updated by a schedule service. This will avoid accidently edits to this field by a user. Applied patch from Ratnesh Upadhyay, part of OFBIZ-3039 (https://issues.apache.org/jira/browse/OFBIZ-3039)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825052 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 07:57:15 +00:00
Ashish Vijaywargiya 727f1ac5ef Applied patch from jira issue OFBIZ-3033 - Improvement in Product Review implementation.
1) Make createProductReview service definition more generic, so that it can take all nopk fields as IN parameters.
2) Change field value in "productreview.ftl" because field "postedAnonymous" is not a boolean type in ProductReview entity.
3) Make the service implementation more generic so that, it can be used for unregistered users also.
4) Put checks on pendingReviews.ftl to handle case of anonymous user.

Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824675 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:32:49 +00:00
Adam Heath b05c04c5d8 Convert removePartyFromProduct <a> to a <form method="post">.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824511 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 21:45:30 +00:00
Bruno Busco 62652236c1 Cleanup of the screenlet title in all FTL files.
Removed all occurrences of <div class="screenlet-header"><div class="boxhead"></div></div>
Replaced with the new
<div class="screenlet-title-bar"><div class="h3"></div></div>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 08:04:35 +00:00
Ashish Vijaywargiya 78829c8302 Removed duplicate request entry - Thanks Rishi for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821285 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:54:12 +00:00
Bruno Busco 8fc33a24ae Changed class="screenlet-header" to class="screenlet-title-bar".
Shouldn't we change all of them and remove the first one?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820891 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 05:37:53 +00:00
Jacques Le Roux 385c5f3bcc Fix bugs when no siteName is provided
Ebay was missing one I added "Ebay" please check if something better should be put there, thanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819306 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 13:41:33 +00:00
Scott Gray ad81286714 Allow all current image related ProductContentTypes to display the image upload form, in an ideal world we'd have a better way of doing this.
Also renamed the form to better describe its purpose, the request map and service name could do with the same at some point

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818358 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 03:48:05 +00:00
Scott Gray 30cff06d9b Small fix for my last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818336 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 01:04:43 +00:00
Scott Gray 6b496c29b5 Misc. cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:56:30 +00:00
Scott Gray 8140fc0d8b Fixed indentation, separated FreeMarker formatting from html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818329 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:45:14 +00:00
Scott Gray ef23e5f075 Various xhtml validation fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818324 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:24:25 +00:00
Scott Gray 7b60dc8353 UI for the new Product fields from r817605
A couple of new labels could do with translating

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817624 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:05:52 +00:00
Scott Gray c96dd9d922 Return to EditProductContent rather than staying on the update screen after successfully updating the content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816143 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:27:20 +00:00
Jacques Le Roux 82119009f9 A patch from Ahmed Dini "Patch non-secure URL in EditCategoryProducts.ftl." (https://issues.apache.org/jira/browse/OFBIZ-2788) - OFBIZ-2788
How to regenerate the error:-
Catalog Manager ->Under Browse Categories section, select a category with products->Products tab then try to delete one of the products by clicking on the delete button. 

I have reformatted all the block, I did not have enough courage to check the all file though...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815977 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 21:42:31 +00:00
Jacques Le Roux 74320e9555 Fix the 1st point of "Multiple rendering issues in product screens" (https://issues.apache.org/jira/browse/OFBIZ-2597) - OFBIZ-2597
Section "Shipping Dimensions and Weights" in form (for example) "Quick Admin For: Giant Widget variant explosion [ID:WG-9943]" was rendered incorrectly

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814205 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 17:24:55 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacopo Cappellato a38f8202aa New util method to find out if a "type" record has a given ancestor.
The method is also used to clean the code related to the two existing marketing package types (that have now in common the same parent).
This will make the framework more flexible because you will be able to create a new product subtype and the system will treat them as its parent type; then you can add custom code to treat it in the special way (if needed). This pattern can be extended in other areas of the system, starting from product types (right now it is also applied to marketing packages).
Thanks to Mridul Pathak for the patch - OFBIZ-2902

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:02:33 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacques Le Roux d6bb9b998f From a patch done by Erwan at https://issues.apache.org/jira/browse/OFBIZ-2906 - OFBIZ-2906 : "Replacement of ProductCreatedBy with CommonCreatedBy"
I had to remove a conflict in ProductUiLabels.xml and also removed OrderCreatedBy but kept the German translation from OrderCreatedBy and ProductCreatedBy instead of CommonCreatedBy because it seemed more widely used. Please German speaking people check...
I don't backport as suggested Erwan as it's really not a bug!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812478 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:17:50 +00:00
Scott Gray 3543babb21 Reformatted template to separate html and FreeMarker indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812470 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:44:02 +00:00
Scott Gray 9bc1773f1f More xhtml validation fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812466 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:25:25 +00:00
Scott Gray ff357ba1b4 Fixed unsecured https parameter issue reported by Michael Alleblas, OFBIZ-2892
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811817 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 12:10:23 +00:00
Jacques Le Roux 8696a908d9 A patch from Eric DE MAULDE "Image scaling quality" (https://issues.apache.org/jira/browse/OFBIZ-2552) - OFBIZ-2552
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811707 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 20:29:43 +00:00
Jacques Le Roux 3fa2c73078 I got caught by this one, now I'm sure that even with trailing blanks it will work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811506 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 18:11:45 +00:00
Jacques Le Roux 993b83dcac A patch from Arun Patidar "link to delete a store associated with a promo" (https://issues.apache.org/jira/browse/OFBIZ-2468) - OFBIZ-2468
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810917 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 12:41:17 +00:00
Ashish Vijaywargiya fa228e3f7e Applied patch from jira issue OFBIZ-2886 Add support on advanced search functionality (Internal Name, Product Name field & noCondition find option is provided for searching).
Thanks Amit & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810434 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 09:33:31 +00:00