IDEMPIERE-942 Duplicate Attribute Use showing wrong message for user

This commit is contained in:
Carlos Ruiz 2013-05-31 17:37:25 -05:00
parent e82acb3840
commit 16c46701c8
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ public class MAttributeUse extends X_M_AttributeUse
*/
protected boolean afterSave (boolean newRecord, boolean success)
{
if (!success)
return success;
// also used for afterDelete
StringBuilder sql = new StringBuilder("UPDATE M_AttributeSet mas")
.append(" SET IsInstanceAttribute='Y' ")