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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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