Commit Graph
606 Commits
Author SHA1 Message Date
Shi Jinghai de425564ad OFBIZ-5634 - "Error in pagination in createProductSubscriptionResource (Catalog)"
When you paginate, after creating a sufficient number of subscriptions for pagination to appear, you get an error

To reproduce this problem:
1. Import DataToReproduceOFBiz-5634.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProductSubscriptionResources?productId=GZ-NEWS-1MO
3. Add a new subscription resource.
4. Click next button, error message displayed.

Added paginate-target="EditProductSubscriptionResources" to ListProductSubscriptionResources form and resolved this problem in trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692604 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 06:32:13 +00:00
Shi Jinghai ea3de7491d OFBIZ-6547 - "Error in pagination in EditProdCatalogCategories (Catalog)"
When you paginate, after creating a sufficient number of Catalog Categories for pagination to appear, you get an error

To reproduce this problem:
1. Import DataToReproduceOFBiz-6547.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalog
3. Add a new Catalog Categories
4. Click next button, error message displayed.
 
Applied patch (add paginate-target="EditProdCatalogCategories" to "EditProdCatalogCategories" form) and resolved this problem



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692600 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 04:15:33 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Michael Brohl 1613bbee07 Manually applied and modified the changes of the patch from jira issue OFBIZ-6312: Catalog Manager's EditProduct screen HTML should place a limit on the size of text that can be entered in the Product Description box.
Introduces a new maxlength attribute to the textarea element in forms, applies the maxlength (255 chars) value in several FTL files, when the DB is limiting the length.

Thanks Forrest Rae for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682132 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 22:18:29 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Pranay Pandey e5d5d6dee2 Applied patch from jira issue - OFBIZ-5951. Product Costs page actions cause incorrect listings.
Thanks Christian Carlow for reporting the issue and thanks Amardeep for providing patch for the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652617 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:51:35 +00:00
Jacques Le Roux 6d87f5bdf5 A patch from Divesh Dutta for "Inventory Transfer Printing Format and Layout" https://issues.apache.org/jira/browse/OFBIZ-4673
Adds PDF (fo.ftl file) which will be opened when user click on "Print" button. Earlier web page was opened with bad formatting. New PDF is clean.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647102 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 07:43:55 +00:00
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Jacopo Cappellato cc8f10a6c7 OFBIZ-5793 Enhanced logic to run product subscription expiry service only once when the subscription expires:
a) augment the OFBiz data model with the new field: Subscription.expirationCompletedDate
b) modify the algorithm of runServiceUponSubscriptionExpiry to also check whether the expiry service has already run, by checking that expirationCompletedDate is null.
if expirationCompletedDate is null (and the other conditions are satisfied), run the service in SubscriptionResource.serviceNameOnExpiry and update the date/time into expirationCompletedDate
if expirationCompletedDate is not null, skip the expired subscription and move to the next

Thanks to Ivan Cauchi for the patch (slightly modified by me).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637535 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 09:38:09 +00:00
Anil Patel e08ceaa080 [OFBIZ-5778] Add pagination to picklists screen. This simple change helps when we have big list of picklist.
Thanks Arun Patidar for load tests, reporting issue and providing fix.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626436 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 13:00:32 +00:00
Ashish Vijaywargiya 520737e6fd Applied patch from jira - OFBIZ-5777 - Picking screen get block when there are large number of records to process.
During load testing of OFBiz-13.07 and trunk, we observed that 'Picking' screen of Facility manager get block when there are large number of records to process. So need to fix this screen by limiting number of records to be process. 
Thanks Amardeep for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626388 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:37:24 +00:00
Jacques Le Roux 5ebc58cc6a An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
jleroux: some changes I spotted in Nick Ho's patch which sounded sound to me. Some groups of label internal ending white spaces would have been caught by HTML rendering, but anyway better like that.
I also fixed a number of wrong line returns. And found duplicates zh labels entries that I will report to Nick Ho to fix. And finally fixed some errors introduced by Nick Ho I spotted, I hope there are not too much left :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625893 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:54:04 +00:00
Jacques Le Roux 59c004530a A patch from Julien NICOLAS for "Wrong label in Product Config Item" https://issues.apache.org/jira/browse/OFBIZ-5753
In the screen Product Config, when you want to add a componant to your config option, the label is wrong because it show : Add Configurations and not Add a component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622672 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 10:11:54 +00:00
Ashish Vijaywargiya 039c228edc Applied patch from jira issue - OFBIZ-5480 - Product Costs page missing lookup controls in creation section.
Thanks Christian Carlow for reporting the issue and thanks to ofbiz.us team for providing patch for the issue. 
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618406 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:45:41 +00:00
Jacques Le Roux e3fc7fd412 Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.

This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacopo Cappellato 0e2d37fdad This reverts most of the changes committed in rev.951013 for OFBIZ-3802 because they caused a few issues as reported in the same Jira ticket.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1611321 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 10:58:10 +00:00
Jacopo Cappellato 803bf50497 OFBIZ-5589: Display Currency Uom of Best Selling Product in order component was ignoring the currency of the orders; thanks to Lê Văn Thiêp for the report and to Deepak Dixit for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603732 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 07:11:40 +00:00
Jacopo Cappellato c687532188 Fixed issue reported by Pierre Smits in OFBIZ-5274: the menu label "Edit Agreement" was misleading because the screen simply shows the agreements associated to the facility; the agreement type used in the screen doesn't exist in OFBiz; this is because this code (committed by Adam Heath) is a partial implementation of a feature than in its current status is only confusing.
Now the screen only shows the agreements associated to the facility but in order to setup an agreement you have to use the Agreement screens of the Accounting application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603460 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 14:25:16 +00:00
Jacques Le Roux 00b535d98b A patche from Olivier Heintz for "ProductStoreFacilities page does not refresh information after actions are performed" https://issues.apache.org/jira/browse/OFBIZ-5408
The ProductStoreFacilities page does not refresh when actions are performed.  When adding or deleting a facility from the store, the result of either action is not reflected on the page even though both are performed.  A loading icon appears after clicking action buttons/links so AJAX is probably being used.  

Olivier:
bug corrections :
1) areaId was wrong in on-event for edit and in delete button in list
2) replace wrong view-map ListProductStoreFacilityFormOnly by ListProductStoreFacility

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598913 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 20:10:54 +00:00
Jacques Le Roux b844d4e9bb A (slightly modified) patch from Yvan Cauchy for "Trigger for service to run upon subscription expiry" https://issues.apache.org/jira/browse/OFBIZ-5333
We are also proposing to add the following fields:

    ProductSubscriptionResource.gracePeriodOnExpiry
    ProductSubscriptionResource.gracePeriodOnExpiryUomId
    Subscription.gracePeriodOnExpiry
    Subscription.gracePeriodOnExpiryUomId

This will allow the runServiceOnSubscriptionExpiry to trigger the service in SubscriptionResource.serviceNameOnExpiry only after

nowTimeStamp >= Subscription.thruDate + Subscription.gracePeriodOnExpiry.

This provides flexibility in managing the triggering of the deprovisioning service, similar to the flexibility in automatic subscription extensions enabled by Subscription.canclAutmExtTime for runSubscriptionAutoReorders. 

jleroux: 
I replaced tabs by spaces
Will commit the change in serviceResult.ftl apart
Slightly reformatted SubscriptionServices.runServiceOnSubscriptionExpiry()
Slightly reformatted and added comment in services_subscription.xml for the 2 new services


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597235 13f79535-47bb-0310-9956-ffa450edef68
2014-05-24 04:37:16 +00:00
Jacques Le Roux 459f6ad6c5 Fixes https://issues.apache.org/jira/browse/OFBIZ-5635 "Store title to be 100 characters"
Maxlength via HTML attribute maxlength for Product Store.title is configured as 60. ProductStore.title can store up to 100 characters in the database

