Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036194 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 04. Warehouse management | major | always | 2017-06-06 13:55 | 2017-06-09 13:27 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | markmm82 | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR17Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5c7a45d3dd1f | ||||
Projection | none | ETA | none | Target Version | 3.0PR17Q2.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | aferraz | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-12-02 | |||||||
Regression introduced in release | 3.0PR17Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/cde4e226d8de [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036194: Cannot select an order line in Create Lines From of Goods Receipt window if it uses secondary UOM | |||||||
Description | Cannot select an order line in Create Lines From of Goods Receipt window if it uses secondary UOM | |||||||
Steps To Reproduce | As system admin role: Set as displayed the 'Order Quantity' and 'Order UOM' fields of at least purchase order and goods receipt lines Set as active 'Product - UOM' and 'Unit Of Measure - Conversion' tabs As group admin role: Create a new product Add a purchase price list to it Set a unit in the UOM tab, for example Kg Define a conversion between Kg and Unit Create a purchase order, add a line to it and include the previously created order Select Kg in Order UOM field and set the quantity in Order Quantity field Book it Create a Goods Receipt header Click on Create Lines From and select the already created order line Add a storage bin and click on OK Check the following error message is shown: "This record cannot be deleted because it is associated with other existing elements. Please see Linked Items" The logs shows: ERROR org.openbravo.erpCommon.ad_actionButton.CreateFromShipmentData - SQL error in query: INSERT INTO M_INOUTLINE ... Exception:org.postgresql.util.PSQLException: ERROR: insert or update on table "m_inoutline" violates foreign key constraint "m_inoutline_m_product_uom" Detail: Key (m_product_uom_id)=(72BA247D31F745F3AF11F74A5E2CCBEF) is not present in table "m_product_uom". | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0097284) hgbot (developer) 2017-06-09 13:27 |
Repository: erp/backports/3.0PR17Q2.1 Changeset: 5c7a45d3dd1f68dde17d9b274a5cdf18865d46bb Author: Mark <markmm82 <at> gmail.com> Date: Thu Jun 08 21:26:48 2017 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/5c7a45d3dd1f68dde17d9b274a5cdf18865d46bb [^] Fixes issue 36194: Cannot select an order line in Create Lines From of Receipt window if it uses secondary UOM Cannot select an order line in Create Lines From of Goods Receipt window if it uses secondary UOM. It was caused because of use of the secondary unit of measure ID instead of the M_PRODUCT_UOM_ID when creating the field provider for the field of secondary UOM. To fix it, was used the M_PRODUCT_UOM_ID of the record when the secondary unit is defined for the selected product, instead of the ID of it unit. --- M src/org/openbravo/materialmgmt/UOMUtil.java --- |
(0097286) aferraz (manager) 2017-06-09 13:27 |
Code review + Testing OK |
Issue History | |||
Date Modified | Username | Field | Change |
2017-06-07 22:11 | markmm82 | Type | defect => backport |
2017-06-07 22:11 | markmm82 | Target Version | => 3.0PR17Q2.1 |
2017-06-09 11:49 | aferraz | Regression level | => Production - Confirmed Stable |
2017-06-09 11:49 | aferraz | Regression date | => 2016-12-02 |
2017-06-09 11:49 | aferraz | Regression introduced in release | => 3.0PR17Q1 |
2017-06-09 11:49 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/cde4e226d8de [^] |
2017-06-09 13:27 | hgbot | Checkin | |
2017-06-09 13:27 | hgbot | Note Added: 0097284 | |
2017-06-09 13:27 | hgbot | Status | scheduled => resolved |
2017-06-09 13:27 | hgbot | Resolution | open => fixed |
2017-06-09 13:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/5c7a45d3dd1f68dde17d9b274a5cdf18865d46bb [^] |
2017-06-09 13:27 | aferraz | Review Assigned To | => aferraz |
2017-06-09 13:27 | aferraz | Note Added: 0097286 | |
2017-06-09 13:27 | aferraz | Status | resolved => closed |
2017-06-09 13:27 | aferraz | Fixed in Version | => 3.0PR17Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |