sales opportunity creation: required-field removed, disturbed the form submission, entityone no value field, error in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1723007 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -65,7 +65,7 @@ under the License.
|
||||
</actions>
|
||||
<row-actions>
|
||||
<set field="isDateAfterNow" value="${groovy:org.ofbiz.base.util.UtilValidate.isDateAfterNow(estimatedCloseDate)}" type="Boolean"/>
|
||||
<entity-one entity-name="SalesOpportunity"/>
|
||||
<entity-one entity-name="SalesOpportunity" value-field="salesOpportunity"/>
|
||||
</row-actions>
|
||||
<field name="salesOpportunityId"><hidden/></field>
|
||||
<field name="opportunityName" title="${uiLabelMap.SfaOpportunityName}">
|
||||
@@ -93,8 +93,8 @@ under the License.
|
||||
</field>
|
||||
</form>
|
||||
|
||||
<form name="EditSalesOpportunity" type="single" target="updateSalesOpportunity" default-map-name="salesOpportunity"
|
||||
header-row-style="header-row" default-table-style="basic-table">
|
||||
<form name="EditSalesOpportunity" type="single" target="updateSalesOpportunity" default-map-name="salesOpportunity"
|
||||
header-row-style="header-row" default-table-style="basic-table" >
|
||||
<alt-target use-when="salesOpportunity==null" target="createSalesOpportunity"/>
|
||||
<field name="salesOpportunityId" use-when="salesOpportunity!=null"><display/></field>
|
||||
<field name="salesOpportunityId" use-when="salesOpportunity==null&&salesOpportunityId==null"><text/></field>
|
||||
@@ -119,8 +119,8 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="nextStepDate" position="1" title="${uiLabelMap.SfaNextStepDate}"><date-time/></field>
|
||||
<field name="estimatedCloseDate" position="2" title="${uiLabelMap.SfaCloseDate}" required-field="true"><date-time/></field>
|
||||
<field name="opportunityStageId" position="1" title="${uiLabelMap.SfaInitialStage}" required-field="true">
|
||||
<field name="estimatedCloseDate" position="2" title="${uiLabelMap.SfaCloseDate}"><date-time/></field>
|
||||
<field name="opportunityStageId" position="1" title="${uiLabelMap.SfaInitialStage}">
|
||||
<drop-down>
|
||||
<entity-options entity-name="SalesOpportunityStage">
|
||||
<entity-order-by field-name="sequenceNum"/>
|
||||
@@ -153,8 +153,8 @@ under the License.
|
||||
</field>
|
||||
<field name="accountPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaInitialAccount}" ><lookup target-form-name="LookupPartyGroup" default-value="${accountPartyId}"/></field>
|
||||
<field name="accountPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaInitialAccount}" ><lookup target-form-name="LookupPartyGroup" default-value="${accountPartyId}"/></field>
|
||||
<field name="leadPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaLead}" required-field="true"><lookup target-form-name="LookupPerson" default-value="${leadPartyId}"/></field>
|
||||
<field name="leadPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaLead}" required-field="true"><lookup target-form-name="LookupPerson" default-value="${communicationEvent.partyIdFrom}"/></field>
|
||||
<field name="leadPartyId" use-when="communicationEvent==null" title="${uiLabelMap.SfaLead}"><lookup target-form-name="LookupPerson" default-value="${leadPartyId}"/></field>
|
||||
<field name="leadPartyId" use-when="communicationEvent!=null" title="${uiLabelMap.SfaLead}"><lookup target-form-name="LookupPerson" default-value="${communicationEvent.partyIdFrom}"/></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSave}" use-when="salesOpportunity==null"><submit button-type="button"/></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="salesOpportunity!=null"><submit button-type="button"/></field>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user