Author: diveshdutta
Date: Sat Jun 18 21:57:23 2016
New Revision: 1749099
URL:
http://svn.apache.org/viewvc?rev=1749099&view=revLog:
[OFBIZ-7414] Under Purchase by Organization report it looks like 'To Party' dropdown is currently seems to be fetching all parties in INTERNAL_ORGANIZATION role which could multiple but not necessarily the ones where PO is going to be billed or received eventually (i.e. as per PartyAcctgPreference). We can only show in drop down those parties which are available at the time PO entry
Modified:
ofbiz/branches/release14.12/applications/order/widget/ordermgr/ReportForms.xml
Modified: ofbiz/branches/release14.12/applications/order/widget/ordermgr/ReportForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/order/widget/ordermgr/ReportForms.xml?rev=1749099&r1=1749098&r2=1749099&view=diff==============================================================================
--- ofbiz/branches/release14.12/applications/order/widget/ordermgr/ReportForms.xml (original)
+++ ofbiz/branches/release14.12/applications/order/widget/ordermgr/ReportForms.xml Sat Jun 18 21:57:23 2016
@@ -178,9 +178,7 @@ under the License.
</field>
<field name="toPartyId" title="${uiLabelMap.AccountingToPartyId}">
<drop-down allow-empty="false">
- <entity-options entity-name="PartyRoleAndPartyDetail" description="${groupName} ${firstName} ${lastName} [${partyId}]" key-field-name="partyId">
- <entity-constraint name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/>
- </entity-options>
+ <entity-options entity-name="PartyAcctgPrefAndGroup" description="${groupName} ${firstName} ${lastName} [${partyId}]" key-field-name="partyId"/>
</drop-down>
</field>
<field name="orderStatusId">