Commit Graph
42 Commits
Author SHA1 Message Date
Deepak Dixit ecefd18ce2 Improved: Added agreementItemSeqId in AgreementContent entity, now content can be uploaded for item level as well (OFBIZ-7969)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766266 13f79535-47bb-0310-9956-ffa450edef68
2016-10-23 11:26:02 +00:00
Arun Patidar f025354c2c Fixed: Error due missing entry of service resource in ofbiz-component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765287 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 13:51:02 +00:00
Arun Patidar 6a28dcc541 Improved: Services of 'entity' component moved to 'entityext' and services of 'datamodel' component moved to more relevant place. component.
Thanks: Jacopo and Pierre for reviewing and providing suggestion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765032 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 10:07:53 +00:00
Arun Patidar 815afa131e Implemented: Added CRUD services for QuoteTypeAttr, RejectionReason, ReorderGuideline, RequirementAttribute, RequirementBudgetAllocation, RequirementType, RequirementTypeAttr, RespondingParty, ReturnAdjustmentType and ReturnHeaderType entities.
(OFBIZ-8306) (OFBIZ-8308) (OFBIZ-8309) (OFBIZ-8310) (OFBIZ-8311) (OFBIZ-8314) (OFBIZ-8325) (OFBIZ-8326) (OFBIZ-8327) (OFBIZ-8328)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763306 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 17:24:12 +00:00
Arun Patidar b219815591 Implemented: Added CRUD services for Delivery, EmailTemplateSetting and EbayProductListingAttribute entity.
(OFBIZ-8050) (OFBIZ-8057)(OFBIZ-8058)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761169 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 09:48:00 +00:00
Pranay Pandey cbc10832b2 Implemented: Multisite support in specialpurpose/cmssite
(OFBIZ-7120)

This is the first patch from the ticket and is for the implementation done to support the multisite feature in specialpurpose/cmssite component.

Thanks Mohammed Rehan Khan for the contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761150 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:03:19 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +00:00
Deepak Dixit 353fa0f00a (OFBIZ-7616) Applied patch from jira issue
=================================
Add "changeByUserLoginId" field for PartyStatus
=================================
Thanks Nameet for your contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759012 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:55:06 +00:00
Deepak Dixit d323b9dd14 (OFBIZ-7986) Fixed console warning related to duplicate field alias.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759002 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:27:56 +00:00
Jacques Le Roux b9b162e9d8 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
Legal statements are not required in readme files, as per consensus in dev mail thread with title 'Shorter ASL2 header in short files'. The mail thread started here: http://ofbiz.markmail.org/message/pc5bzrsiupef7xjt

jleroux: 
I modified 
  the accounting/lib/README file
  the example/lib/README file
Formatted the Birt README file



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758700 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 04:53:40 +00:00
Deepak Dixit 89d5b0c300 (OFBIZ-7621) Applied patch from jira issue
================================
Add "changeByUserLoginId" field for RequirementStatus
================================
Thanks Nameet for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758035 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:58:22 +00:00
Deepak Dixit 4d38999495 (OFBIZ-7620) Applied patch from jira issue
================================
Add "changeByUserLoginId" field for ContactListCommStatus
================================
Thanks Nameet for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758033 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:53:17 +00:00
Ashish Vijaywargiya f2961c1793 Applied patch from jira issue - OFBIZ-7820 - Empty scroll bar in party component.
Thanks Akshay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757994 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 11:38:26 +00:00
Jacques Le Roux 7a0b579c6f A patch from Deepak Nigam for "Warning related to 'InventoryItemAndLocation' entity on server start " https://issues.apache.org/jira/browse/OFBIZ-7986
On starting ofbiz server following error is coming at console : 

