You are on page 1of 14

School Management Application - Part 1 – V5.0.

6 1

Building a School
Management Application
School Management Application - Part 1 – V5.0.6 2

Install the base_contact module

2 Search for contact


then click on
base_contact to
edit it

2) click 'Apply
Scheduled Upgrades'

1) click 'Schedule for


installation'
School Management Application - Part 1 – V5.0.6 3

Then close the


'Uninstalled module'
tab.
School Management Application - Part 1 – V5.0.6 4

Create new menus


6

7 Select menu Form


then Switch to
list/form (or CTRL
+L)
web client: select a row, then
at the top-right corner, below
header panel there is
"SWITCH" button
8 Click the new
button to add the
School
management menu

School management

10 Click the 'new'


button to add a
new menu
School Management Application - Part 1 – V5.0.6 5

11

Configuration

School
+[TAB] or
to find the
Scool management
parent menu

then and

check that the


complete name is :
School
management
/configuration
12 Close the tabs and
re-open the menu
tab with [CTRL].+ T

The School
management menu
appears.

Quit Openerp client


[CTRL]+Q
School Management Application - Part 1 – V5.0.6 6

Customise contacts
13 Open the web client.

administrator

Password

14 Select Contacts

15 Open a contact form


School Management Application - Part 1 – V5.0.6 7

16

At the bottom of the form


view, click on CUSTOMISE
then MANAGE VIEWS

17

Edit the selected view

18

Click the + to add the new


field after the first name
field
19

Click new field


School Management Application - Part 1 – V5.0.6 8

20 Add the customised field


x_student

Is a student

boolean
+

NB : the name of a customised


field always begins with x_
21

22

23

Click the + to add the new


customised field after the
x_student field
24
School Management Application - Part 1 – V5.0.6 9

25

x_teacher

Is a teacher

boolean

26

27

28

+
School Management Application - Part 1 – V5.0.6 10

29

30

31 Create a new student

32 My student

+
School Management Application - Part 1 – V5.0.6 11

Create menus for students and teachers


33 Select the main menu

Select a row by clicking on


it (the line should be
grey)then the click the
switch button

34 By saving the curent form...

35 ...the duplicate button is


shown. Click on it.

36 Create the menu 'Students'

Students

School management

37

Delete the field


and click the
School Management Application - Part 1 – V5.0.6 12

38 Click 'New' button

39
Students
res.partner.contact

[('x_student','=',1)]

40

41 Check action field if it's ok


click 'Duplicate'

42

Teachers

+
School Management Application - Part 1 – V5.0.6 13

43
ir.actions.act_window

Delete the field


and click the

44

45
Teachers

res.partner.contact

[('x_teacher','=',1)]

46

47 Check action field before


clicking on the main menu
link
School Management Application - Part 1 – V5.0.6 14

48

49
Create a new teacher

50
New Teachers

Fabien

You might also like