Openbravo Forum End of Life Notice

Dear Openbravo Forum User,

Because of continued very low usage we decided to stop the forums on 31st of August 2017

In case of questions: webmaster "at" openbravo.com

Menu.Root

<<

Gjergj Sheldija

Posts: 28

Joined: Wed Mar 18, 2009 7:25 pm

Post Sun Jan 30, 2011 5:44 pm

Menu.Root

hi all,


just an idea


regards


gj.

Code: Select all
//Main Menu
group = menu.addGroup("Menu.Main");
group.addPanel("/com/openbravo/images/mycomputer.png", "Menu.Ticket", "com.openbravo.pos.sales.JPanelTicketSales");
group.addPanel("/com/openbravo/images/mycomputer.png", "Menu.TicketEdit", "com.openbravo.pos.sales.JPanelTicketEdits");
group.addPanel("/com/openbravo/images/kdmconfig.png", "Menu.CustomersPayment", "com.openbravo.pos.customers.CustomersPayment");
group.addPanel("/com/openbravo/images/mycomputer.png", "Menu.Payments", "com.openbravo.pos.panels.JPanelPayments");
group.addPanel("/com/openbravo/images/mycomputer.png", "Menu.CloseTPV", "com.openbravo.pos.panels.JPanelCloseMoney");
group.addPanel("/com/openbravo/images/appointment.png", "Menu.Closing", "/com/openbravo/reports/closedpos.bs");

//Backoffice
group = menu.addGroup("Menu.Backoffice");

submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.Customers", "com.openbravo.pos.forms.MenuCustomers");
submenu.addTitle("Menu.Customers");
submenu.addPanel("/com/openbravo/images/kdmconfig.png", "Menu.CustomersManagement", "com.openbravo.pos.customers.CustomersPanel");
submenu.addTitle("Menu.Customers.Reports");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomersReport", "/com/openbravo/reports/customers.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomersBReport", "/com/openbravo/reports/customersb.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomersDiary", "/com/openbravo/reports/customersdiary.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomersStatement", "/com/openbravo/reports/customersstatement.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomerSells", "/com/openbravo/reports/salebycustomer.bs");

submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.Suppliers", "com.openbravo.pos.forms.MenuSuppliers");
submenu.addTitle("Menu.Suppliers");
submenu.addPanel("/com/openbravo/images/kdmconfig.png", "Menu.SuppliersManagement", "com.openbravo.pos.suppliers.SuppliersPanel");
submenu.addPanel("/com/openbravo/images/kdmconfig.png", "Menu.SuppliersPayment", "com.openbravo.pos.suppliers.SuppliersPayment");
submenu.addTitle("Menu.Customers.Reports");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.SuppliersReport", "/com/openbravo/reports/suppliers.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.SuppliersBReport", "/com/openbravo/reports/suppliersb.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.SuppliersDiary", "/com/openbravo/reports/suppliersdiary.bs");

submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.StockManagement", "com.openbravo.pos.forms.MenuStockManagement");
submenu.addTitle("Menu.StockManagement.Edit");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Categories", "com.openbravo.pos.inventory.CategoriesPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Materials", "com.openbravo.pos.inventory.MaterialsPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Products", "com.openbravo.pos.inventory.ProductsPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Compositions", "com.openbravo.pos.inventory.CompositionsPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Auxiliar", "com.openbravo.pos.inventory.AuxiliarPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Attributes", "com.openbravo.pos.inventory.AttributesPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.AttributeValues", "com.openbravo.pos.inventory.AttributeValuesPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.AttributeSets", "com.openbravo.pos.inventory.AttributeSetsPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.AttributeUse", "com.openbravo.pos.inventory.AttributeUsePanel");

submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Taxes", "com.openbravo.pos.inventory.TaxPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.TaxCategories", "com.openbravo.pos.inventory.TaxCategoriesPanel");
// submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.TaxCustCategories", "com.openbravo.pos.inventory.TaxCustCategoriesPanel");

submenu.addTitle("Menu.StockManagement.Edit");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.ProductsWarehouse", "com.openbravo.pos.inventory.ProductsWarehousePanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.StockDiary", "com.openbravo.pos.inventory.StockDiaryPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.StockMovement", "com.openbravo.pos.inventory.StockManagement");

submenu.addTitle("Menu.StockManagement.Reports");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.Products", "/com/openbravo/reports/products.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.ProductLabels", "/com/openbravo/reports/productlabels.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.Catalog", "/com/openbravo/reports/productscatalog.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.Inventory", "/com/openbravo/reports/inventory.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.Inventory2", "/com/openbravo/reports/inventoryb.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.InventoryBroken", "/com/openbravo/reports/inventorybroken.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.InventoryDiff", "/com/openbravo/reports/inventorydiff.bs");
submenu.addPanel("/com/openbravo/images/important.png", "Menu.InventoryProblemReport", "com.openbravo.pos.panels.JPanelInventoryProblem");

submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.SalesManagement", "com.openbravo.pos.forms.MenuSalesManagement");
submenu.addTitle("Menu.SalesManagement.Reports");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.UserSells", "/com/openbravo/reports/usersales.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.ClosedProducts", "/com/openbravo/reports/closedproducts.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.ReportTaxes", "/com/openbravo/reports/taxes.bs");
submenu.addPanel("/com/openbravo/images/cakes3d.png", "Menu.SalesChart", "/com/openbravo/reports/chartsales.bs");
submenu.addPanel("/com/openbravo/images/cakes3d.png", "Menu.ProductSales", "/com/openbravo/reports/productsales.bs");

submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.Maintenance", "com.openbravo.pos.forms.MenuMaintenance");

submenu.addTitle("Menu.PeoplePanel");
submenu.addPanel("/com/openbravo/images/kdmconfig.png", "Menu.Users", "com.openbravo.pos.admin.PeoplePanel");
submenu.addPanel("/com/openbravo/images/permissions.png", "Menu.Roles", "com.openbravo.pos.admin.RolesPanel");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.UsersReport", "/com/openbravo/reports/people.bs");

submenu.addTitle("Menu.Maintenance.POS");
submenu.addPanel("/com/openbravo/images/clipart.png", "Menu.Resources", "com.openbravo.pos.admin.ResourcesPanel");
submenu.addPanel("/com/openbravo/images/gohome.png", "Menu.Locations", "com.openbravo.pos.inventory.LocationsPanel");
submenu.addPanel("/com/openbravo/images/gohome.png", "Menu.Banks", "com.openbravo.pos.mant.BankPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Units", "com.openbravo.pos.inventory.UnitsMeasurePanel");

submenu.addTitle("Menu.Maintenance.Restaurant");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Floors", "com.openbravo.pos.mant.JPanelFloors");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Tables", "com.openbravo.pos.mant.JPanelPlaces");


submenu = group.addSubmenu("/com/openbravo/images/contents.png", "Menu.PresenceManagement", "com.openbravo.pos.forms.MenuEmployees");
submenu.addTitle("Menu.PresenceManagement");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Breaks", "com.openbravo.pos.epm.BreaksPanel");
submenu.addPanel("/com/openbravo/images/bookmark.png", "Menu.Leaves", "com.openbravo.pos.epm.LeavesPanel");
submenu.addTitle("Menu.Employees.Reports");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.DailyPresenceReport", "/com/openbravo/reports/dailypresencereport.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.DailyScheduleReport", "/com/openbravo/reports/dailyschedulereport.bs");
submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.PerformanceReport", "/com/openbravo/reports/performancereport.bs");

group.addPanel("/com/openbravo/images/contents.png", "Menu.Company", "com.openbravo.pos.panels.JCompany");

//System Menu
group = menu.addGroup("Menu.System");
group.addChangePasswordAction();
group.addPanel("/com/openbravo/images/package_settings.png", "Menu.Configuration", "com.openbravo.pos.config.JPanelConfiguration");
group.addPanel("/com/openbravo/images/fileprint.png", "Menu.Printer", "com.openbravo.pos.panels.JPanelPrinter");
group.addPanel("/com/openbravo/images/time_clock22.png", "Menu.CheckInCheckOut", "com.openbravo.pos.epm.JPanelEmployeePresence");
group.addExitAction();

// Deprecated options.
// submenu.addTitle("Menu.Maintenance.ERP");
// submenu.addExecution("/com/openbravo/images/openbravo.png", "Menu.ERPProducts", "com.openbravo.possync.ProductsSyncCreate");
// submenu.addExecution("/com/openbravo/images/openbravo.png", "Menu.ERPOrders", "com.openbravo.possync.OrdersSyncCreate");
<<

Helder Teixeira

Posts: 55

Joined: Sat Feb 06, 2010 6:23 pm

Post Mon Jan 31, 2011 7:37 pm

RE:Menu.Root

Hi,



Seems good.



Thanks
<<

Gjergj Sheldija

Posts: 28

Joined: Wed Mar 18, 2009 7:25 pm

Post Mon Jan 31, 2011 7:42 pm

RE:Menu.Root

hi Corvisier,


it looks somehow more structured this way


regards


gj.


Return to Open discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Website Terms


Designed by ST Software for PTF.