2016-08-27 11:53:54,084 |delegator-startup-1 |ModelViewEntity |I| [InventoryItemAndLocation]: Throwing out field alias in view entity because one already exists with the alias name [inventoryItemTypeId] and field name [PR(Product).inventoryItemTypeId], existing field name is [II.inventoryItemTypeId] 2016-08-27 11:53:54,088 |delegator-startup-1 |ModelViewEntity |I| [ProductInventoryItem]: Throwing out field alias in view entity because one already exists with the alias name [inventoryItemTypeId] and field name [II(InventoryItem).inventoryItemTypeId], existing field name is [PR.inventoryItemTypeId]


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757968 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 08:30:39 +00:00
Deepak Dixit be05d08a09 (OFBIZ-7624) Applied patch from jira issue
===================================
Add "changeByUserLoginId" field for InventoryItemStatus
===================================
Thanks Nameet and Renuka for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757956 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:08:44 +00:00
Jacques Le Roux 4723f6409f A modified patch from Pierre Smits for "Have view-entity AgreementAndRole removed" https://issues.apache.org/jira/browse/OFBIZ-5994
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756365 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 09:52:25 +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
Nicolas Malin 8a15d41bdc Add changeByUserLoginId field for BudgetStatus and use entity-auto service to create values. Thanks Nameet Jain for sumbmit and resolve isse on OFBIZ-7619
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752602 13f79535-47bb-0310-9956-ffa450edef68
2016-07-14 08:40:28 +00:00
Nicolas Malin 8c4609e277 Add changeByUserLoginId field for ShipmentStatus and use entity-auto service to create values. Thanks Nameet Jain for the original submit on OFBIZ-7618 and Charles STELTZLEN to finish this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752233 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:14:35 +00:00
Nicolas Malin e79d59a785 Improve FinAccountStatus entity to manage changeByUserLoginId field with conversion of minilang service to entity-auto. This previous service manage a specific case for the statusEndDate field that set the date when a new entry is stored on statusDate and the same value on previous stored on statusEndDate. This field is also present on ExampleStatus, so extend the EntityAuto engine to manage this case. Thanks Nameet Jain for the OFBIZ-7623
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752232 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:05:34 +00:00
Julien Nicolas e16a4d0d10 OFBiz-7622 follow status change user follow up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752219 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 21:51:24 +00:00
Nicolas Malin 98187c33e6 Track userLogin on invoice status change, use EntityStatus concept related to issue OFBIZ-7611. Improvement follow by issue OFBIZ-7617. Thanks Nameet Jain for this proposal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751543 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 19:32:05 +00:00
Deepak Dixit a08b4a11bd (OFBIZ-7751) Applied patch jira issue.
===========================================
Ignoring invalid field name [parentTypeId] found for the entity: DeductionType with value
===========================================

Thanks Nameet Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751425 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 09:11:51 +00:00
Divesh Dutta c3227e43c6 [OFBIZ-7682] Added new entity Check as payment method . In OFBIZ-6899 conclusion was made to introduce new entity. Thanks Jacques , Pierre and Swap, Swapnil for the discussion. Thanks Jagpreet for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751355 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 17:32:37 +00:00
Jacques Le Roux 73a1c1ede0 A patch from Gopal Yadav for "Add Work Effort Party Assignment creates record with invalid PartyId" https://issues.apache.org/jira/browse/OFBIZ-7188
Steps to regenerate:
1.  Go to FindWorkEffort screen https://localhost:8443/workeffort/control/FindWorkEffort
2. Click on Find button in search option and choose any of the WorkEffort from the list. 
3. Go to the Parties tab to check parties assigned to the WorkEffort.
4. Add Work Effort Party Assignment: 
 - Enter any invalid PartyId (which does not exist in the system e.g, XYZ or ABC)
- Choose any of the roles from the drop-down list.
- Add FromDate.
- Submit the form.

Current Behaviour: System creates a WorkEffortPartyAssignment record with invalid data (partyId).
Expected: System should not create this record as entered data - partyId is invalid.

