View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:Configurable System logos

Contents

Make the System Logos configurable without modifying the Core Module - Functional Specifications

Overview

Purpose

The purpose of this project is to make the System logos (like the "Your Company", or "Your IT service" logos) configurable through the Openbravo User Interface, without the need to modify the Core module.

This project will leverage the functionality provided by the new Image BLOB reference, which allows a user to directly upload an image through the Openbravo user interface into the database.

References

Functional Requirements

Business process definition

Functional requirements based on business processes

Num Requirement Importance Status
1.1 Columns need to be added to the application to store the reference to the images, and modifications need to be done to the application so that the logos are retrieved from the database instead of from files when the windows are shown Must Have
1.2 The build process will insert the standard logos in the database Must Have
1.3 Initial Client Setup will copy the standard client images to the client table Must Have
1.4 Reports need to be modified so that they get their logo from the database instead of from files. Nice to Have

User Interface Mockups

The logos that can be configurable through the application are the following ones:

LoginWindow3.png

The "Your Company" and "Your IT Service" ones in the login window.

MainWindow3.png MainWindow2.png

The "Your Company" one in the top section of the menu, and the big Openbravo one in the main frame section.

File:PrintedReport.jpg

And finally, the one in some printed reports.

Open Discussion Items

Closed Discussion Items

Testcases

Execute new install.source and check logos

Steps to execute:

  1. Use install.source to install a new instance
  2. Go to the login page
  3. Check that the 'yourcompany' and the 'yourit-service' logos are both displayed and that they do not only show an empty white space
  4. Login into the application
  5. Check that the 'yourcompany' logo is displayed above the main menu to the left
  6. Check that the 'openbravo logo' in big is displayed in the right area, when no window has been opened yet

Update from previous version and check logos

Steps to execute:

  1. Update your system from a version previous to the one supporting the new configurable system logos (i.e. update from 2.50MP5 to current pi)
  2. Go to the login page
  3. Check that the 'yourcompany' and the 'yourit-service' logos are both displayed and that they do not only show an empty white space
  4. Login into the application
  5. Check that the 'yourcompany' logo is displayed above the main menu to the left
  6. Check that the 'openbravo logo' in big is displayed in the right area, when no window has been opened yet

Test priority of client image and system image

Steps to execute:

  1. Login as admin user for one client (i.e. Openbravo Admin for client smallbazaar)
  2. Goto General Setup -> Client
  3. Navigate to the clients entry (smallbazaar)
  4. Goto the Information tab
  5. Upload a new 'Your company menu image' (Click on the 'no image' present picture and use the image selector popup to upload a new different logo image
  6. Reload the menu by opening the role switch popup and clicking OK
  7. Check that the logo displayed above the menu is the newly just uploaded image
  8. Switch role/client to another client (i.e. Accounting Test Admin role and Accounting test client)
  9. Check that the logo displayed above the menu is not the newly uploaded image but the default image (specified in ad_system_info)

Test initial client setup image copying

Steps to execute:

  1. Switch role to System Administrator
  2. Go to General Setup -> Client -> InitialClientSetup
  3. Enter needed info (Client,Client Username, Currency) i.e. (test,testAdmin,Euro)
  4. Click OK to start the process
  5. Switch role/client to the newly created client
  6. Go to General Setup -> Client
  7. Navigate to the clients record
  8. Go to the Information tab
  9. Check that the three logos (Your Company menu image, Your Compnay Big Image, Your Company Document Image) do not show the 'no image' picture, but have the default images copied into this newly created client.

Test deletion of an image in a newly created client

Steps to execute:

  1. Switch role/client to the newly created client from the last testcase
  2. Go to General Setup -> Client
  3. Navigate to the clients record
  4. Go to the Information tab
  5. Use the image selector popup to delete the 'Company menu image'
  6. Save the modified record
  7. Use the role popup to reload the menu (open it and click ok)
  8. The logo above the image should not change as it will display the default image from ad_system_info as the client no longer as a specific image for this logo.

Comments: This test verifies that the copied images have been created with the proper client and organization and can be modified/deleted in the newly created client.

Test initial org setup image copying

  1. Switch role/client to the newly created client from the last testcase
  2. Go to General Setup -> Enterprise -> Initial Organisation setup
  3. Enter the needed fields (Organisation,Organisation username)
  4. click OK to created the new organisation
  5. Go to General Setup -> Enterprise -> Organisation
  6. Navigate to the newly created organisation record
  7. Go to the information tab
  8. The 'Your company document image' should not display the 'no image' picture but instead the default 'document image' as it has been copied over in the creation

Test deletion of an image in a newly created organisation

Steps to execute:

  1. Switch role/client to the newly created client from the last testcase
  2. Go to General Setup -> Enterprise -> Organisation
  3. Navigate to the organisation record
  4. Go to the Information tab
  5. Use the image selector popup to delete the 'Your company document image'
  6. Save the modified record

Comments: This test verifies that the copied images have been created with the proper client and organization and can be modified/deleted in the newly created organisation.

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Configurable_System_logos"

This page has been accessed 3,910 times. This page was last modified on 8 June 2012, at 05:27. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.