You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Raphael Winckler de Bettio (JIRA)" <ji...@apache.org> on 2006/07/21 23:29:15 UTC

[jira] Created: (OFBIZ-101) PaymentMethod in product show all the PaymentMethods in the entire System

PaymentMethod in product show all the PaymentMethods in the entire System
-------------------------------------------------------------------------

                 Key: OFBIZ-101
                 URL: http://issues.apache.org/jira/browse/OFBIZ-101
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
            Reporter: Raphael Winckler de Bettio
            Priority: Minor


When you acess the paymentmethodtypes of product the system show all PaymentMethodTypes registred in any product not only in the selected product.

The problem is in the in File : applications/product/widget/catalog/ProductScreens.xml

<screen name="EditProductPaymentMethodTypes">
...
<entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
<order-by field-name="productPricePurposeId"/>
<order-by field-name="paymentMethodTypeId"/>
<order-by field-name="fromDate"/>
</entity-condition>

Is is necessary to include the condition <condition-expr field-name="productId" env-name="productId"/>

on the entity-condition tag like this:


<entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
<condition-expr field-name="productId" env-name="productId"/>
<order-by field-name="productPricePurposeId"/>
<order-by field-name="paymentMethodTypeId"/>
<order-by field-name="fromDate"/>
</entity-condition>







-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OFBIZ-101) PaymentMethod in product show all the PaymentMethods in the entire System

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-101?page=all ]

Jacopo Cappellato closed OFBIZ-101.
-----------------------------------

    Resolution: Fixed

Thanks, Raphael,

this is now fixed in rev. 424529


> PaymentMethod in product show all the PaymentMethods in the entire System
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-101
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-101
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Raphael Winckler de Bettio
>            Priority: Minor
>
> When you acess the paymentmethodtypes of product the system show all PaymentMethodTypes registred in any product not only in the selected product.
> The problem is in the in File : applications/product/widget/catalog/ProductScreens.xml
> <screen name="EditProductPaymentMethodTypes">
> ...
> <entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
> <order-by field-name="productPricePurposeId"/>
> <order-by field-name="paymentMethodTypeId"/>
> <order-by field-name="fromDate"/>
> </entity-condition>
> Is is necessary to include the condition <condition-expr field-name="productId" env-name="productId"/>
> on the entity-condition tag like this:
> <entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
> <condition-expr field-name="productId" env-name="productId"/>
> <order-by field-name="productPricePurposeId"/>
> <order-by field-name="paymentMethodTypeId"/>
> <order-by field-name="fromDate"/>
> </entity-condition>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira