Commit Graph
420 Commits
Author SHA1 Message Date
Jacques Le Roux bb8607b93a Improves "New Shipment Estimate" experience: add Expand/Collapse All buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965923 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:33:47 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux a3c548bca9 A patch from David Cervera "Security tag at screen "Payments of Product Store" with wrong syntax" (https://issues.apache.org/jira/browse/OFBIZ-3864) - OFBIZ-3864
The screen "EditProductStorePaySetup" in "OFBIZ_HOME/applications/product/widget/catalog/StoreScreens.xml" (that is, section "Payments" of one Product Store, at Catalog app) has a security tag with wrong syntax.

It causes that users with right permissions cannot add new payments to the store.

You can test it here: https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProductStorePaySetup?productStoreId=9000 logged as "flexadmin". The form at the bottom (titled "Edit Product Store Payment Setup") doesn't appear.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965470 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 13:26:33 +00:00
Jacques Le Roux cc9fcc46c5 Better place for showOutOfStockProducts and storeCreditAccountEnumId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956664 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 18:40:10 +00:00
Jacques Le Roux 9152e67d2e A patch from Eric De Maulde "Product Categories page without category name" (https://issues.apache.org/jira/browse/OFBIZ-3826) - OFBIZ-3826
Into the form UpdateProductCategoryMemeber (Product Categories page) categoryId appears twice if category description is empty, but category name is more significant and always full.
Also the form name has an error.

Into UpdateProductCategoryMemeber form, this patch changes category description to category name. It corrects the form name to UpdateProductCategoryMember


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956201 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 09:10:33 +00:00
Jacques Le Roux 86e817b533 Reverted on Scott's advice (useless and give some trouble on back button: POST => msg like "do you want to send again", not GET)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacques Le Roux 4943ab1e3b Secure some targets. Note that they have been introduced since OFBIZ-2243 has been closed.
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Vikas Mayur 70d02b1f26 Explicitly added the hidden-form link-type instead of relying on link-type auto. The auto link-type only works with intra-app and not with inter-app target-type.
The other option would be to change the method WidgetWorker.determineAutoLinkType() to allow inter-app target-type so that the method can

determine whether to change the hyperlink to a form or an anchor to avoid secured URL issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951087 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 17:49:21 +00:00
Jacques Le Roux c88892994e A patch from Sascha Rodekamp "Improving the Supplier Product Screen" (https://issues.apache.org/jira/browse/OFBIZ-3802) - OFBIZ-3802
Move the supplier data detection to the Product Form and changes a few fields for a better overview. Just an improvement in data presentation, notably sorting columns

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951013 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 14:45:12 +00:00
Vikas Mayur 8b95f222cd Fixed an issue with menu item not coming as selected upon selection. Also moved redundant declaration of the headerItem variable in independent
screens to just the screen decorator.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950719 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 18:57:20 +00:00
Jacques Le Roux e8b9e8bb5b A patch from Ankit Jain "Security issue in update store payment setting." https://issues.apache.org/jira/browse/OFBIZ-2395 - OFBIZ-2395
Steps:
1) Go to catalog > Stores > Select OFBiz E-Commerce Store
2) Click on Payment tab.

Now there are two options. Error come only with one of them.

Option 1: Edit any Payment Method. Submit the form at the bottom. Now click on NEXT link, you will see the error.

Option 2: Click on NEXT link, no errors.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947679 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:48:30 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 09e66d3203 Better UI, from an old Koon Sang's message on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944893 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 18:40:05 +00:00
Jacques Le Roux d19f795620 A patch from Chris Snow "ProdCatalog missing field title help" (https://issues.apache.org/jira/browse/OFBIZ-3772) - OFBIZ-3772
Most descriptions have been taken from the "Manager Reference Catalog" document. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944797 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 11:13:12 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 578662ae4c Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Erwan de Ferrieres 4661365954 Facilities management for a productStore, made using the new set of portals/portlets.
It can be reached at this address :
https://localhost:8443/catalog/control/ProductStoreFacilities?productStoreId=90100

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942544 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 14:59:11 +00:00
Jacopo Cappellato 682b992eec Converted and refactored html form into form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 06:55:26 +00:00
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Jacques Le Roux 88806e9dc4 Another issue with a layered lookup I forgot to commit, bypassed for now using a popup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940025 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 14:01:50 +00:00
Scott Gray de334d699d A slight improvement on r939247 (not much point in discussing it on dev), the original problem was that the fields were being un-set by not providing a value or from-field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939254 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 10:34:34 +00:00
Hans Bakker 80fb451115 issue 3729: fixing problem: Clicking Edit on the Supplier Tab of a Product seems to do nothing?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939247 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 10:07:09 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Jacopo Cappellato 5fde30367b Fixed configuration option product link to point to the edit product page instead to point back to the configuration option page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:31:21 +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
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
Bilgin Ismet Ibryam 4b60bfb7f9 Cleanup autocompleter fields. Removed type fields from the list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930707 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 16:06:24 +00:00
Scott Gray 2e84dbca9d Following on from r930477, removed another reference to currency for EditProduct's quantityUomId field. Thanks for the report Jacopo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 06:11:54 +00:00
Scott Gray 9cb19dd0c4 EditProduct's quantityUomId drop down should display all UomTypes except CURRENCY_MEASURE, bug reported by Len Shein on the user list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930477 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 05:20:58 +00:00
Bilgin Ismet Ibryam cb82865b56 Added createUpdateFacilityGeoPoint service for creating or updating geo points assigned to a facility.
Added facility geo point screen for editing and visualizing facility geo point.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929946 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 12:44:37 +00:00
Jacques Le Roux 87d20bca8e * Change Facility.squareFootage to Facility.facilitySize and change its type from numeric (no decimals) to fixed-point
* Add Facility.facilitySizeUomId
* related changes in UI

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 12:37:39 +00:00
Bilgin Ismet Ibryam 6e17f97591 Order content types in select fields by description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 14:34:49 +00:00
Ashish Vijaywargiya 4c1c53522c Applied patch from jira issue OFBIZ-3552 - Initial Inventory Item Status is saved wrong in case of non-serialized inventory and when reason of return is "Defective Item", at the the time of receiving returns.
Problem Description:

1) When returns are received and reason of return is "Defective Item" ,whether inventoryItemType is serialized or non-serialized, Initial Inventory Item Status is always saved as "INV_DEFECTIVE"

2) This should not be the case, value of Initial Inventory Item Status should be dependent on inventoryItemType.

3) i. e In Receive Return screen , when user selects inventoryItemType value of Initial Inventory Item Status should be changed dynamically .

4) So when inventoryItemType is non-serialized then value of Initial Inventory Item Status should be INV_NS_DEFECTIVE and if inventoryItemType is serialized value of value of Initial Inventory Item Status should be INV_DEFECTIVE.

5) This is a real bug, which causes ATP inventory figures wrong when sales order is placed. This is so because when sales order is placed, defective inventory items are assigned to sales order.

6) Reason of #5 is when inventory reservations are done in case of non-serialized inventory, In reserveForInventoryItemInline simple-method of InventoryReserveServices.xml , checks are made on value of inventoryItem.statusId = "INV_NS_DEFECTIVE".
And as described in #1, Initial Inventory Item Status is always saved as "INV_DEFECTIVE". So this checks never gets satisfied.

Thanks Divesh & Pranay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:28:49 +00:00
Jacopo Cappellato 4319fb7664 Formatting fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927013 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:23:57 +00:00
Jacopo Cappellato bb38a76271 Added newly added accountingQuantityTotal field to the "edit inventory item" form: it is read only because it is automatically computed based on inv item details; the field is used for LIFO and FIFO
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927012 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:23:22 +00:00
Ashish Vijaywargiya b040749318 Applied patch from OFBIZ-3533 - Associate Image functionality with ProductPromo using content driven.
Associate Image functionality with ProductPromo using content driven.

Following work will be covered: -

   1. Add new entity "ProductPromoContent" entity having composite primary key:
         1. productPromoId
         2. contentId
         3. productPromoContentTypeId
         4. fromDate
   2. CRUD services for ProductPromoContent Entity.
   3. Create wrapper ProductPromoContentWrapper
   4. Add content tab at catalog -> promo
   5. List and edit form for associating images to specific productPromoId.
   6. Implement service addImageForProductPromo.

Thanks Amit for the contribution.
Special thanks to Scott for his valuable comments.

