You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditya Sharma (JIRA)" <ji...@apache.org> on 2017/08/08 04:42:00 UTC

[jira] [Updated] (OFBIZ-9368) OEM Party Id field should have lookup on Edit Product page

     [ https://issues.apache.org/jira/browse/OFBIZ-9368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Sharma updated OFBIZ-9368:
---------------------------------
    Attachment: OFBIZ-9368_plugins.patch
                OFBIZ-9368.patch

As suggested by Jacques and Pierre, the patch includes removing all the traces of OEMPartyId (manufacturerPartyId) as it was some old approach.

Changes in Patch:
1. Removed manufacturerPartyId from Product entity
2. Removed its relations from view entities namely GoodIdentificationAndProduct
3. Removed it from forms EditProduct (Product), SearchInventoryItemsParams (EditFacilityInventoryItems screen in Facility) and SearchInventoryItemsDetailsParams (ViewFacilityInventoryItemsDetails screen in Facility) 

TODO:
Add SQL query to alter table at https://cwiki.apache.org/confluence/display/OFBIZ/Revisions+Requiring+Data+Migration+-+upgrade+ofbiz after commit.

> OEM Party Id field should have lookup on Edit Product page
> ----------------------------------------------------------
>
>                 Key: OFBIZ-9368
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9368
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Trivial
>         Attachments: OFBIZ-9368.patch, OFBIZ-9368.patch, OFBIZ-9368_plugins.patch
>
>
> Steps to reproduce:
> 1. Go to Catalog component (https://demo-trunk.ofbiz.apache.org/catalog/control/main)
> 2. Click on Products from submenu.(https://demo-trunk.ofbiz.apache.org/catalog/control/FindProduct)
> 3. Provide search preference and click on Find button.
> 4. Click on any Product Id link (https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=WG-9943). 
> OEM Party Id is a text field with no look up. A user needs to know the correct partyId else it will give an error due to the violation of "Referential Integrity".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)