IDEMPIERE-1324 Menu entries with summary and centrally maintained are not translated

This commit is contained in:
Carlos Ruiz 2013-09-03 08:40:51 -05:00
parent 7b31487867
commit b37f5e3a9d
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-1324 Menu entries with summary and centrally maintained are not translated
update ad_menu set iscentrallymaintained='N' where issummary='Y'
;
SELECT register_migration_script('201309030837_IDEMPIERE-1324.sql') FROM dual
;

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-1324 Menu entries with summary and centrally maintained are not translated
update ad_menu set iscentrallymaintained='N' where issummary='Y'
;
SELECT register_migration_script('201309030837_IDEMPIERE-1324.sql') FROM dual
;

View File

@ -114,6 +114,8 @@ public class MMenu extends X_AD_Menu
// Reset info
if (isSummary() && getAction() != null)
setAction(null);
if (isSummary() && isCentrallyMaintained())
setIsCentrallyMaintained(false);
String action = getAction();
if (action == null)
action = "";