Exploring around this issue I found that entity definition of WorkEffortPartyAssignment has relation with Person, here I think it is required to create a foreign key rule with Person entity. Also, fk-name has not been created with PartyRole in the entity definition.
I have corrected the definition and attached a patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750166 13f79535-47bb-0310-9956-ffa450edef68
2016-06-24 21:37:11 +00:00
Mridul Pathak 743bb0153e [OFBIZ-6940] Thanks Vishal Chhabria for your contribution and Jacopo for review.
New ProductPriceType 'SHIPPING_ALLOWANCE' and a new minimumPrice field in ProductStoreShipmentMeth entity.
========================================
New price type "SHIPPING_ALLOWANCE" can be used in the scenarios where default/list prices are comprehensive of the 'Shipping Cost' quota, this price type can help user to set the Shipping Allowance cost he has included in the the product's default/list price and then modify actual shipping cost by reducing the allowance cost from it.
minimumPrice field can be used to set the the lowest rate for a particular shipping type.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748969 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 12:08:06 +00:00
Jacques Le Roux 723f98cfa5 Fixes r1746717 "Reverts an unwanted change introduced with r1743422. I guess Pierre Smits forgot to remove it when he proposed his patch for OFBIZ-6738"
I removed a correct line (missed it), this put it back. Thanks to Pierre for spotting it, I though checked it so was too fast it seems :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746788 13f79535-47bb-0310-9956-ffa450edef68
2016-06-04 08:48:07 +00:00
Jacques Le Roux 8c62b67e5b Reverts an unwanted change introduced with r1743422. I guess Pierre Smits forgot to remove it when he proposed his patch for OFBIZ-6738
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746717 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 13:50:17 +00:00
Divesh Dutta a68fa14ffc [OFBIZ-7051] Added support for specifying lead time while placing a quote to purchase a product. This will help purchase manager to take more informed decesion. Lead time days will also shown in view quote screen and list quote screen. Thanks Swapnil Shah for suggesting the improvement and Mohammad Kathawala for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746695 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 09:34:58 +00:00
Deepak Dixit b2698c432b (OFBIZ-7079) Added condition on EditProduct form, now inventoryItemTypeId will be enable only for createProduct, and on EditProduct screen it will be displayed as readonly instead of editable dropdown. Also fixed fk-name for inventoryItemTypeId relation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746422 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 10:55:17 +00:00
Deepak Dixit 8e0f281024 (OFBIZ-7079) Applied modified patch from jira ticket.
=======================================
Extend Product entity and add serialized field
=======================================

Thanks Avnindra for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745592 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 11:54:55 +00:00
Deepak Dixit 465e235129 (OFBIZ-7078) Applied patch from jira issue.
=======================================================
Extend OrderAdjustment entity and add isManual field
=======================================================
Thanks Rohit Koushal for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744781 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 18:03:11 +00:00
Ashish Vijaywargiya 93f1bbd335 Applying patch from jira issue - OFBIZ-7072.
DataResource.dataResourceName field should be at least 255 Chars.

Thanks Forrest Rae for creating the issue and applying the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744710 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 11:12:33 +00:00
Jacques Le Roux f5ce5c0d58 A patch from Pierre Smits for "Enhance PartyTypeAttr with a description field" https://issues.apache.org/jira/browse/OFBIZ-6738
Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.

