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 |
[ 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 |
Free forum by Nabble | Edit this page |