IDEMPIERE-4517 Some messages missing - toolbar (#347)

This commit is contained in:
Carlos Ruiz 2020-11-02 16:11:08 +01:00 committed by GitHub
parent db7b9db43c
commit f43883f795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 65 additions and 6 deletions

View File

@ -0,0 +1,31 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-4517 Some messages missing - toolbar
-- Nov 2, 2020, 3:13:25 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Grid Toggle',0,0,'Y',TO_DATE('2020-11-02 15:13:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:13:25','YYYY-MM-DD HH24:MI:SS'),100,200644,'Toggle','D','180ca04f-183f-459f-806e-f153f2682375')
;
-- Nov 2, 2020, 3:13:40 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Parent Record',0,0,'Y',TO_DATE('2020-11-02 15:13:40','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:13:40','YYYY-MM-DD HH24:MI:SS'),100,200645,'ParentRecord','D','b278e708-8445-495a-b180-20d527025e9c')
;
-- Nov 2, 2020, 3:13:53 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Detail record',0,0,'Y',TO_DATE('2020-11-02 15:13:52','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:13:52','YYYY-MM-DD HH24:MI:SS'),100,200646,'DetailRecord','D','e389b9a4-03c1-4681-aa00-573bc57515cb')
;
-- Nov 2, 2020, 3:14:04 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Active Workflows',0,0,'Y',TO_DATE('2020-11-02 15:14:04','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:14:04','YYYY-MM-DD HH24:MI:SS'),100,200647,'ActiveWorkflows','D','0706bb1e-9700-42bc-92ec-3890ee22a18e')
;
-- Nov 2, 2020, 3:14:15 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Check Requests',0,0,'Y',TO_DATE('2020-11-02 15:14:15','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:14:15','YYYY-MM-DD HH24:MI:SS'),100,200648,'Requests','D','8189a7f3-5e9d-432e-9c9e-7479f8352527')
;
-- Nov 2, 2020, 3:14:27 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Product Info',0,0,'Y',TO_DATE('2020-11-02 15:14:27','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-02 15:14:27','YYYY-MM-DD HH24:MI:SS'),100,200649,'ProductInfo','D','aed93a4d-24e5-42b7-81a6-975c18b85e20')
;
SELECT register_migration_script('202011021539_IDEMPIERE-4517.sql') FROM dual
;

View File

@ -0,0 +1,28 @@
-- IDEMPIERE-4517 Some messages missing - toolbar
-- Nov 2, 2020, 3:13:25 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Grid Toggle',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:13:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:13:25','YYYY-MM-DD HH24:MI:SS'),100,200644,'Toggle','D','180ca04f-183f-459f-806e-f153f2682375')
;
-- Nov 2, 2020, 3:13:40 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Parent Record',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:13:40','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:13:40','YYYY-MM-DD HH24:MI:SS'),100,200645,'ParentRecord','D','b278e708-8445-495a-b180-20d527025e9c')
;
-- Nov 2, 2020, 3:13:53 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Detail record',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:13:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:13:52','YYYY-MM-DD HH24:MI:SS'),100,200646,'DetailRecord','D','e389b9a4-03c1-4681-aa00-573bc57515cb')
;
-- Nov 2, 2020, 3:14:04 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Active Workflows',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:14:04','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:14:04','YYYY-MM-DD HH24:MI:SS'),100,200647,'ActiveWorkflows','D','0706bb1e-9700-42bc-92ec-3890ee22a18e')
;
-- Nov 2, 2020, 3:14:15 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Check Requests',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:14:15','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:14:15','YYYY-MM-DD HH24:MI:SS'),100,200648,'Requests','D','8189a7f3-5e9d-432e-9c9e-7479f8352527')
;
-- Nov 2, 2020, 3:14:27 PM CET
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('M','Product Info',0,0,'Y',TO_TIMESTAMP('2020-11-02 15:14:27','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-02 15:14:27','YYYY-MM-DD HH24:MI:SS'),100,200649,'ProductInfo','D','aed93a4d-24e5-42b7-81a6-975c18b85e20')
;
SELECT register_migration_script('202011021539_IDEMPIERE-4517.sql') FROM dual
;

View File

@ -231,11 +231,11 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
btnAttachment = createButton("Attachment", "Attachment", "Attachment");
btnPostIt = createButton("PostIt", "PostIt", "PostIt");
btnChat = createButton("Chat", "Chat", "Chat");
btnGridToggle = createButton("Toggle", "Multi", "Multi");
btnGridToggle = createButton("Toggle", "Multi", "Toggle");
btnGridToggle.setTooltiptext(btnGridToggle.getTooltiptext()+ " Alt+T");
btnParentRecord = createButton("ParentRecord", "Parent", "Parent");
btnParentRecord = createButton("ParentRecord", "Parent", "ParentRecord");
btnParentRecord.setTooltiptext(btnParentRecord.getTooltiptext()+ " Alt+Up");
btnDetailRecord = createButton("DetailRecord", "Detail", "Detail");
btnDetailRecord = createButton("DetailRecord", "Detail", "DetailRecord");
btnDetailRecord.setTooltiptext(btnDetailRecord.getTooltiptext()+ " Alt+Down");
btnReport = createButton("Report", "Report", "Report");
btnReport.setTooltiptext(btnReport.getTooltiptext()+ " Alt+R");
@ -248,10 +248,10 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
btnLock.setVisible(isPersonalLock);
}
btnZoomAcross = createButton("ZoomAcross", "ZoomAcross", "ZoomAcross");
btnActiveWorkflows = createButton("ActiveWorkflows", "WorkFlow", "WorkFlow");
btnRequests = createButton("Requests", "Request", "Request");
btnActiveWorkflows = createButton("ActiveWorkflows", "WorkFlow", "ActiveWorkflows");
btnRequests = createButton("Requests", "Request", "Requests");
if (isAllowProductInfo) {
btnProductInfo = createButton("ProductInfo", "Product", "InfoProduct");
btnProductInfo = createButton("ProductInfo", "Product", "ProductInfo");
btnProductInfo.setDisabled(!isAllowProductInfo); // Elaine 2008/07/22
btnProductInfo.setVisible(isAllowProductInfo);
}