Commit Graph
27 Commits
Author SHA1 Message Date
Nicolas Malin c0054e97ea Improved: Convert ProductStoreServices.xml file from mini-lang to groovy DSL
(OFBIZ-11449)

Thanks to Sebastian Berg for this patch
2020-09-16 09:35:32 +02:00
Suraj Khurana 757551a8fd Improved: All the service level error messages for missing required field for catalog component.
(OFBIZ-7739)
Thanks Ratnesh Upadhyay for reporting, reviewing the updated patch and Sega for initial patch.
2020-04-25 17:52:53 +05:30
Swapnil Mane 314f342792 Improved: Made the ecomThemeId field optional, since it is not the part of PK
(OFBIZ-10567)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1853109 13f79535-47bb-0310-9956-ffa450edef68
2019-02-07 04:18:40 +00:00
Jacques Le Roux ecacf6826a Fixed: Stores can't be modified at catalog/control/updateProductStore
(OFBIZ-10567)

This is related with the common-theme introduction.

There are 2 fields named visualThemeId in the data model. The one in 
ProductStore entity existed before the common-theme introduction with the new 
entity VisualTheme. When the theme is initialised with InitTheme.groovy it sets 
the context.visualThemeId value if it does not exist yet with 
parameters.visualThemeId. At this point things get confused and the 
backend theme used is replaced by the ecommerce theme defined for the 
productStore.

I think it would overwhelming to change the data model when only the 
EditProductStore form and updateProductStore service are concerned. 

So here is a very simple workaround where visualThemeId is replaced by 
ecomThemeId in the EditProductStore form and updateProductStore service.

If someone prefers to change the data model and related code feel free to revert, 
reopen the Jira and do.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1846097 13f79535-47bb-0310-9956-ffa450edef68
2018-11-08 07:18:43 +00:00
Arun Patidar 1f43251ece Fixed: Moved delete service of ProductStoreGroupRollup near to create and update service.
(OFBIZ-8770)

Thanks: Jacques for reviewing and reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768152 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 05:58:09 +00:00
Arun Patidar 91a7f26b7b Implemented: Added CRUD services for ProductAverageCostType, ProductCategoryContentType, ProductCategoryType, ProductCategoryTypeAttr, ProductContentType, ProductFeatureApplType, ProductFeatureIactnType, ProductMaintType, ProductMeterType, ProductOrderItem, ProductPriceActionType, ProductPriceAutoNotice, ProductStoreGroupType, ProductType, ProductTypeAttr and StatusType entities. Also converted services of ContactMechLink to entity-auto.
(OFBIZ-8731)(OFBIZ-8732)(OFBIZ-8733)(OFBIZ-8734)(OFBIZ-8735)(OFBIZ-8736)(OFBIZ-8737)(OFBIZ-8762)(OFBIZ-8763)(OFBIZ-8764)(OFBIZ-8765)(OFBIZ-8766)(OFBIZ-8771)(OFBIZ-8772)(OFBIZ-8773)(OFBIZ-8774)(OFBIZ-8807)

Thanks: Rahul Singh, Chinmay Patidar, Rohit Koushal and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768080 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 19:04:55 +00:00
Arun Patidar 3584666dbc Implemented: Added CRUD services for ProdConfItemContentType, ProductAssocType, UserPrefGroupType, WebPreferenceType, WorkEffortAssocAttribute, WorkEffortAssocType, WorkEffortAssocTypeAttr, WorkEffortBilling, WorkEffortContentType, WorkEffortGoodStandardType, WorkEffortPurposeType, WorkEffortType, WorkEffortTypeAttr, WorkReqFulfType, UomType, UomGroup, ProductPricePurpose, ProductPriceType, ProductStoreGroupRole and ProductStoreGroupRollup entities.
(OFBIZ-8729)(OFBIZ-8730)(OFBIZ-8792)(OFBIZ-8793)(OFBIZ-8794)(OFBIZ-8795)(OFBIZ-8796)(OFBIZ-8797)(OFBIZ-8798)(OFBIZ-8799)(OFBIZ-8800)(OFBIZ-8801)(OFBIZ-8802)(OFBIZ-8803)(OFBIZ-8788)(OFBIZ-8789)(OFBIZ-8767)
(OFBIZ-8768)(OFBIZ-8769)(OFBIZ-8770)

Thanks: Chinmay Patidar, Amit Gadaley and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767965 13f79535-47bb-0310-9956-ffa450edef68
2016-11-03 20:30:52 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Nicolas Malin 5e9bc5a1d1 convert simple crud service to entity-auto for the follow entities :
ProductPaymentMethodType, SupplierProduct, CommunicationEventProduct, ProductCategoryMember, ProductFeatureDataResource, ProductConfig, ProductConfigItem, ProductConfigOption, ProductConfigProduct, ProductPriceRule, ProductPriceCond, ProductPriceAction, PhysicalInventory, ProductFacilityLocation, Facility, FacilityLocation, FacilityGroupMember, FacilityGroupRollup, FacilityParty, FacilityContent, InventoryItemLabelType, InventoryItemLabelAppl, InventoryItemLabel, ProductPromo, ProductPromoCode, ProductPromoCategory, ProductPromoCodeEmail, ProductPromoCodeParty, ProductPromoProduct, ProductPromoRule
Added a new service productPriceGenericPermission for acces control to related price service. Issue OFBIZ-6873

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728261 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 07:27:21 +00:00
Jacques Le Roux 5e87e1ea1a A patch from Nicolas Malin for "Convert ProductStore entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5741
I converted CRUD service to entity-auto for :

    ProductStoreCatalog
    ProductStorePaymentSetting
    ProductStoreEmail
    ProductStoreVendorPayment
    ProductStoreShipMeth
    ProductStoreRole
    ProductStoreKeywordOvrd
    ProductStoreSurveyAppl
    ProductStoreFinActSetting
    ProductStoreVendorShipment

I keep to service in mini lang ProductStore.
I add a new permission service on product store with the same template of produt and productCategory for more homogeneity.

I run manual test create/update/delete from product store screen with success and I run ./ant clean-all load-demo run-tests without error

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621937 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 07:10: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
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
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
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Marco Risaliti a657adadf8 Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:45:31 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Ashish Vijaywargiya 482a84b1a5 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755831 13f79535-47bb-0310-9956-ffa450edef68 2009-03-19 04:27:30 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Bilgin Ismet Ibryam 93745e20ac Applied (with few modifications) patch from Len Shein, OFBIZ-1928: "Allow the Shopping Cart to accept a facility per ship group to specify where inventory should be reserved from".
Also added a dropdown button to choose a facility in order manager shipping screen.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688993 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 08:30:05 +00:00
Anil Patel da88165a2f CRUD services and admin forms and screens for ProductStoreVendorShipment and ProductStoreVendorePayment entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585364 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 04:35:37 +00:00
Andrew Zeneski eff6a6520b create new UI for product store finAccount settings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573636 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 17:38:36 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato c9ca5cb758 Fixed bug reported by Jason Wu in the user mailing list: the createProductStoreShipMeth service was failing because I did not update the service definition to reflect the recent change to the entity primary key.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524751 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:06:51 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 0f3d92aafc Conversion from MIT to ASL2.0 for all the files of the product component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:11:40 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00