A fix in the relationship creation committed in r695268 : should be DISTRIBUTION_CHANNEL and not CUSTOMER_REL
Note that we could also reverse the relationship using CUSTOMER_REL partyRelationshipTypeId but in this case we will have to use a hack (user system) for the creation permission and to revert this hack after its use in the CreatePartyRelationship service git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -311,7 +311,7 @@ under the License.
|
||||
<set field="partyRelationshipCtx.partyIdTo" value="admin"/>
|
||||
<set field="partyRelationshipCtx.roleTypeIdTo" value="SALES_REP"/>
|
||||
<set field="partyRelationshipCtx.roleTypeIdFrom" value="CUSTOMER"/>
|
||||
<set field="partyRelationshipCtx.partyRelationshipTypeId" value="CUSTOMER_REL"/>
|
||||
<set field="partyRelationshipCtx.partyRelationshipTypeId" value="DISTRIBUTION_CHANNEL"/>
|
||||
<call-service service-name="createPartyRelationship" in-map-name="partyRelationshipCtx"/>
|
||||
|
||||
<!-- shipping address -->
|
||||
|
||||
Reference in New Issue
Block a user