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 2016/06/26 09:44:42 UTC

svn commit: r1750242 - /ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml

Author: deepak
Date: Sun Jun 26 09:44:42 2016
New Revision: 1750242

URL: http://svn.apache.org/viewvc?rev=1750242&view=rev
Log:
(OFBIZ-7592) Applied patch jira issue.
===========================================
Show price column in supplier product lookup during PO creation
===========================================

Thanks Nameet and Yash for your contribution.

Modified:
    ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml?rev=1750242&r1=1750241&r2=1750242&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml Sun Jun 26 09:44:42 2016
@@ -104,6 +104,7 @@ under the License.
         <field name="productTypeId" title="${uiLabelMap.ProductProductType}"><display-entity entity-name="ProductType"/></field>
         <field name="supplierProductId"><display/></field>
         <field name="minimumOrderQuantity"><display/></field>
+        <field name="lastPrice"><display currency="${currencyUomId}" type="currency"/></field>
     </form>
 
     <form name="lookupVirtualProduct" extends="lookupProduct" default-map-name= "inputFields" target="LookupVirtualProduct" title="" type="single"



Re: svn commit: r1750242 - /ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml

Posted by Nicolas Malin <ni...@nereide.fr>.
Le 26/06/2016 11:44, deepak@apache.org a �crit :
> <field name="lastPrice"><display currency="${currencyUomId}" type="currency"/></field>
Idea on the fly, when we define a display with the type="currency" maybe 
we can try to resolve if currency attribute is empty on currencyUomId 
and/or uomId.

<field name="lastPrice"><display type="currency"/></field>

But if it's a specific case

<field name="lastPrice"><display currency="${specificCaseUomId} -" type="currency"/></field>


Nicolas