jleroux: I noticed that none of the *TypeAttr entities has a description field, why not adding it to them all?
Pierre: This patch addresses the issue in all applicable entities, and replaces the previously provided patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743422 13f79535-47bb-0310-9956-ffa450edef68
2016-05-11 20:22:09 +00:00
Jacques Le Roux 5d65e6e84b A modified patch from James Young based on a an original patch from Christoph Neuroth for "Improved CMS tree: more functionality and faster for large trees" - https://issues.apache.org/jira/browse/OFBIZ-4502
We here at [Lusini|http://www.lusini.de/] did several improvements to the CMS backend to make it more usable for large CMS installations. 

* Improved performance of CMS tree
** loading nodes dynamically using AJAX
*** Created ContentJsonEvents to handle the JSON calls
** use OFBiz entity caches
** removed duplicate execution of WebSitePublishPoint.groovy
*** removed reference from controller.xml as it is not used anywhere

* Moving nodes in CMS tree possible now using drag'n'drop
** ContentJsonEvents returns updated node attributes
** Adjusted WebSiteCMSNav.ftl to update the moved node with the data from the ajax request
** Needed to replace the jstree jQuery plugin by the current version available on the jstree website

* Made nodes deleteable
** added remove to context menu
** We did not want to delete the WebSitePathAlias entities right away, so we added a fromDate and thruDate to it. 
*** extended WebSitePathAlias entity definition: added fromDate and thruDate
*** now checking for date range everywhere when accessing path aliases
*** This also allows users to publish or unpublish contents under a certain URL automatically at some time in the future. 
** created event to "delete" a node
*** thruDate of all assocs pointing to this node are set to current timestamp
*** thruDate of WebSitePathAliases pointing to this content or any contents below are set to current timestamp
*** this way nothing is actually removed from the DB and a "undo" would be possible if necessary
** extracted context menu to variable so it can be reused for all trees

* fixed missing references to uiLabels in CMS menu bar

* Activated cookie plugin so the selected node is remembered



jleroux: I made few changes
* Use of UtilGenerics.cast() in new ContentJsonEvents.java rather than @SuppressWarnings("unchecked")
* Removal of the commented out block "Lusini: disable RTE". I see no reasons why we would not use elRTE. Notably in relation with adding errors where it's currently used in trunk demo
* I changed the line 
    var unmovableSubtrees = [false, "categoryChildren_LusiniBrowseRoot", "homeContentsRoot", "merchantContentsRoot"];
    We have no such subtrees OOTB but it's good to keep the idea, I just renamed categoryChildren_LusiniBrowseRoot to categoryChildren and put an explaining comment
* I have roughly added the labels ContentWebSiteErrors, ContentWebSiteAddNewErrors and ContentWebSiteAddError, though I have a doubt about how this works. At least it's different than on trunk demo where it seems to works better (despite having uncommented out elRTE in this commit). ALso I don't remember how to add a menu worked (if it worked).
* I checked the version of jstree we use is the same than in the original patch from Christoph Neuroth. BTW at r1559769 I tried to update jstree  to jstree 3 but gave up.
* I removed the jquery.cookie.js implemnentation and replaced link in WebSiteCMSNav.ftl. I already updted to jquery.cookie-1.4.0 at r1559769

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738588 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 14:17:30 +00:00
Jacques Le Roux 2f43c5a993 Patches from Pierre Smits for <<Enhancing *Attribute entities with a description field>> https://issues.apache.org/jira/browse/OFBIZ-6962
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736846 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 09:31:53 +00:00
Gil Portenseigne 1b24109e5d OFBIZ-6943
Update entity definition of OtherDataResource, VideoDataResource and AudioDataResource replacing object to byte-array data type and title correction

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735742 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:15:14 +00:00
Jacques Le Roux 9df16aed80 A slightly modified patch from Pierre Smits for <<comments on ordering products should be store driven>> https://issues.apache.org/jira/browse/OFBIZ-6924
Currently, in ecommerce/tiny-gismo-GZ-1000-p a comment field is shown.
This is a result of the following code in productdetail.ftl
{code}
<#assign commentEnable = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.comment.enable", delegator)>
            <#if commentEnable.equals("Y")>
                <#assign orderItemAttr = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.attr.prefix", delegator)>
                ${uiLabelMap.CommonComment}&nbsp;<input type="text" name="${orderItemAttr}comment"/>
            </#if>
{code}
Based on the code excerpt this is set by a property value in the order component. However this should be based on a configuration setting in the store.

jleroux: I simply changed the place of the ProductStore.allowComment field (not after the old deprecated fields) and used a description instead of an XML comment there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735435 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 14:32:16 +00:00
Jacques Le Roux cc3d67d2be A patch from Pierre Smits for "Extend the PostalAddress entity with additional elements" https://issues.apache.org/jira/browse/OFBIZ-6882
Various modern day 3rd party delivery solutions (e.g. PostNL in The Netherlands) require that elements are delivered separately, so that addresses can be checked more easily.

Current definition of the PostalAddress doesn't have separation of:
* street name
* house number
* house number addition or extension


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729198 13f79535-47bb-0310-9956-ffa450edef68
2016-02-08 16:00:51 +00:00
Jacques Le Roux ab179c83c6 A completed patch from Hans Bakker for "Various fixes related with sales opportunity" https://issues.apache.org/jira/browse/OFBIZ-6791
jleroux:
This is related with r1725574 where I  reverted the change done with http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?r1=1723248&r2=1723247&pathrev=1723248 following this thread  http://markmail.org/message/mspie3qdjcac2tci
In few words r1725574 was wrong (broke opportunity creation) and it was better to "improve" the opportunities list

I added a sort to have all same (with different possible roleTypeIds) opportunities subsequent, added the roleTypeId near the salesOpportunityId to make it obvious, and added a RoleType column
I also replaced useless &quot; by real quote in groovy expressions and replaced the link from the opportunities list to a view screen by an edit screen (which can do more hence less)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726493 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 14:14:15 +00:00
Ashish Vijaywargiya 77d8b29fdf Applied patch from OFBIZ-6777 - Product weight field enhancements
================================
There are three sets of dimensions in the Product entity.
(productHeight, shippingHeight), (productWidth, shippingWidth), (productDepth, shippingDepth) but in case of weight, there is another set of dimension field weight and productWeight which are inconsistent in nature.
Fix this thing and correct all instances of this in the framework.
=================================
Thanks Suraj for reporting the issue and providing the patch for the same. Thanks Jacopo and Pierre for discussing the issue with Suraj.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720900 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 11:32:08 +00:00
Jacopo Cappellato 85b2008053 OFBIZ-6760: Moved all entity definitions from the applications components into a new component named "datamodel".
This is a first step to refactor application components into independent parts that can be deployed when needed.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720413 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 18:37:22 +00:00