school_view.xml
51.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Form View Of Student Reminder -->
<record id="view_student_reminder_form_2" model="ir.ui.view">
<field name="name">student.reminder.form</field>
<field name="model">student.reminder</field>
<field name="arch" type="xml">
<form string="Student Reminder">
<sheet>
<separator string="Reminder" />
<group col="4" colspan="4">
<field name="stu_id" widget="selection" placeholder="Student" domain="[('state','=','done')]"/>
<field name="date" placeholder="Select Date" />
<field name="name" placeholder="Reminder Title" required="1"/>
<newline />
<field name="description" colspan="4" placeholder="Description"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Kanban View Of Student Reminder -->
<record id="student_reminder_kanban_view" model="ir.ui.view">
<field name="name">Student KANBAN</field>
<field name="model">student.reminder</field>
<field name="arch" type="xml">
<kanban default_group_by="date">
<field name="name" />
<field name="date" />
<field name="color" />
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card {{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}} oe_kanban_global_click_edit oe_semantic_html_override">
<div class="oe_dropdown_toggle oe_dropdown_kanban">
<ul class="oe_dropdown_menu">
<li>
<a type="edit">Edit...</a>
</li>
<li>
<a type="delete">Delete</a>
</li>
<li>
<ul class="oe_kanban_colorpicker" data-field="color" />
</li>
</ul>
</div>
<div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
<table class="oe_kanban_table">
<tr>
<td class="oe_kanban_title1" align="left" valign="middle" style="padding-left:10px;">
<h4>
<a type="open">
<field name="date" />
<field name="name" />
</a>
</h4>
</td>
</tr>
</table>
<br />
</div>
<div class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
<table class="oe_kanban_table">
<tr width="300">
<td valign="top" align="left" style="padding-left:10px;">
<table>
<tr>
<td>Name :</td>
<td style="padding-left:10px;">
<b>
<field name="name" />
</b>
</td>
</tr>
<tr>
<td>Date : </td>
<td style="padding-left:10px;">
<b>
<field name="date" />
</b>
</td>
</tr>
<tr>
<td>Description : </td>
<td style="padding-left:10px;">
<b>
<field name="description" />
</b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
<div class="oe_kanban_left" style="margin-left:10px;">
<br />
<a role="button" string="Edit" class="btn btn-sm btn-default fa fa-pencil" type="edit" aria-label="edit" title="edit"/>
<a role="button" string="Change Color" icon="color-picker" type="color" name="color" />
</div>
<br class="oe_kanban_clear" />
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<!-- Form View Of School Information -->
<record id="view_school_school_form" model="ir.ui.view">
<field name="name">school.school.form</field>
<field name="model">school.school</field>
<field name="arch" type="xml">
<form string="School Information">
<sheet>
<separator string="School Configuration" />
<group col="4" colspan="4">
<field name="name" string="Name" placeholder="School Name" />
<field name="code" placeholder="Code" />
</group>
<group>
<label for="street" string="Address" />
<div class="o_address_format">
<field name="street" class="o_address_street" placeholder="Street..." />
<field name="street2" class="o_address_street" placeholder="Street2..." />
<field name="city" class="o_address_city" placeholder="City" required="1" />
<field name="state_id" class="o_address_state" domain="[('country_id','=',country_id)]" required="1" placeholder="State" options="{"no_open": true}" />
<field name="zip" class="o_address_zip" placeholder="ZIP" />
<field name="country_id" class="o_address_city,oe_no_button" placeholder="Country" options="{"no_open": true}" required="1"/>
</div>
</group>
<group col="4" colspan="4">
<field name="currency_id" placeholder="Select Or Create Currency" />
<field name="lang" placeholder="Language"/>
<field name="required_age" required="1"/>
</group>
<notebook colspan="4">
<page string="Standards">
<field name="standards" nolabel="1" colspan="4" readonly="1"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of School Information -->
<record id="view_school_school_tree" model="ir.ui.view">
<field name="name">school.school.tree</field>
<field name="model">school.school</field>
<field name="arch" type="xml">
<tree string="School Information">
<field name="name" string="School Name" />
<field name="code" />
</tree>
</field>
</record>
<!-- Form View Of School Attendace -->
<record id="view_school_attendance_form" model="ir.ui.view">
<field name="name">school.attendance.form</field>
<field name="model">attendance.type</field>
<field name="arch" type="xml">
<form string="Standard Information">
<separator string="Attendance Type" />
<group col="4" colspan="2">
<field name="name" placeholder="name"/>
<field name="code" placeholder="code"/>
</group>
</form>
</field>
</record>
<!-- Form View Of School Standard Information -->
<record id="view_school_standard_form" model="ir.ui.view">
<field name="name">school.standard.form</field>
<field name="model">school.standard</field>
<field name="arch" type="xml">
<form string="Standard Information">
<sheet>
<separator string="Standard Information" />
<group col="4" colspan="4">
<field name="standard_id" widget="selection" placeholder="Standard"/>
<field name="division_id" widget="selection" placeholder="Division"/>
<field name="medium_id" widget="selection" placeholder="Medium"/>
<field name="school_id" widget="selection" placeholder="School"/>
<field name="user_id" placeholder="Select Faculty Name"
widget="selection"/>
<field name="capacity"/>
<field name="total_students"/>
<field name="remaining_seats"/>
<field name="class_room_id" options="{"no_create": True}"/>
<field name="name" invisible="1"/>
<field name="total_no_subjects" invisible="1"/>
</group>
<notebook colspan="4">
<page string="Students" name="students">
<field name="student_ids" nolabel="1" colspan="4">
<tree string="Student Information">
<field name="roll_no" />
<field name="name" />
<field name="year" />
<field name="state" invisible="1" />
</tree>
<form string="Student Information">
<group col="4" colspan="4">
<field name="roll_no" />
<field name="name" placeholder="Name" />
<field name="year" placeholder="Year" />
<field name="state" invisible="1" />
</group>
</form>
</field>
</page>
<page string="Subjects">
<field name="subject_ids" nolabel="1" colspan="4" string="Add Subjects" options="{"no_open": True, "no_create": True}"/>
</page>
<page string="Syllabus" attrs="{'invisible': [('total_no_subjects', '<', 1)]}">
<group>
<field name="syllabus_ids" nolabel="1" colspan="4" context="{'default_standard_id':standard_id}">
<tree editable="top" string="Syllabs">
<field name="standard_id" invisible="1"/>
<field name="subject_id" required="1"
widget="selection"/>
<field name="syllabus_doc" required="1"/>
</tree>
<form string="Syllabus">
<group>
<field name="subject_id" required="1"/>
<field name="syllabus_doc" required="1"/>
</group>
</form>
</field>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of School Standard Information -->
<record id="view_school_standard_tree" model="ir.ui.view">
<field name="name">school.standard.tree</field>
<field name="model">school.standard</field>
<field name="arch" type="xml">
<tree string="Standard Information">
<field name="standard_id"/>
<field name="user_id"/>
<field name="division_id"/>
<field name="medium_id"/>
<field name="remaining_seats"/>
</tree>
</field>
</record>
<!-- Kanban View Of School Standard Information -->
<record id="school_standard_kanban_view" model="ir.ui.view">
<field name="name">school.standard.kanban</field>
<field name="model">school.standard</field>
<field name="arch" type="xml">
<kanban default_group_by="standard_id">
<field name="school_id" />
<field name="standard_id" />
<field name="division_id" />
<field name="medium_id" />
<field name="user_id" />
<field name="color" />
<templates>
<t t-name="kanban-box">
<t t-set="color" t-value="kanban_color(record.color.raw_value || record.school_id.value)" />
<div t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
<div class="oe_kanban_box oe_kanban_color_border">
<div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
<table class="oe_kanban_table">
<tr>
<td class="oe_kanban_title1" align="left" valign="middle">
<div>
School :-
<field name="school_id" /></div>
</td>
</tr>
</table>
</div>
<div class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
<table class="oe_kanban_table">
<tr>
<td valign="top" align="left">
<div class="oe_kanban_title2">
<div>
Class Teacher :-
<field name="user_id" /></div>
</div>
<div class="oe_kanban_title3">
<div>
Standard :-
<field name="standard_id" /></div>
<div>
Division :-
<field name="division_id" /></div>
<div>
Medium :-
<field name="medium_id" /></div>
</div>
</td>
</tr>
</table>
</div>
<div class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
<div class="oe_kanban_left">
<a role="button" string="Edit" class="btn btn-sm btn-default fa fa-pencil" type="edit" aria-label="edit" />
<a role="button" string="Delete" class="btn btn-sm btn-default fa fa-trash" type="delete" aria-label="delete"/>
<a role="button" string="Change Color" icon="color-picker" type="color" name="color" />
</div>
<br class="oe_kanban_clear" />
</div>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<!-- Search View Of School Standard Information -->
<record id="view_student_student_search" model="ir.ui.view">
<field name="name">school.standard.search</field>
<field name="model">school.standard</field>
<field name="arch" type="xml">
<search string="Standard Information">
<group col="10" colspan="4">
<field name="standard_id" />
<field name="user_id" />
<field name="division_id" />
<field name="medium_id" />
</group>
<newline />
<group expand="0" string="Group By..." colspan="12" col="10">
<filter name="school" string="School" help="By School" context="{'group_by':'school_id'}" />
<filter name="class" string="Class" help="By Class" context="{'group_by':'standard_id'}" />
<filter name="division" string="Division" help="By Division" context="{'group_by':'division_id'}" />
<filter name="medium" string="Medium" help="By Medium" context="{'group_by':'medium_id'}" />
</group>
</search>
</field>
</record>
<!-- Tree View Of Student Caste -->
<record id="view_student_caste_tree" model="ir.ui.view">
<field name="name">student.caste.tree</field>
<field name="model">student.cast</field>
<field name="arch" type="xml">
<tree string="Caste Information" editable="bottom">
<field name="name" placeholder="Enter Name"/>
</tree>
</field>
</record>
<!-- Form View Of Student Caste -->
<record id="view_student_caste_form" model="ir.ui.view">
<field name="name">student.caste.form</field>
<field name="model">student.cast</field>
<field name="arch" type="xml">
<form string="Caste Information">
<sheet>
<group>
<field name="name" placeholder="Religion" />
</group>
</sheet>
</form>
</field>
</record>
<!-- Action Of Form & Tree Views Of Student Caste -->
<record id="action_student_cast_form_7" model="ir.actions.act_window">
<field name="name">Religion/Caste</field>
<field name="res_model">student.cast</field>
<field name="view_mode">tree,form</field>
</record>
<!-- From View Of Grade System -->
<record id="view_grade_form" model="ir.ui.view">
<field name="name">grade.master.form</field>
<field name="model">grade.master</field>
<field name="arch" type="xml">
<form string="Grade">
<sheet>
<group col="2" colspan="2" string="Grade">
<field name="name" string="Grade Names" placeholder="Enter GradeName"/>
</group>
<newline />
<field name="grade_ids" nolabel="1" colspan="4">
<tree>
<field name="sequence" />
<field name="from_mark" />
<field name="to_mark" />
<field name="grade" />
</tree>
<form>
<group>
<field name="sequence" colspan="2" />
<newline />
<field name="grade" placeholder="Grade"/>
<newline />
<field name="from_mark" placeholder="From Mark"/>
<field name="to_mark" placeholder="To Mark"/>
<field name="fail" />
</group>
</form>
</field>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Grade System -->
<record id="view_grade_tree" model="ir.ui.view">
<field name="name">grade.master.tree</field>
<field name="model">grade.master</field>
<field name="arch" type="xml">
<tree string="Grade">
<field name="name" />
</tree>
</field>
</record>
<!-- From View Of Academic Year's Information -->
<record id="view_academic_year_form" model="ir.ui.view">
<field name="name">acdemic.year.form</field>
<field name="model">academic.year</field>
<field name="arch" type="xml">
<form string="Academic Years">
<header>
<button name="generate_academicmonth" type="object" string="Generate Months"/>
</header>
<sheet>
<group col="4" colspan="4">
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<field name="date_start" placeholder="Start Date" />
<field name="date_stop" placeholder="End Date" />
<field name="sequence" />
<field name="current" widget="boolean_toggle"/>
<field name="grade_id" placeholder="Grade System"
options="{"no_open": True, "no_create": True}" invisible="1"/>
</group>
<notebook colspan="4">
<page string="Months">
<field name="month_ids" nolabel="1" colspan="4"
options="{"no_open": True, "no_create": True}">
<tree string="Months">
<field name="name" />
<field name="code" />
<field name="date_start" />
<field name="date_stop" />
</tree>
<form string="Months">
<group col="4" colspan="4">
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<field name="date_start" placeholder="Start Date" />
<field name="date_stop" placeholder="Stop Date" />
<field name="description" colspan="4" placeholder="Description"/>
</group>
</form>
</field>
</page>
</notebook>
<newline />
<separator string="Description" colspan="4" />
<field name="description" colspan="4" placeholder="Description"/>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Academic Year's Information -->
<record id="view_academic_year_tree" model="ir.ui.view">
<field name="name">academic.year.tree</field>
<field name="model">academic.year</field>
<field name="arch" type="xml">
<tree string="Academic Years">
<field name="sequence" />
<field name="name" />
<field name="code" />
<field name="date_start" />
<field name="date_stop" />
</tree>
</field>
</record>
<!-- From View Of Academic Month's Information -->
<record id="view_academic_month_form" model="ir.ui.view">
<field name="name">academic.month.form</field>
<field name="model">academic.month</field>
<field name="arch" type="xml">
<form string="Months">
<sheet>
<group col="4" colspan="4">
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<field name="date_start" placeholder="Start Date" />
<field name="date_stop" placeholder="Stop Date" />
<field name="year_id" colspan="4" placeholder="Year" options="{"no_open": True, "no_create": True}"/>
<field name="description" colspan="4" placeholder="Description"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Academic Month's Information -->
<record id="view_academic_month_tree" model="ir.ui.view">
<field name="name">academic.month.tree</field>
<field name="model">academic.month</field>
<field name="arch" type="xml">
<tree string="Months">
<field name="name" />
<field name="code" />
<field name="date_start" />
<field name="date_stop" />
<field name="year_id" />
</tree>
</field>
</record>
<!-- From View Of Standard Medium Information -->
<record id="view_standard_medium_form" model="ir.ui.view">
<field name="name">standard.medium.form</field>
<field name="model">standard.medium</field>
<field name="arch" type="xml">
<form string="Medium">
<sheet>
<group col="4" colspan="4">
<field name="sequence" />
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<newline />
<field name="description" colspan="4" placeholder="Description"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Standard Medium Information -->
<record id="view_standard_medium_tree" model="ir.ui.view">
<field name="name">standard.medium.tree</field>
<field name="model">standard.medium</field>
<field name="arch" type="xml">
<tree string="Medium">
<field name="sequence" />
<field name="name" />
<field name="code" />
</tree>
</field>
</record>
<!-- From View Of Student Document Type -->
<record id="view_document_type_form" model="ir.ui.view">
<field name="name">document.type.form</field>
<field name="model">document.type</field>
<field name="arch" type="xml">
<form string="Document Type">
<sheet>
<group col="4" colspan="4">
<field name="seq_no" />
<field name="doc_type" placeholder="Document Type" />
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Student Document Type -->
<record id="view_student_doctype_tree" model="ir.ui.view">
<field name="name">document.type.tree</field>
<field name="model">document.type</field>
<field name="arch" type="xml">
<tree string="Document Type">
<field name="seq_no" />
<field name="doc_type" />
</tree>
</field>
</record>
<!-- Form View of mother Tongue -->
<record id="mother_tongue_form_view" model="ir.ui.view">
<field name="name">mother tongue</field>
<field name="model">mother.toungue</field>
<field name="arch" type="xml">
<form string="Mother Tongue">
<group>
<field name="name" required="1"/>
</group>
</form>
</field>
</record>
<!-- Tree View of Mother Tongue -->
<record id="mother_tongue_tree_view" model="ir.ui.view">
<field name="name">Mother Tongue</field>
<field name="model">mother.toungue</field>
<field name="arch" type="xml">
<tree string="Mother Tongue" editable="top">
<field name="name" required="1"/>
</tree>
</field>
</record>
<!-- Action of mother Toungue -->
<record id="action_mother_toungue" model="ir.actions.act_window">
<field name="name">Mother Tongue</field>
<field name="res_model">mother.toungue</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Student Document Type -->
<record id="action_document_type_form" model="ir.actions.act_window">
<field name="name">Document Type</field>
<field name="res_model">document.type</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Form View Of Standard Division Information-->
<record id="view_standard_division_form" model="ir.ui.view">
<field name="name">standard.division.form</field>
<field name="model">standard.division</field>
<field name="arch" type="xml">
<form string="Divisions">
<sheet>
<group col="4" colspan="4">
<field name="sequence" />
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<newline />
<field name="description" colspan="4" placeholder="Description"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Standard Division Information-->
<record id="view_standard_division_tree" model="ir.ui.view">
<field name="name">standard.division.tree</field>
<field name="model">standard.division</field>
<field name="arch" type="xml">
<tree string="Divisions">
<field name="sequence" />
<field name="name" />
<field name="code" />
</tree>
</field>
</record>
<!-- Form View Of Elective Subject Group -->
<record id="view_elective_group_form" model="ir.ui.view">
<field name="name">elective.subject.form</field>
<field name="model">subject.elective</field>
<field name="arch" type="xml">
<form string="Elective Subjects">
<sheet>
<group col="4" colspan="4">
<field name="name" colspan="4" required="1" />
<separator String="Subjects" col="4" colspan="4" />
<field name="subject_ids" nolabel="1" colspan="4">
<form>
<group col="4" colspan="4">
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<field name="maximum_marks" placeholder="Maximum Marks"/>
<field name="minimum_marks" placeholder="Minimum Marks"/>
<field name="is_practical" />
<field name="elective_id" string="Elective Subject" invisible="1" />
</group>
<notebook colspan="4">
<page string="Standards">
<field name="standard_ids" nolabel="1" colspan="4"
options="{"no_open": True, "no_create": True}">
<tree string="Standards">
<field name="name" />
<field name="code" />
</tree>
<form string="Standards">
<group col="4" colspan="4">
<field name="name" placeholder="Name"/>
<field name="code" placeholder="Code"/>
</group>
</form>
</field>
</page>
<page string="Teachers">
<field name="teacher_ids" nolabel="1" colspan="4" />
</page>
<page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
<field name="student_ids" nolabel="1" />
</page>
</notebook>
</form>
</field>
</group>
</sheet>
</form>
</field>
</record>
<!-- Form View Of Subject's Information -->
<record id="view_subject_subject_form" model="ir.ui.view">
<field name="name">subject.subject.form</field>
<field name="model">subject.subject</field>
<field name="arch" type="xml">
<form string="Subjects">
<sheet>
<group col="4" colspan="4">
<field name="name" placeholder="Name" />
<field name="code" placeholder="Code" />
<field name="maximum_marks" placeholder="Maximum Marks"/>
<field name="minimum_marks" placeholder="Minimum Marks"/>
<field name="is_practical" />
<field name="elective_id" string="Elective Subject Group" readonly="1" />
</group>
<notebook colspan="4">
<page string="Standards">
<field name="standard_ids" nolabel="1" colspan="4"
options="{"no_open": True, "no_create": True}">
<tree string="Standards">
<field name="name" />
<field name="code" />
</tree>
<form string="Standards">
<group col="4" colspan="4">
<field name="name" placeholder="Standard Name"/>
<field name="code" placeholder="Standard Code"/>
</group>
</form>
</field>
</page>
<page string="Teachers">
<field name="teacher_ids" nolabel="1" colspan="4"
options="{"no_open": True, "no_create": True}"/>
</page>
<page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
<field name="student_ids" nolabel="1" />
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Subject's Information -->
<record id="view_subject_subject_tree" model="ir.ui.view">
<field name="name">subject.subject.tree</field>
<field name="model">subject.subject</field>
<field name="arch" type="xml">
<tree string="Subjects">
<field name="name" />
<field name="code" />
<field name="maximum_marks" />
<field name="minimum_marks" />
</tree>
</field>
</record>
<!-- Form View Of Standard Information -->
<record id="view_standard_standard_form" model="ir.ui.view">
<field name="name">standard.standard.form</field>
<field name="model">standard.standard</field>
<field name="arch" type="xml">
<form string="Standard Information">
<sheet>
<group col="4" colspan="4">
<field name="sequence"/>
<newline />
<field name="name" placeholder="Name"/>
<field name="code" placeholder="Code"/>
<newline />
<field name="description" colspan="4" placeholder="Description"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Standard Information -->
<record id="view_standard_standard_tree" model="ir.ui.view">
<field name="name">standard.standard.tree</field>
<field name="model">standard.standard</field>
<field name="arch" type="xml">
<tree string="Standard Information">
<field name="sequence" />
<field name="name" />
<field name="code" />
</tree>
</field>
</record>
<!-- Actions Of Form & Kanban Views Of Student Reminder -->
<record id="action_student_reminder" model="ir.actions.act_window">
<field name="name">Students Reminder</field>
<field name="res_model">student.reminder</field>
<field name="view_mode">kanban,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to add a new Reminder.
</p>
<p>
This structure is used to create and manage all Remainders
related to students regarding exams, events etc.
</p>
</field>
</record>
<!-- Action View Of Kanban View Of Student Reminder -->
<record id="action_view_student_reminder_kanban" model="ir.actions.act_window.view">
<field name="view_mode">kanban</field>
<field eval="0" name="sequence" />
<field name="view_id" ref="student_reminder_kanban_view" />
<field name="act_window_id" ref="action_student_reminder" />
</record>
<!-- Action Of Form & Tree Views Of School Information -->
<record id="action_school_school_form" model="ir.actions.act_window">
<field name="name">Schools</field>
<field name="res_model">school.school</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of School Standard -->
<record id="action_school_standard_form" model="ir.actions.act_window">
<field name="name">Classes</field>
<field name="res_model">school.standard</field>
<field name="view_mode">kanban,tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Elective Subject -->
<record id="action_elective_subject_form" model="ir.actions.act_window">
<field name="name">Elective Subject(s)</field>
<field name="res_model">subject.elective</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Grade System -->
<record id="action_grade_master_form" model="ir.actions.act_window">
<field name="name">Grade</field>
<field name="res_model">grade.master</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Academic Year Information -->
<record id="action_academic_year_form" model="ir.actions.act_window">
<field name="name">Academic Years</field>
<field name="res_model">academic.year</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Academic Month Information -->
<record id="action_academic_month_form" model="ir.actions.act_window">
<field name="name">Months</field>
<field name="res_model">academic.month</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Standard Medium Information -->
<record id="action_standard_medium_form" model="ir.actions.act_window">
<field name="name">Medium</field>
<field name="res_model">standard.medium</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Standard Division Information Action -->
<record id="action_standard_division_form" model="ir.actions.act_window">
<field name="name">Divisions</field>
<field name="res_model">standard.division</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Subject Information -->
<record id="action_subject_subject_form" model="ir.actions.act_window">
<field name="name">Subjects</field>
<field name="res_model">subject.subject</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Action Of Form & Tree Views Of Standard Information -->
<record id="action_standard_standard_form" model="ir.actions.act_window">
<field name="name">Standards</field>
<field name="res_model">standard.standard</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Form View Of Student News -->
<record id="edit_student_news_form" model="ir.ui.view">
<field name="name">student.news.form</field>
<field name="model">student.news</field>
<field name="arch" type="xml">
<form string="Noticeboard">
<header>
<button string="Send Mail" class="btn btn-sm btn-default fa fa-envelope" type="object" name="news_update" colspan="2" />
</header>
<sheet>
<group col="4" colspan="2" string="News / Updates">
<field name="subject" placeholder="Subject"/>
<field name="date" placeholder="Date" required="1"/>
</group>
<group>
<field name="description" colspan="4" placeholder="Description"/>
</group>
<notebook colspan="4">
<page string="Users">
<field name="user_ids" nolabel="1" colspan="4"
options="{"no_open": True, "no_create": True}"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Tree View Of Student News -->
<record id="view_student_news_tree" model="ir.ui.view">
<field name="name">student.news.tree</field>
<field name="model">student.news</field>
<field name="arch" type="xml">
<tree string="Noticeboard">
<field name="subject" />
<field name="date" />
</tree>
</field>
</record>
<!-- Search View Of Student News -->
<record id="view_hr_student_news_search" model="ir.ui.view">
<field name="name">student.news.search</field>
<field name="model">student.news</field>
<field name="arch" type="xml">
<search string="News">
<field name="subject" />
<field name="date" />
</search>
</field>
</record>
<!-- Action Of Form, Tree & Kanban Views Of Student News -->
<record id="view_student_news" model="ir.actions.act_window">
<field name="name">Noticeboard</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">student.news</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Form View of Class Room -->
<record id="class_room_form_view" model="ir.ui.view">
<field name="name">class.room.form</field>
<field name="model">class.room</field>
<field name="arch" type="xml">
<form string="Class Room Form View">
<sheet>
<group col="4" colspan="4">
<field name="name" required="1"/>
<field name="number" required="1"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree view of class Room -->
<record id="class_room_tree_view" model="ir.ui.view">
<field name="name">class.room.tree</field>
<field name="model">class.room</field>
<field name="arch" type="xml">
<tree string="Class Room Tree View">
<field name="name"/>
<field name="number"/>
</tree>
</field>
</record>
<!-- Action of Class Room -->
<record id="action_class_room" model="ir.actions.act_window">
<field name="name">Class Room</field>
<field name="res_model">class.room</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Menu Item Of EMS -->
<menuitem id="menu_ems" name="EMS" web_icon="school,static/description/ems.png" sequence="1"/>
<!-- MenuItem Of Admission Register -->
<menuitem id="admission_register" name="Admission Register" parent="menu_ems" sequence="2" groups="school.group_school_administration,school.group_is_admission"/>
<menuitem id="menu_admission_form" name="Admission Register" parent="admission_register" action="action_student_student_form_2" sequence="21" groups="school.group_school_administration,school.group_is_admission"/>
<!-- Menu Item Of Students & Parents -->
<menuitem id="menu_students_parents" name="Profiles" parent="menu_ems" sequence="3"/>
<menuitem id="menu_student_profile" name="Students" parent="menu_students_parents" action="action_student_student_form_12" groups="school.group_school_administration,school.group_school_student,school.group_school_teacher,school.group_school_parent" sequence="31"/>
<!-- MenuItem For Reminders -->
<menuitem id="menu_reminders" name="Reminders" parent="menu_ems" action="action_student_reminder" sequence="8" groups="school.group_school_administration,school.group_school_student,school.group_school_teacher,school.group_school_parent"/>
<!-- MenuItem For Configurations -->
<menuitem id="menu_configuration" name="Configurations" parent="menu_ems" sequence="13" groups="group_school_administration" />
<!-- MenuItem For Configurations->School Configurations -->
<menuitem id="menu_school_config_form1" name="School Configurations" parent="menu_configuration" />
<menuitem id="menu_cast" name="Religion/Caste" parent="menu_school_config_form1" action="action_student_cast_form_7" />
<menuitem id="menu_sub_doc_type_sub_form" name="Document Type" parent="menu_school_config_form1" action="action_document_type_form" />
<menuitem id="submenu_sub_grade" name="Grade" parent="menu_school_config_form1" action="action_grade_master_form" />
<menuitem id="submenu_sub_news" name="Noticeboard" parent="menu_school_config_form1" action="view_student_news" />
<menuitem id="mother_tongue_menu" name="Mother Tongue" parent="menu_school_config_form1" action="action_mother_toungue" groups="school.group_school_administration"/>
<menuitem id="menu_school_school_sub_form" name="School" parent="menu_school_config_form1" action="action_school_school_form" />
<!-- MenuItem For Configurations->Academic Years -->
<menuitem id="menu_academic_year_form" name="Academic Years" parent="menu_configuration" />
<menuitem id="menu_academic_year_sub_form" name="Years" parent="menu_academic_year_form" action="action_academic_year_form" />
<menuitem id="menu_academic_month_form" name="Months" parent="menu_academic_year_form" action="action_academic_month_form" />
<!-- MenuItem For Configurations->Standards -->
<menuitem id="menu_school_standard_form" name="Standards" parent="menu_configuration" />
<menuitem id="menu_sub_school_standard_form" name="Classes" parent="menu_school_standard_form" action="action_school_standard_form" />
<menuitem id="menu_standard_standard_form" name="Standards" parent="menu_school_standard_form" action="action_standard_standard_form" />
<menuitem id="menu_standard_division_form" name="Divisions" parent="menu_school_standard_form" action="action_standard_division_form" />
<menuitem id="menu_standard_medium_form" name="Medium" parent="menu_school_standard_form" action="action_standard_medium_form" />
<menuitem id="menu_class_room" name="Class Room" parent="menu_school_standard_form" action="action_class_room"/>
<!-- MenuItem For Configurations->Subject -->
<menuitem id="menu_subject_subject_form" name="Subjects" parent="menu_configuration" sequence="10" />
<menuitem id="menu_subject_subject_sub_form" name="Subjects" parent="menu_subject_subject_form" action="action_subject_subject_form" />
<menuitem id="menu_subject_elective_form" name="Elective Subject(s)" parent="menu_subject_subject_form" action="action_elective_subject_form" />
<!-- Menuitem of alumni and terminate -->
<menuitem id="menu_student_alumni" name="Alumni/Terminate" action="action_student_alumni" parent="admission_register" groups="school.group_school_administration,school.group_school_teacher" sequence="22"/>
<menuitem
id="hr.menu_hr_root"
name="Employees"
groups="-hr.group_hr_manager,-hr.group_hr_user,-base.group_user,school.group_school_administration"
web_icon="hr,static/description/icon.png"
sequence="75"/>
<!-- MenuItem For Configurations->Subject -->
<!-- Inherited Form View Of Company -->
<record id="view_company_form_inherit" model="ir.ui.view">
<field name="name">res.company.form</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form" />
<field name="arch" type="xml">
<field name="name" position="attributes">
<attribute name="string">School Name</attribute>
</field>
</field>
</record>
<!-- removed the inherited reports and act_windows of account which has been deprecated since V12-->
</odoo>