IDEMPIERE-942 Duplicate Attribute Use showing wrong message for user
This commit is contained in:
parent
e82acb3840
commit
16c46701c8
|
@ -69,6 +69,8 @@ public class MAttributeUse extends X_M_AttributeUse
|
||||||
*/
|
*/
|
||||||
protected boolean afterSave (boolean newRecord, boolean success)
|
protected boolean afterSave (boolean newRecord, boolean success)
|
||||||
{
|
{
|
||||||
|
if (!success)
|
||||||
|
return success;
|
||||||
// also used for afterDelete
|
// also used for afterDelete
|
||||||
StringBuilder sql = new StringBuilder("UPDATE M_AttributeSet mas")
|
StringBuilder sql = new StringBuilder("UPDATE M_AttributeSet mas")
|
||||||
.append(" SET IsInstanceAttribute='Y' ")
|
.append(" SET IsInstanceAttribute='Y' ")
|
||||||
|
|
Loading…
Reference in New Issue