Login  Register

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

Posted by Nicolas Malin (Jira) on Jul 22, 2006; 7:58am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-101-PaymentMethod-in-product-show-all-the-PaymentMethods-in-the-entire-System-tp170002p170003.html

     [ 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