PS: Scott regarding to you point # 2 in the last comment, I think it would be fine if we keep association as it in the current patch. Because all the ContentType already exists in the ProductContentType entity. In general we can associate Image, PDF or word document with any promotion so reusing existing entity will be fine IMO. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922506 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 08:46:57 +00:00
Ashish Vijaywargiya 428165a2d3 Applied patch from jira issue OFBIZ-3508 -
When we create a new customer profile, it doesn't send correct mail according to "UPD_PRSNL_INF_CNFRM", "PARTY_REGIS_CONFIRM" and "RDS_CUST_REGISTER" emailType. Currently it grabs the first from the list of ProductStoreEmailSetting entity and uses it's email settings to send the email.
It was due to unavailability of productStoreId for sending mail so whenever new customer profile will be created it should be associated to certain product store and its role type will be "CUSTOMER".

Apart from this customer profile page should have information about associated product stores.

Following points are covered:
   1.  Improved patch from OFBIZ-3000.
   2. Improved Product Store Roles screens.
   3. Added ProductStores portlet into party profile screen.
   4. Created updateProductStoreRole service for updating ProductStoreRole record.
   5. Removed EditProductStoreRoles.groovy and EditProductStoreRoles.ftl .

Thanks to Amit Sharma for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916219 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:19:02 +00:00
Bruno Busco 41aeeb3317 Added "create" classes to pertinent buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Bilgin Ismet Ibryam fae378c0ce Added possibility to upload files and assign contents to facilities.
Created FacilityContent entity and FacilityContentDetail view entity. Added screen and forms in facility application for content upload and deletion.

Added a generic event in content application for file upload and content association which is used in facility application. The same event can be used in content creation processes in order manager and project manager applications in order to remove duplicating code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908602 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 17:52:50 +00:00
Jacopo Cappellato 5edf1cceab If a productId that is not associated to an existing product is entered, the product related screens are now hidden to prevent the user to try to submit data for a non existing product.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906449 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 10:56:46 +00:00
Bruno Busco 28e96681b1 Added "create", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904740 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 09:07:46 +00:00
Bruno Busco b1012136cd Added "create", "search" and "website" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904739 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 09:02:57 +00:00
Bruno Busco e36939e337 Added "create", "refresh", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902885 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:28:28 +00:00
Bruno Busco b90e0394df Added several "button-bar" wrapping divs to have button bars rendered consistently.
Added several "create" class styles for create/new buttons.
All this will be used in a new theme me and Erik Schuessler are working on...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902175 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:00:55 +00:00
Scott Gray f0a037c99e Partial revert of r830846 (I left the demo data file name change) and full revert of r887580 (was committed to avoid problems with the prior commit) as discussed in OFBIZ-3307.
The problem is that while ProductTypeAttr can be used in this way to constrain the ProductAttribute.attrName values, it shouldn't be enforced unless the data model is also enforcing this constraint.
The other problem is that I think there is no way currently to add ProductTypeAttr records, which means that with these changes no new attributes can be created via the UI.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900992 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:41:08 +00:00
Bruno Busco 11c1256111 Added a "create" class to the buttontext for buttons that represents "Create New" operations.
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Ashish Vijaywargiya bf9ef3db28 It may happen that someone doesn't setup Visual theme data for ecommerce application. So allowing empty value in the select box would be fine IMO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899571 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 09:33:06 +00:00
Erwan de Ferrieres 595517b3bf JIRA-3381 : Update of the geolocation screen in party (https://issues.apache.org/jira/browse/OFBIZ-3381)
The geoChart screen is now used for all the geolocalization calls.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Ashish Vijaywargiya 732d571872 Applied patch from jira issue OFBIZ-3399 - Web Analytics Initial Support.
Adding Web Analytics support in OFBiz. Following things are covered in this work:

– Added two new entities WebAnalyticsConfig & WebAnalyticsType & provided GUI support for it (CRUD Operations).
– Added demo data for Google Analytics & Bing Analytics.
– Associated WebAnalyticsConfig entity with Content entity so that the client data can be content driven.
– Initially we have added this feature in catalog component keeping things in mind that in general we do configuration settings regarding to ecommerce in this component. If anyone have better place for this then we can move this timely at more appropriate place. But for now we found this place good for initial contribution.

This is collaborative effort from me & Pranay(Thanks!).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897796 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 08:40:47 +00:00
Bruno Busco af9fb266fb Added button-bar style in the EditFeatureScreen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897675 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 18:14:29 +00:00