This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 62b8113d2b88f3f32cb0c8f5f56764cc4b79a05a Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Nov 9 10:03:31 2021 +0100 Fixed: In LookupProduct some categories don't show, only blank lines (OFBIZ-12368) For now only description is shown. OOTB some categories have no description We can easily fix that by showing more info. I suggest to add categoryName and productCategoryId. That should be enough. There are then no blank lines since productCategoryId always show. This is anyway customisable by users --- applications/product/widget/catalog/FieldLookupForms.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/product/widget/catalog/FieldLookupForms.xml b/applications/product/widget/catalog/FieldLookupForms.xml index 3f8e093..9a843a6 100644 --- a/applications/product/widget/catalog/FieldLookupForms.xml +++ b/applications/product/widget/catalog/FieldLookupForms.xml @@ -35,7 +35,7 @@ under the License. </field> <field name="primaryProductCategoryId" title="${uiLabelMap.ProductPrimaryCategory}"> <drop-down allow-empty="true"> - <entity-options entity-name="ProductCategory" key-field-name="productCategoryId"> + <entity-options entity-name="ProductCategory" key-field-name="productCategoryId" description="${description} ${categoryName} [${productCategoryId}]"> <entity-order-by field-name="description"/> </entity-options> </drop-down> @@ -377,4 +377,4 @@ under the License. <field name="costGlAccountTypeId" title="${uiLabelMap.ProductCostGlAccountTypeId}"><display/></field> <field name="offsettingGlAccountTypeId" title="${uiLabelMap.ProductOffsettingGlAccountTypeId}"><display/></field> </form> -</forms> \ No newline at end of file +</forms>