You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Montalbano Florian (JIRA)" <ji...@apache.org> on 2016/06/13 07:41:20 UTC

[jira] [Commented] (OFBIZ-7309) Stock Move: Unable to select From Stock location from List Facility Location popup

    [ https://issues.apache.org/jira/browse/OFBIZ-7309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326943#comment-15326943 ] 

Montalbano Florian commented on OFBIZ-7309:
-------------------------------------------

Hi,
we looked into the problem and found what seems to be the root of this bug.
The form with the not working lookup is described in the following ftl file : PickLiveStock.ftl .

For some reason, the 'Product' input and the 'To Location' input are created with the macro @htmlTemplate.lookupField (and are working well) but the 'From Location' field is created by a direct call to a javascript function (and is not working well).
That causes the lookup to open in another window and to lose the context. That's why the selection didn't work. Moreover, the theme was not rendered with Saphir.

I'll provide a patch but I'm quite new to ftl so every review is welcome !

Have a nice day.

> Stock Move: Unable to select From Stock location from List Facility Location popup
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7309
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7309
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Ankush Upadhyay
>         Attachments: StockMoves.png
>
>
> Functionality working as expected over ofbiz-13.07.03 but failing in trunk.
> Steps to reproduce:
> 1. Login to facility component.
> 2. Select any facility.
> 2. Navigate to Stock Moves tab.
> 3. Click on From Location lookup from Quick Stock Move section against GZ-8544 product.
> 4. Try to select any location from List Facility Location popup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)