jleroux: true also for the store name, both are of SQL type name which is 100 VARCHAR

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1593908 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 09:04:23 +00:00
Jacques Le Roux bc535ea40c A patch from Jensing Choe for "Missing externalLoginKey on FTL intra-app in EditProductParties" https://issues.apache.org/jira/browse/OFBIZ-5553
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductParties?productId=FORKLIFT_PROPANE
when you click on the hyperlink Party Id
ofbiz will open in a new tab and asking for authentication again.

jleroux: this patch fixes a bug and replaces the EditProductParties.ftl Freemarker template by the UpdateProductRole form


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1580850 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 13:43:08 +00:00
Jacques Le Roux 4d9e447e11 Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
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
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 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 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 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 1e8edf4956 No functional changes, removes trailing white spaces and a deprecated comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1543792 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 11:46:48 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Hans Bakker f5cb118761 have the productglaccount list and add screen the same field order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498261 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 07:08:05 +00:00
Hans Bakker 5ae6d40ccb only show product glaccounts available for the organization on that row
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498260 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 07:01:38 +00:00
Hans Bakker cd8aaa303a product gl accounts were now showing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1498257 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 06:48:20 +00:00
Jacques Le Roux 175da7680e A patch from Deepak Dixit for "Row submit not working on Inventory Transfers screens." https://issues.apache.org/jira/browse/OFBIZ-5228
Row submit not working for "Complete Requested Transfers" flow. It missed the use-row-submit="true"



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493683 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 08:39:48 +00:00
Paul Foxworthy 570e4c8c4a Revert r1449615, which was only a partial solution. See https://issues.apache.org/jira/browse/OFBIZ-5163 for a discussion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1468865 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 12:26:51 +00:00
Christian Geisert fa0080cd08 Improved/corrected German translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1468127 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 15:45:32 +00:00
Jacques Le Roux 90b27b543a No functional change, just a small indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 09:22:34 +00:00
Hans Bakker 52326232ef currently tax is calculated before promotion, added am option in the productstore to be able to set the tax calculation after promotion. This in order to remain backward compatible. Also added a junit test for this. Contribution from Tom, employee from Antwebsystems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 08:25:07 +00:00
Jacques Le Roux 364b3cd1e6 A patch from Nicolas Malin for "fieldGroup will ignored if all contains fields are ignored" https://issues.apache.org/jira/browse/OFBIZ-5136
When you have a fieldGroup that contains fields with use-when attribute, if all fields aren't use, the fieldGroup is empty.
Improvment: to not display the field group



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446847 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 07:49:28 +00:00
Adam Heath 12934702ec Add AgreementFacilityAppl entity and screens. There is no code that
deals with the data yet, however.  This is modeled after
AgreementProductAppl minus the price.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413810 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:09:17 +00:00
Jacques Le Roux afe62dee1a Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Erwan de Ferrieres 53913d4dbe A patch from Nicolas Malin - OFBIZ-5021 - Add screen to manage productStoreGroup Hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381093 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 09:19:53 +00:00
Hans Bakker bb74cd18fa improve the groupbuying function by properly return sales numbers when cancelling an order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368822 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 07:52:28 +00:00
Jacques Le Roux b189d4e539 This closes "Price rule add not correctly" https://issues.apache.org/jira/browse/OFBIZ-4978
steps:
1.login and goto price rule tab
2.add a rule
3.add a condition for the rule
The issue is, the added condition is not my selection. I add condition "Party is Fanse Fan", then add, after success, in the detail list, the last party of the select box be shown on the condition , not the one which I choosed.

jleroux:
* The problem reported by Fanse is now corrected
* Fixes an issue when updating a condition (check is now done on input types and not only on value as in creation where it's not a problem, the copy and adaptation from creation to update service implementation was the reason of this bug

I'm in the process of adding some more check for condition creation, but will do that later (ne feature not only fixes as here)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1366960 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 21:49:52 +00:00
Jacopo Cappellato 7a0c6ef6ac Removed invalid links and controller entries (referencing non existing resources).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:16:10 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Hans Bakker 117d3f409f Add a find/approve/reject function for product reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 04:53:20 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Erwan de Ferrieres f93c4c5d54 Resolving OBFIZ-4876, there was a typo in the form name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1339122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 11:31:55 +00:00