From 53f27cbd6b783918045bee0a5a8d0179210d550b Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 13 Feb 2009 09:32:04 +0000 Subject: [PATCH] BF [ 2306161 ] Locator on line level when creating lines from https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2306161&group_id=176962 Do not set M_Product.M_Locator when change the locator on line --- client/src/org/compiere/grid/VCreateFromShipment.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/src/org/compiere/grid/VCreateFromShipment.java b/client/src/org/compiere/grid/VCreateFromShipment.java index 48620e1659..6226a197c3 100644 --- a/client/src/org/compiere/grid/VCreateFromShipment.java +++ b/client/src/org/compiere/grid/VCreateFromShipment.java @@ -132,12 +132,6 @@ public class VCreateFromShipment extends VCreateFrom implements VetoableChangeLi MLocator locator = new MLocator(Env.getCtx(), key, null); m_locatorKey = new KeyNamePair(key, locator.getValue()); m_table.getModel().setValueAt(m_locatorKey, m_row, m_column); - - // Get product and save new locator - KeyNamePair prodKey = (KeyNamePair)m_table.getModel().getValueAt(m_row, m_column + 1); - MProduct prod = new MProduct(Env.getCtx(), prodKey.getKey(), null); - prod.setM_Locator_ID(key); - prod.save(); } }