Return-Path: X-Original-To: apmail-ofbiz-commits-archive@www.apache.org Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DB4518619 for ; Sun, 24 Jan 2016 14:14:22 +0000 (UTC) Received: (qmail 79285 invoked by uid 500); 24 Jan 2016 14:14:22 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 79244 invoked by uid 500); 24 Jan 2016 14:14:22 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 79235 invoked by uid 99); 24 Jan 2016 14:14:22 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2016 14:14:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D1931C0CE1 for ; Sun, 24 Jan 2016 14:14:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nAfWrn06y7g9 for ; Sun, 24 Jan 2016 14:14:16 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 3F75C20522 for ; Sun, 24 Jan 2016 14:14:16 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C1B7CE0185 for ; Sun, 24 Jan 2016 14:14:15 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id A7C933A0C45 for ; Sun, 24 Jan 2016 14:14:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1726493 - in /ofbiz/trunk/applications: datamodel/entitydef/marketing-entitymodel.xml marketing/widget/sfa/forms/OpportunityForms.xml Date: Sun, 24 Jan 2016 14:14:15 -0000 To: commits@ofbiz.apache.org From: jleroux@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160124141415.A7C933A0C45@svn01-us-west.apache.org> Author: jleroux Date: Sun Jan 24 14:14:15 2016 New Revision: 1726493 URL: http://svn.apache.org/viewvc?rev=1726493&view=rev Log: 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 " by real quote in groovy expressions Modified: ofbiz/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Modified: ofbiz/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml?rev=1726493&r1=1726492&r2=1726493&view=diff ============================================================================== --- ofbiz/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml (original) +++ ofbiz/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml Sun Jan 24 14:14:15 2016 @@ -743,7 +743,7 @@ under the License. - + Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=1726493&r1=1726492&r2=1726493&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Sun Jan 24 14:14:15 2016 @@ -49,14 +49,14 @@ under the License. - - - - + + + + - + @@ -68,18 +68,19 @@ under the License. - + - + +