You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2017/02/12 11:36:05 UTC

svn commit: r1782658 - /ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml

Author: deepak
Date: Sun Feb 12 11:36:05 2017
New Revision: 1782658

URL: http://svn.apache.org/viewvc?rev=1782658&view=rev
Log:
Fixed: Found console warning related to attribute 'entity-alias' must appear on element 'condition-expr'

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml?rev=1782658&r1=1782657&r2=1782658&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml Sun Feb 12 11:36:05 2017
@@ -107,7 +107,7 @@ under the License.
         <view-link entity-alias="INV" rel-entity-alias="PFR" rel-optional="true">
             <key-map field-name="partyIdFrom" rel-field-name="partyId"/>
             <entity-condition>
-                <condition-expr field-name="partyIdentificationTypeId" value="INVOICE_EXPORT"/>
+                <condition-expr entity-alias="PFR" field-name="partyIdentificationTypeId" value="INVOICE_EXPORT"/>
             </entity-condition>
         </view-link>
         <view-link entity-alias="INV" rel-entity-alias="PTO" rel-optional="true">



Re: svn commit: r1782658 - /ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_ reports.xml

Posted by Jacques Le Roux <ja...@les7arts.com>.
That's a very important point with possible catastrophic consequences, thanks Deepak! (I thought I fixed them all :/)

Jacques


Le 12/02/2017 � 12:36, deepak@apache.org a �crit :
> Author: deepak
> Date: Sun Feb 12 11:36:05 2017
> New Revision: 1782658
>
> URL: http://svn.apache.org/viewvc?rev=1782658&view=rev
> Log:
> Fixed: Found console warning related to attribute 'entity-alias' must appear on element 'condition-expr'
>
> Modified:
>      ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml
>
> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml
> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml?rev=1782658&r1=1782657&r2=1782658&view=diff
> ==============================================================================
> --- ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml (original)
> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/entitydef/entitymodel_reports.xml Sun Feb 12 11:36:05 2017
> @@ -107,7 +107,7 @@ under the License.
>           <view-link entity-alias="INV" rel-entity-alias="PFR" rel-optional="true">
>               <key-map field-name="partyIdFrom" rel-field-name="partyId"/>
>               <entity-condition>
> -                <condition-expr field-name="partyIdentificationTypeId" value="INVOICE_EXPORT"/>
> +                <condition-expr entity-alias="PFR" field-name="partyIdentificationTypeId" value="INVOICE_EXPORT"/>
>               </entity-condition>
>           </view-link>
>           <view-link entity-alias="INV" rel-entity-alias="PTO" rel-optional="true">
>
>
>