school_view.xml.svn-base 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Student Information Form View -->
  5. <record model="ir.ui.view" id="view_student_student_form_1">
  6. <field name="name">student.student.form.1</field>
  7. <field name="model">student.student</field>
  8. <field name="type">form</field>
  9. <field name="arch" type="xml">
  10. <form string="Student Information">
  11. <group colspan="4" col="8">
  12. <group col="6" colspan="3">
  13. <field name="pid" colspan="3"/>
  14. <field name="roll_no" colspan="3"/>
  15. <field name="year" widget="selection" colspan="3"/>
  16. <field name="school_id" colspan="3"/>
  17. </group>
  18. <group col="2" colspan="1">
  19. <field name="photo" widget='image' nolabel="1"/>
  20. </group>
  21. </group>
  22. <separator string="Standard Information" colspan="4"/>
  23. <group col="6" colspan="4">
  24. <field name="class_id" widget="selection"/>
  25. <field name="medium_id" widget="selection"/>
  26. <field name="division_id" widget="selection"/>
  27. </group>
  28. <separator string="Personal Information" colspan="4"/>
  29. <group col="6" colspan="4">
  30. <field name="name"/>
  31. <field name="middle"/>
  32. <field name="last"/>
  33. </group>
  34. <notebook colspan="4">
  35. <page string="General">
  36. <group col="4" colspan="4">
  37. <field name="gender"/>
  38. <field name="home_language"/>
  39. <field name="date_of_birth"/>
  40. <field name="admission_date"/>
  41. <field name="age"/>
  42. <field name="maritual_status"/>
  43. <field name="email"/>
  44. </group>
  45. </page>
  46. <page string="Contacts">
  47. <field name="address" nolabel="1" colspan="4"/>
  48. </page>
  49. <page string="References">
  50. <field name="reference_ids" nolabel="1" colspan="4">
  51. <tree string="Reference">
  52. <field name="name"/>
  53. <field name="middle"/>
  54. <field name="last"/>
  55. <field name="designation"/>
  56. <field name="phone"/>
  57. <field name="gender"/>
  58. </tree>
  59. <form string="Reference">
  60. <group col="4" colspan="4">
  61. <field name="name"/>
  62. <field name="middle"/>
  63. <field name="last"/>
  64. <field name="designation"/>
  65. <field name="phone"/>
  66. <field name="gender"/>
  67. </group>
  68. </form>
  69. </field>
  70. </page>
  71. <page string="Academic">
  72. <field name="previous_school_ids" nolabel="1" colspan="4">
  73. <tree string="Previous School Details">
  74. <field name="name"/>
  75. <field name="registration_no"/>
  76. <field name="admission_date"/>
  77. <field name="exit_date"/>
  78. <field name="email"/>
  79. <field name="phone"/>
  80. </tree>
  81. <form string="Previous School Details">
  82. <group col="4" colspan="4">
  83. <field name="name"/>
  84. <field name="registration_no"/>
  85. <field name="admission_date"/>
  86. <field name="exit_date"/>
  87. <field name="email"/>
  88. <field name="phone"/>
  89. </group>
  90. </form>
  91. </field>
  92. </page>
  93. <page string="Medical">
  94. <separator string="Doctor Information" colspan="4"/>
  95. <group col="6" colspan="4">
  96. <field name="doctor"/>
  97. <field name="designation"/>
  98. <field name="doctor_phone"/>
  99. </group>
  100. <separator string="Physical Information" colspan="4"/>
  101. <group col="6" colspan="4">
  102. <field name="blood_group"/>
  103. <field name="height"/>
  104. <field name="weight"/>
  105. </group>
  106. <separator string="Does the applicant have any Disabilities?" colspan="4"/>
  107. <group col="6" colspan="4">
  108. <field name="eye"/>
  109. <field name="ear"/>
  110. <field name="nose_throat"/>
  111. <field name="respiratory"/>
  112. <field name="cardiovascular"/>
  113. <field name="neurological"/>
  114. <field name="muskoskeletal"/>
  115. <field name="dermatological"/>
  116. <field name="blood_pressure"/>
  117. </group>
  118. <separator string="Notes" colspan="4"/>
  119. <group col="6" colspan="4">
  120. <field name="comment" nolabel="1"/>
  121. </group>
  122. </page>
  123. <page string="Emergency">
  124. <field name="emergency_contact_ids" nolabel="1" colspan="4">
  125. <tree string="Emergency Contact Details">
  126. <field name="name"/>
  127. <field name="relation"/>
  128. <field name="phone"/>
  129. </tree>
  130. <form string="Emergency Contact Details">
  131. <group col="6" colspan="4">
  132. <field name="name"/>
  133. <field name="relation"/>
  134. <field name="phone"/>
  135. </group>
  136. </form>
  137. </field>
  138. </page>
  139. <page string="Remarks">
  140. <field name="remark" nolabel="1" colspan="4"/>
  141. </page>
  142. <page string="History">
  143. <field name="history_ids" nolabel="1" colspan="4">
  144. <tree string="History">
  145. <field name="academice_year_id"/>
  146. <field name="class_id"/>
  147. <field name="division_id"/>
  148. <field name="medium_id"/>
  149. </tree>
  150. <form string="History">
  151. <group col="4" colspan="4">
  152. <field name="academice_year_id"/>
  153. <field name="class_id"/>
  154. <field name="division_id"/>
  155. <field name="medium_id"/>
  156. </group>
  157. </form>
  158. </field>
  159. <field name="attendance_ids" nolabel="1" colspan="4">
  160. <tree string="Monthly Attendance">
  161. <field name="roll_no" />
  162. <field name="standard_id" />
  163. <field name="one" />
  164. <field name="two" />
  165. <field name="three" />
  166. <field name="four" />
  167. <field name="five" />
  168. <field name="six" />
  169. <field name="seven" />
  170. <field name="eight" />
  171. <field name="nine" />
  172. <field name="ten" />
  173. <field name="one_1" />
  174. <field name="one_2" />
  175. <field name="one_3" />
  176. <field name="one_4" />
  177. <field name="one_5" />
  178. <field name="one_6" />
  179. <field name="one_7" />
  180. <field name="one_8" />
  181. <field name="one_9" />
  182. <field name="one_0" />
  183. <field name="two_1" />
  184. <field name="two_2" />
  185. <field name="two_3" />
  186. <field name="two_4" />
  187. <field name="two_5" />
  188. <field name="two_6" />
  189. <field name="two_7" />
  190. <field name="two_8" />
  191. <field name="two_9" />
  192. <field name="two_0" />
  193. <field name="three_1" />
  194. <field name="percentage"
  195. widget="progressbar" />
  196. </tree>
  197. </field>
  198. <field name="exam_results_ids" nolabel="1" colspan="4">
  199. <tree string="Results">
  200. <field name="standard_id" />
  201. <field name="medium_id" />
  202. <field name="division_id" />
  203. <field name="s_exam_ids" />
  204. <field name="percentage" />
  205. <field name="total" />
  206. <field name="result" />
  207. </tree>
  208. </field>
  209. </page>
  210. <page string="Certificates">
  211. <field name="certificate_ids" nolabel="1" colspan="4">
  212. <form string="Certificate">
  213. <field name="description"/>
  214. <field name="certi" colspan="4"/>
  215. </form>
  216. <tree string="Certifaicate">
  217. <field name="description"/>
  218. </tree>
  219. </field>
  220. </page>
  221. </notebook>
  222. <field name="state" invisible="1"/>
  223. </form>
  224. </field>
  225. </record>
  226. <!-- Student Information Tree View -->
  227. <record model="ir.ui.view" id="view_student_student_tree_1">
  228. <field name="name">student.student.tree.1</field>
  229. <field name="model">student.student</field>
  230. <field name="type">tree</field>
  231. <field name="arch" type="xml">
  232. <tree string="Student Information">
  233. <field name="pid" />
  234. <field name="name" />
  235. <field name="year" widget="selection"/>
  236. <field name="class_id" widget="selection"/>
  237. <field name="medium_id" widget="selection"/>
  238. <field name="division_id" widget="selection"/>
  239. <field name="admission_date" />
  240. <field name="gender" />
  241. </tree>
  242. </field>
  243. </record>
  244. <!-- Student Information Search View -->
  245. <record model="ir.ui.view" id="view_student_student_search_1">
  246. <field name="name">student.student.search.1</field>
  247. <field name="model">student.student</field>
  248. <field name="type">search</field>
  249. <field name="arch" type="xml">
  250. <search string="Student Information">
  251. <group col="10" colspan="4">
  252. <field name="pid" />
  253. <field name="name"/>
  254. <field name="year"/>
  255. <field name="class_id"/>
  256. <field name="division_id"/>
  257. <field name="medium_id"/>
  258. <field name="gender"/>
  259. </group>
  260. <newline/>
  261. <group expand="0" string="Group By..." colspan="12" col="10">
  262. <filter icon="terp-project" string="Class" help="By Class" context="{'group_by':'class_id'}"/>
  263. <filter icon="terp-project" string="Division" help="By Division" context="{'group_by':'division_id'}"/>
  264. <filter icon="terp-project" string="Medium" help="By Medium" context="{'group_by':'medium_id'}"/>
  265. <filter icon="terp-project" string="Gender" help="By Gender" context="{'group_by':'gender'}"/>
  266. </group>
  267. </search>
  268. </field>
  269. </record>
  270. <record model="ir.ui.view" id="student_student_kanban_view">
  271. <field name="name">Student KANBAN</field>
  272. <field name="model">student.student</field>
  273. <field name="type">kanban</field>
  274. <field name="arch" type="xml">
  275. <kanban default_group_by="class_id">
  276. <field name="color"/>
  277. <field name="name"/>
  278. <field name="email"/>
  279. <templates>
  280. <t t-name="kanban-box">
  281. <t t-set="color" t-value="kanban_color(record.color.raw_value || record.name.raw_value)"/>
  282. <div t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
  283. <div class="oe_kanban_box oe_kanban_color_border">
  284. <div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  285. <table class="oe_kanban_table">
  286. <tr>
  287. <td class="oe_kanban_title1" align="left" valign="middle">
  288. <field name="name"/>
  289. <field name="middle"/>
  290. <field name="last"/>
  291. </td>
  292. <td valign="top" width="22">
  293. <img t-att-src="kanban_gravatar(record.email.value, 22)" class="oe_kanban_gravatar"/>
  294. </td>
  295. </tr>
  296. </table>
  297. </div>
  298. <div class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  299. <table class="oe_kanban_table">
  300. <tr>
  301. <td valign="top" width="64" align="left">
  302. <img heigh="80" width="80" t-att-src="kanban_image('student.student', 'photo', record.id.value)"/>
  303. </td>
  304. <td valign="top" align="left">
  305. <div class="oe_kanban_title2">
  306. <div>Student ID : <field name="pid"/></div>
  307. </div>
  308. <div class="oe_kanban_title3">
  309. <div>Class : <field name="class_id"/></div>
  310. <div>Medium : <field name="medium_id"/></div>
  311. <div>Division :<field name="division_id"/></div>
  312. </div>
  313. <div class="oe_kanban_title3">
  314. <div>Admission Date : <field name="admission_date"/></div>
  315. <div>Gender<field name="gender"/></div>
  316. </div>
  317. </td>
  318. </tr>
  319. </table>
  320. </div>
  321. <div class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  322. <div class="oe_kanban_left">
  323. <a string="Edit" icon="gtk-edit" type="edit"/>
  324. <a string="Change Color" icon="color-picker" type="color" name="color"/>
  325. </div>
  326. <br class="oe_kanban_clear"/>
  327. </div>
  328. </div>
  329. </div>
  330. </t>
  331. </templates>
  332. </kanban>
  333. </field>
  334. </record>
  335. <!-- Admission Register Information Form View -->
  336. <record model="ir.ui.view" id="view_student_student_form_2">
  337. <field name="name">student.student.form.2</field>
  338. <field name="model">student.student</field>
  339. <field name="type">form</field>
  340. <field name="arch" type="xml">
  341. <form string="Admission Register">
  342. <group colspan="4" col="8">
  343. <group col="6" colspan="3">
  344. <field name="pid" colspan="3"/>
  345. <field name="year" widget="selection" colspan="3"/>
  346. <field name="school_id" colspan="3"/>
  347. </group>
  348. <group col="2" colspan="1">
  349. <field name="photo" widget='image' nolabel="1"/>
  350. </group>
  351. </group>
  352. <separator string="Class Information" colspan="4"/>
  353. <group col="6" colspan="4">
  354. <field name="class_id" widget="selection"/>
  355. <field name="medium_id" widget="selection"/>
  356. <field name="division_id" widget="selection"/>
  357. </group>
  358. <separator string="Personal Information" colspan="4"/>
  359. <group col="6" colspan="4">
  360. <field name="name"/>
  361. <field name="middle"/>
  362. <field name="last"/>
  363. </group>
  364. <notebook colspan="4">
  365. <page string="General">
  366. <group col="4" colspan="4">
  367. <field name="gender"/>
  368. <field name="home_language"/>
  369. <field name="date_of_birth"/>
  370. <field name="admission_date"/>
  371. <field name="age"/>
  372. <field name="maritual_status"/>
  373. <field name="email"/>
  374. </group>
  375. <separator string="" colspan="4"/>
  376. <group colspan="9" col="8">
  377. <field name="state"/>
  378. <button name="admission_confirm" string="Confirm" states="draft" icon="gtk-execute"/>
  379. <button name="admission_cancel" string="Cancel" states="confirm" icon="gtk-cancel"/>
  380. <button name="admission_done" string="Done" states="confirm" icon="gtk-jump-to"/>
  381. </group>
  382. </page>
  383. <page string="Contacts">
  384. <field name="address" nolabel="1" colspan="4"/>
  385. </page>
  386. <page string="References">
  387. <field name="reference_ids" nolabel="1" colspan="4">
  388. <tree string="Reference">
  389. <field name="name"/>
  390. <field name="middle"/>
  391. <field name="last"/>
  392. <field name="designation"/>
  393. <field name="phone"/>
  394. <field name="gender"/>
  395. </tree>
  396. <form string="Reference">
  397. <group col="4" colspan="4">
  398. <field name="name"/>
  399. <field name="middle"/>
  400. <field name="last"/>
  401. <field name="designation"/>
  402. <field name="phone"/>
  403. <field name="gender"/>
  404. </group>
  405. </form>
  406. </field>
  407. </page>
  408. <page string="Academic">
  409. <field name="previous_school_ids" nolabel="1" colspan="4">
  410. <tree string="Previous School Details">
  411. <field name="name"/>
  412. <field name="registration_no"/>
  413. <field name="admission_date"/>
  414. <field name="exit_date"/>
  415. <field name="email"/>
  416. <field name="phone"/>
  417. </tree>
  418. <form string="Previous School Details">
  419. <group col="4" colspan="4">
  420. <field name="name"/>
  421. <field name="registration_no"/>
  422. <field name="admission_date"/>
  423. <field name="exit_date"/>
  424. <field name="email"/>
  425. <field name="phone"/>
  426. </group>
  427. </form>
  428. </field>
  429. </page>
  430. <page string="Medical">
  431. <separator string="Doctor Information" colspan="4"/>
  432. <group col="6" colspan="4">
  433. <field name="doctor"/>
  434. <field name="designation"/>
  435. <field name="doctor_phone"/>
  436. </group>
  437. <separator string="Physical Information" colspan="4"/>
  438. <group col="6" colspan="4">
  439. <field name="blood_group"/>
  440. <field name="height"/>
  441. <field name="weight"/>
  442. </group>
  443. <separator string="Does the applicant have any Disabilities?" colspan="4"/>
  444. <group col="6" colspan="4">
  445. <field name="eye"/>
  446. <field name="ear"/>
  447. <field name="nose_throat"/>
  448. <field name="respiratory"/>
  449. <field name="cardiovascular"/>
  450. <field name="neurological"/>
  451. <field name="muskoskeletal"/>
  452. <field name="dermatological"/>
  453. <field name="blood_pressure"/>
  454. </group>
  455. <separator string="Notes" colspan="4"/>
  456. <group col="6" colspan="4">
  457. <field name="comment" nolabel="1"/>
  458. </group>
  459. </page>
  460. <page string="Emergency">
  461. <field name="emergency_contact_ids" nolabel="1" colspan="4">
  462. <tree string="Emergency Contact Details">
  463. <field name="name"/>
  464. <field name="relation"/>
  465. <field name="phone"/>
  466. </tree>
  467. <form string="Emergency Contact Details">
  468. <group col="6" colspan="4">
  469. <field name="name"/>
  470. <field name="relation"/>
  471. <field name="phone"/>
  472. <field name="email"/>
  473. </group>
  474. </form>
  475. </field>
  476. </page>
  477. <page string="Remarks">
  478. <field name="remark" nolabel="1" colspan="4"/>
  479. </page>
  480. <page string="Attachments">
  481. <field name="student_attachment_line" nolabel="1"/>
  482. <!-- <tree string="Student Attachment">-->
  483. <!-- <field name="name"/>-->
  484. <!-- <field name="file_name"/>-->
  485. <!-- </tree>-->
  486. <!-- <form string="Students Attachment">-->
  487. <!-- <field name="name"/>-->
  488. <!-- <field name="new_datas" />-->
  489. <!-- <field name="file_name" />-->
  490. <!-- </form>-->
  491. <!-- </field>-->
  492. </page>
  493. <page string="Discipline">
  494. <field name="student_discipline_line" nolabel="1">
  495. <tree string="Student Attachment">
  496. <field name="teacher_id"/>
  497. <field name="date"/>
  498. <field name="class_id"/>
  499. </tree>
  500. <form string="Students Attachment">
  501. <field name="teacher_id"/>
  502. <field name="date"/>
  503. <field name="class_id"/>
  504. <newline/>
  505. <field name="note"/>
  506. <field name="action_taken"/>
  507. </form>
  508. </field>
  509. </page>
  510. </notebook>
  511. </form>
  512. </field>
  513. </record>
  514. <!-- Admission Register Information Tree View -->
  515. <record model="ir.ui.view" id="view_student_student_tree_2">
  516. <field name="name">student.student.tree.2</field>
  517. <field name="model">student.student</field>
  518. <field name="type">tree</field>
  519. <field name="arch" type="xml">
  520. <tree string="Admission Register">
  521. <field name="pid"/>
  522. <field name="name"/>
  523. <field name="year" widget="selection"/>
  524. <field name="class_id" widget="selection"/>
  525. <field name="medium_id" widget="selection"/>
  526. <field name="division_id" widget="selection"/>
  527. <field name="admission_date"/>
  528. <field name="gender"/>
  529. <field name="state"/>
  530. </tree>
  531. </field>
  532. </record>
  533. <!-- Admission Register Information Search View -->
  534. <record model="ir.ui.view" id="view_student_student_search_2">
  535. <field name="name">student.student.search.2</field>
  536. <field name="model">student.student</field>
  537. <field name="type">search</field>
  538. <field name="arch" type="xml">
  539. <search string="Admission Register">
  540. <group col="10" colspan="4">
  541. <filter icon="terp-project" string="Draft" domain="[('state','=', 'draft')]" help="Admission In Draft State"/>
  542. <filter icon="terp-project" string="Confirm" domain="[('state','=', 'confirm')]" help="Admission In Confirm State"/>
  543. <filter icon="terp-project" string="Cancel" domain="[('state','=', 'cancel')]" help="Admission In Pending State"/>
  544. <filter icon="terp-project" string="Done" domain="[('state','=', 'done')]" help="Admission In Done State"/>
  545. <separator orientation="vertical"/>
  546. <field name="name"/>
  547. <field name="year"/>
  548. <field name="class_id"/>
  549. <field name="division_id"/>
  550. <field name="medium_id"/>
  551. <field name="gender"/>
  552. </group>
  553. <newline/>
  554. <group expand="0" string="Group By..." colspan="12" col="10">
  555. <filter icon="terp-project" string="State" help="By State" context="{'group_by':'state'}"/>
  556. <filter icon="terp-project" string="Class" help="By Class" context="{'group_by':'class_id'}"/>
  557. <filter icon="terp-project" string="Division" help="By Division" context="{'group_by':'division_id'}"/>
  558. <filter icon="terp-project" string="Medium" help="By Medium" context="{'group_by':'medium_id'}"/>
  559. <filter icon="terp-project" string="Gender" help="By Gender" context="{'group_by':'gender'}"/>
  560. </group>
  561. </search>
  562. </field>
  563. </record>
  564. <!-- School Information Form View -->
  565. <record model="ir.ui.view" id="view_school_school_form">
  566. <field name="name">school.school.form</field>
  567. <field name="model">school.school</field>
  568. <field name="type">form</field>
  569. <field name="arch" type="xml">
  570. <form string="School Information">
  571. <group col="6" colspan="4">
  572. <field name="name"/>
  573. <field name="code"/>
  574. </group>
  575. <notebook colspan="4">
  576. <page string="Standards">
  577. <field name="standards" nolabel="1" colspan="4"/>
  578. </page>
  579. </notebook>
  580. </form>
  581. </field>
  582. </record>
  583. <!-- School Information Tree View -->
  584. <record model="ir.ui.view" id="view_school_school_tree">
  585. <field name="name">school.school.tree</field>
  586. <field name="model">school.school</field>
  587. <field name="type">tree</field>
  588. <field name="arch" type="xml">
  589. <tree string="School Information">
  590. <field name="name"/>
  591. <field name="code"/>
  592. </tree>
  593. </field>
  594. </record>
  595. <!-- School Standard Information Form View -->
  596. <record model="ir.ui.view" id="view_school_standard_form">
  597. <field name="name">school.standard.form</field>
  598. <field name="model">school.standard</field>
  599. <field name="type">form</field>
  600. <field name="arch" type="xml">
  601. <form string="Standard Information">
  602. <group col="4" colspan="4">
  603. <field name="standard_id" widget="selection"/>
  604. <field name="division_id" widget="selection"/>
  605. <field name="medium_id" widget="selection"/>
  606. <field name="school_id" widget="selection"/>
  607. <field name="user_id"/>
  608. </group>
  609. <notebook colspan="4">
  610. <page string="Students">
  611. <field name="student_ids" nolabel="1" colspan="4" >
  612. <tree string="Student Information">
  613. <field name="roll_no"/>
  614. <field name="name"/>
  615. <field name="year"/>
  616. </tree>
  617. <form string="Student Information">
  618. <group col="4" colspan="4">
  619. <field name="roll_no"/>
  620. <field name="name"/>
  621. <field name="year"/>
  622. </group>
  623. </form>
  624. </field>
  625. </page>
  626. <page string="Subjects">
  627. <field name="subject_ids" nolabel="1" colspan="4" />
  628. </page>
  629. </notebook>
  630. </form>
  631. </field>
  632. </record>
  633. <record model="ir.ui.view" id="school_standard_kanban_view">
  634. <field name="name">school.standard.kanban</field>
  635. <field name="model">school.standard</field>
  636. <field name="type">kanban</field>
  637. <field name="arch" type="xml">
  638. <kanban default_group_by="standard_id">
  639. <field name="school_id"/>
  640. <field name="standard_id"/>
  641. <field name="division_id"/>
  642. <field name="medium_id"/>
  643. <field name="user_id"/>
  644. <field name="color"/>
  645. <templates>
  646. <t t-name="kanban-box">
  647. <t t-set="color" t-value="kanban_color(record.color.raw_value || record.school_id.value)"/>
  648. <div t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
  649. <div class="oe_kanban_box oe_kanban_color_border">
  650. <div class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  651. <table class="oe_kanban_table">
  652. <tr>
  653. <td class="oe_kanban_title1" align="left" valign="middle">
  654. <div> School :- <field name="school_id"/></div>
  655. </td>
  656. </tr>
  657. </table>
  658. </div>
  659. <div class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  660. <table class="oe_kanban_table">
  661. <tr>
  662. <td valign="top" align="left">
  663. <div class="oe_kanban_title2">
  664. <div> Class Teacher :- <field name="user_id"/></div>
  665. </div>
  666. <div class="oe_kanban_title3">
  667. <div> Standard :- <field name="standard_id"/></div>
  668. <div> Division :- <field name="division_id"/></div>
  669. <div> Medium :- <field name="medium_id"/></div>
  670. </div>
  671. </td>
  672. </tr>
  673. </table>
  674. </div>
  675. <div class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  676. <div class="oe_kanban_left">
  677. <a string="Edit" icon="gtk-edit" type="edit"/>
  678. <a string="Delete" icon="gtk-delete" type="delete"/>
  679. <a string="Change Color" icon="color-picker" type="color" name="color"/>
  680. </div>
  681. <br class="oe_kanban_clear"/>
  682. </div>
  683. </div>
  684. </div>
  685. </t>
  686. </templates>
  687. </kanban>
  688. </field>
  689. </record>
  690. <!-- School Standard Information Tree View -->
  691. <record model="ir.ui.view" id="view_school_standard_tree">
  692. <field name="name">school.standard.tree</field>
  693. <field name="model">school.standard</field>
  694. <field name="type">tree</field>
  695. <field name="arch" type="xml">
  696. <tree string="Standard Information">
  697. <field name="standard_id"/>
  698. <field name="division_id"/>
  699. <field name="medium_id"/>
  700. <field name="user_id"/>
  701. </tree>
  702. </field>
  703. </record>
  704. <!-- School Standard Information Search View -->
  705. <record model="ir.ui.view" id="view_student_student_search">
  706. <field name="name">school.standard.search</field>
  707. <field name="model">school.standard</field>
  708. <field name="type">search</field>
  709. <field name="arch" type="xml">
  710. <search string="Standard Information">
  711. <group col="10" colspan="4">
  712. <field name="standard_id"/>
  713. <field name="division_id"/>
  714. <field name="medium_id"/>
  715. <field name="user_id"/>
  716. </group>
  717. <newline/>
  718. <group expand="0" string="Group By..." colspan="12" col="10">
  719. <filter icon="terp-project" string="School" help="By School" context="{'group_by':'school_id'}"/>
  720. <filter icon="terp-project" string="Class" help="By Class" context="{'group_by':'standard_id'}"/>
  721. <filter icon="terp-project" string="Division" help="By Division" context="{'group_by':'division_id'}"/>
  722. <filter icon="terp-project" string="Medium" help="By Medium" context="{'group_by':'medium_id'}"/>
  723. </group>
  724. </search>
  725. </field>
  726. </record>
  727. <!-- Academic Years Information From View -->
  728. <record model="ir.ui.view" id="view_academic_year_form">
  729. <field name="name">acdemic.year.form</field>
  730. <field name="model">academic.year</field>
  731. <field name="type">form</field>
  732. <field name="arch" type="xml">
  733. <form string="Academic Years">
  734. <group col="4" colspan="4">
  735. <field name="sequence"/>
  736. <field name="name"/>
  737. <field name="code"/>
  738. <field name="date_start"/>
  739. <field name="date_stop"/>
  740. </group>
  741. <notebook colspan="4">
  742. <page string="Months">
  743. <field name="month_ids" nolabel="1" colspan="4">
  744. <tree string="Months">
  745. <field name="name"/>
  746. <field name="code"/>
  747. <field name="date_start"/>
  748. <field name="date_stop"/>
  749. </tree>
  750. <form string="Months">
  751. <group col="4" colspan="4">
  752. <field name="name"/>
  753. <field name="code"/>
  754. <field name="date_start"/>
  755. <field name="date_stop"/>
  756. </group>
  757. </form>
  758. </field>
  759. </page>
  760. </notebook>
  761. </form>
  762. </field>
  763. </record>
  764. <!-- Academic Years Information Tree View -->
  765. <record model="ir.ui.view" id="view_academic_year_tree">
  766. <field name="name">academic.year.tree</field>
  767. <field name="model">academic.year</field>
  768. <field name="type">tree</field>
  769. <field name="arch" type="xml">
  770. <tree string="Academic Years">
  771. <field name="sequence"/>
  772. <field name="name"/>
  773. <field name="code"/>
  774. <field name="date_start"/>
  775. <field name="date_stop"/>
  776. </tree>
  777. </field>
  778. </record>
  779. <!-- Academic Months Information From View -->
  780. <record model="ir.ui.view" id="view_academic_month_form">
  781. <field name="name">academic.month.form</field>
  782. <field name="model">academic.month</field>
  783. <field name="type">form</field>
  784. <field name="arch" type="xml">
  785. <form string="Months">
  786. <group col="4" colspan="4">
  787. <field name="name"/>
  788. <field name="code"/>
  789. <field name="date_start"/>
  790. <field name="date_stop"/>
  791. <field name="year_id" colspan="4"/>
  792. </group>
  793. </form>
  794. </field>
  795. </record>
  796. <!-- Academic Months Information Tree View -->
  797. <record model="ir.ui.view" id="view_academic_month_tree">
  798. <field name="name">academic.month.tree</field>
  799. <field name="model">academic.month</field>
  800. <field name="type">tree</field>
  801. <field name="arch" type="xml">
  802. <tree string="Months">
  803. <field name="name"/>
  804. <field name="code"/>
  805. <field name="date_start"/>
  806. <field name="date_stop"/>
  807. <field name="year_id"/>
  808. </tree>
  809. </field>
  810. </record>
  811. <!-- Standard Medium Information From View -->
  812. <record model="ir.ui.view" id="view_standard_medium_form">
  813. <field name="name">standard.medium.form</field>
  814. <field name="model">standard.medium</field>
  815. <field name="type">form</field>
  816. <field name="arch" type="xml">
  817. <form string="Mediums">
  818. <group col="4" colspan="4">
  819. <field name="sequence"/>
  820. <field name="name"/>
  821. <field name="code"/>
  822. </group>
  823. </form>
  824. </field>
  825. </record>
  826. <!-- Standard Medium Information Tree View -->
  827. <record model="ir.ui.view" id="view_standard_medium_tree">
  828. <field name="name">standard.medium.tree</field>
  829. <field name="model">standard.medium</field>
  830. <field name="type">tree</field>
  831. <field name="arch" type="xml">
  832. <tree string="Mediums">
  833. <field name="sequence"/>
  834. <field name="name"/>
  835. <field name="code"/>
  836. </tree>
  837. </field>
  838. </record>
  839. <!-- Standard Division Information From View -->
  840. <record model="ir.ui.view" id="view_standard_division_form">
  841. <field name="name">standard.division.form</field>
  842. <field name="model">standard.division</field>
  843. <field name="type">form</field>
  844. <field name="arch" type="xml">
  845. <form string="Divisions">
  846. <group col="4" colspan="4">
  847. <field name="sequence"/>
  848. <field name="name"/>
  849. <field name="code"/>
  850. </group>
  851. </form>
  852. </field>
  853. </record>
  854. <!-- Standard Division Information Tree View -->
  855. <record model="ir.ui.view" id="view_standard_division_tree">
  856. <field name="name">standard.division.tree</field>
  857. <field name="model">standard.division</field>
  858. <field name="type">tree</field>
  859. <field name="arch" type="xml">
  860. <tree string="Divisions">
  861. <field name="sequence"/>
  862. <field name="name"/>
  863. <field name="code"/>
  864. </tree>
  865. </field>
  866. </record>
  867. <!-- Subject Information From View -->
  868. <record model="ir.ui.view" id="view_subject_subject_form">
  869. <field name="name">subject.subject.form</field>
  870. <field name="model">subject.subject</field>
  871. <field name="type">form</field>
  872. <field name="arch" type="xml">
  873. <form string="Subjects">
  874. <group col="4" colspan="4">
  875. <field name="name"/>
  876. <field name="code"/>
  877. <field name="maximum_marks" />
  878. <field name="minimum_marks" />
  879. <field name="weightage" />
  880. </group>
  881. <notebook colspan="4">
  882. <page string="Standards">
  883. <field name="standard_ids" nolabel="1" colspan="4">
  884. <tree string="Standards">
  885. <field name="standard_id"/>
  886. <field name="division_id"/>
  887. <field name="medium_id"/>
  888. </tree>
  889. <form string="Standards">
  890. <group col="4" colspan="4">
  891. <field name="standard_id"/>
  892. <field name="division_id"/>
  893. <field name="medium_id"/>
  894. </group>
  895. </form>
  896. </field>
  897. </page>
  898. <page string="Teachers">
  899. <field name="teacher_ids" nolabel="1" colspan="4"/>
  900. </page>
  901. </notebook>
  902. </form>
  903. </field>
  904. </record>
  905. <!-- Subject Information Tree View -->
  906. <record model="ir.ui.view" id="view_subject_subject_tree">
  907. <field name="name">subject.subject.tree</field>
  908. <field name="model">subject.subject</field>
  909. <field name="type">tree</field>
  910. <field name="arch" type="xml">
  911. <tree string="Subjects">
  912. <field name="name"/>
  913. <field name="code"/>
  914. <field name="maximum_marks"/>
  915. <field name="minimum_marks"/>
  916. <field name="weightage"/>
  917. </tree>
  918. </field>
  919. </record>
  920. <!-- Standard Information Form View -->
  921. <record model="ir.ui.view" id="view_standard_standard_form">
  922. <field name="name">standard.standard.form</field>
  923. <field name="model">standard.standard</field>
  924. <field name="type">form</field>
  925. <field name="arch" type="xml">
  926. <form string="Standard Information">
  927. <group col="6" colspan="4">
  928. <field name="sequence"/>
  929. <field name="name"/>
  930. <field name="code"/>
  931. </group>
  932. </form>
  933. </field>
  934. </record>
  935. <!-- Standard Information Tree View -->
  936. <record model="ir.ui.view" id="view_standard_standard_tree">
  937. <field name="name">standard.standard.tree</field>
  938. <field name="model">standard.standard</field>
  939. <field name="type">tree</field>
  940. <field name="arch" type="xml">
  941. <tree string="Standard Information">
  942. <field name="sequence"/>
  943. <field name="name"/>
  944. <field name="code"/>
  945. </tree>
  946. </field>
  947. </record>
  948. <!-- Teacher Information Form View -->
  949. <record model="ir.ui.view" id="view_teacher_teacher_form">
  950. <field name="name">hr.employee.form</field>
  951. <field name="model">hr.employee</field>
  952. <field name="inherit_id" ref="hr.view_employee_form"/>
  953. <field name="type">form</field>
  954. <field name="arch" type="xml">
  955. <data>
  956. <xpath expr="//page[@string = 'Categories']" position="after">
  957. <page string="Subjects">
  958. <field name="subject_ids" nolabel="1"/>
  959. </page>
  960. </xpath>
  961. </data>
  962. </field>
  963. </record>
  964. <!-- Student Information Form Action -->
  965. <record model="ir.actions.act_window" id="action_student_student_form_12">
  966. <field name="name">Students</field>
  967. <field name="res_model">student.student</field>
  968. <field name="view_type">form</field>
  969. <field name="search_view_id" ref="view_student_student_search_1"/>
  970. <field name="view_mode">kanban,tree,form</field>
  971. <field name="domain">[('state','=','done')]</field>
  972. </record>
  973. <!-- Student Information Tree Action View-->
  974. <record id="action_view_student_student_tree_1" model="ir.actions.act_window.view">
  975. <field name="view_mode">tree</field>
  976. <field eval="20" name="sequence"/>
  977. <field name="view_id" ref="view_student_student_tree_1"/>
  978. <field name="act_window_id" ref="action_student_student_form_12"/>
  979. </record>
  980. <record id="action_view_student_student_form_1" model="ir.actions.act_window.view">
  981. <field name="view_mode">form</field>
  982. <field eval="30" name="sequence"/>
  983. <field name="view_id" ref="view_student_student_form_1"/>
  984. <field name="act_window_id" ref="action_student_student_form_12"/>
  985. </record>
  986. <record id="action_view_student_student_kanban_1" model="ir.actions.act_window.view">
  987. <field name="view_mode">kanban</field>
  988. <field eval="0" name="sequence"/>
  989. <field name="view_id" ref="student_student_kanban_view"/>
  990. <field name="act_window_id" ref="action_student_student_form_12"/>
  991. </record>
  992. <!-- Admission Register Information Form Action -->
  993. <record model="ir.actions.act_window" id="action_student_student_form_2">
  994. <field name="name">Admission Register</field>
  995. <field name="res_model">student.student</field>
  996. <field name="view_type">form</field>
  997. <field name="view_id" ref="view_student_student_form_2"/>
  998. <field name="search_view_id" ref="view_student_student_search_2"/>
  999. <field name="view_mode">tree,form,kanban</field>
  1000. </record>
  1001. <!-- Admission Register Information Tree Action -->
  1002. <record id="action_student_student_tree_2" model="ir.actions.act_window.view">
  1003. <field name="view_mode">tree</field>
  1004. <field name="view_id" ref="view_student_student_tree_2"/>
  1005. <field name="act_window_id" ref="action_student_student_form_2"/>
  1006. </record>
  1007. <!-- Teacher Information Action -->
  1008. <record model="ir.actions.act_window" id="action_teacher_teacher_form_1">
  1009. <field name="name">Teachers</field>
  1010. <field name="res_model">hr.employee</field>
  1011. <field name="view_type">form</field>
  1012. <field name="view_mode">kanban,tree,form</field>
  1013. </record>
  1014. <!-- Contact Information Action -->
  1015. <record model="ir.actions.act_window" id="action_student_address_form">
  1016. <field name="name">Contacts</field>
  1017. <field name="res_model">res.partner.address</field>
  1018. <field name="view_type">form</field>
  1019. <field name="view_mode">tree,form</field>
  1020. </record>
  1021. <!-- School Information Action -->
  1022. <record model="ir.actions.act_window" id="action_school_school_form">
  1023. <field name="name">Schools</field>
  1024. <field name="res_model">school.school</field>
  1025. <field name="view_type">form</field>
  1026. <field name="view_mode">tree,form</field>
  1027. </record>
  1028. <!-- Standard Information Action -->
  1029. <record model="ir.actions.act_window" id="action_school_standard_form">
  1030. <field name="name">Standards</field>
  1031. <field name="res_model">school.standard</field>
  1032. <field name="view_type">form</field>
  1033. <field name="view_mode">tree,form,kanban</field>
  1034. </record>
  1035. <!-- Academic Year Information Action -->
  1036. <record model="ir.actions.act_window" id="action_academic_year_form">
  1037. <field name="name">Academic Years</field>
  1038. <field name="res_model">academic.year</field>
  1039. <field name="view_type">form</field>
  1040. <field name="view_mode">tree,form</field>
  1041. </record>
  1042. <!-- Academic Month Information Action -->
  1043. <record model="ir.actions.act_window" id="action_academic_month_form">
  1044. <field name="name">Months</field>
  1045. <field name="res_model">academic.month</field>
  1046. <field name="view_type">form</field>
  1047. <field name="view_mode">tree,form</field>
  1048. </record>
  1049. <!-- Standard Medium Information Action -->
  1050. <record model="ir.actions.act_window" id="action_standard_medium_form">
  1051. <field name="name">Mediums</field>
  1052. <field name="res_model">standard.medium</field>
  1053. <field name="view_type">form</field>
  1054. <field name="view_mode">tree,form</field>
  1055. </record>
  1056. <!-- Standard Division Information Action -->
  1057. <record model="ir.actions.act_window" id="action_standard_division_form">
  1058. <field name="name">Divisions</field>
  1059. <field name="res_model">standard.division</field>
  1060. <field name="view_type">form</field>
  1061. <field name="view_mode">tree,form</field>
  1062. </record>
  1063. <!-- Subject Information Action -->
  1064. <record model="ir.actions.act_window" id="action_subject_subject_form">
  1065. <field name="name">Subjects</field>
  1066. <field name="res_model">subject.subject</field>
  1067. <field name="view_type">form</field>
  1068. <field name="view_mode">tree,form</field>
  1069. </record>
  1070. <!-- Standard Information Action -->
  1071. <record model="ir.actions.act_window" id="action_standard_standard_form">
  1072. <field name="name">Classes</field>
  1073. <field name="res_model">standard.standard</field>
  1074. <field name="view_type">form</field>
  1075. <field name="view_mode">tree,form</field>
  1076. </record>
  1077. <record id="view_parent_form" model="ir.ui.view">
  1078. <field name="name">res.partner.parent.form</field>
  1079. <field name="model">res.partner</field>
  1080. <field name="type">form</field>
  1081. <field name="arch" type="xml">
  1082. <form string="Partners" col='1'>
  1083. <group col="6" colspan="4">
  1084. <group colspan="5" col="6">
  1085. <field name="name" select="1"/>
  1086. </group>
  1087. </group>
  1088. <notebook colspan="4">
  1089. <page string="General">
  1090. <field colspan="4" mode="form,tree" name="address" nolabel="1" select="1" height="260">
  1091. <form string="Partner Contacts">
  1092. <group colspan="4" col="6">
  1093. <field name="name" string="Contact Name"/>
  1094. <field domain="[('domain', '=', 'contact')]" name="title" size="0"/>
  1095. </group>
  1096. <newline/>
  1097. <group colspan="2" col="4">
  1098. <separator string="Postal Address" colspan="4" col="4" />
  1099. <field name="type" string="Type" colspan="2"/>
  1100. <field name="street" colspan="4"/>
  1101. <field name="street2" colspan="4"/>
  1102. <field name="zip"/>
  1103. <field name="city"/>
  1104. <field name="country_id" completion="1"/>
  1105. <field name="state_id"/>
  1106. </group>
  1107. <group colspan="2" col="2">
  1108. <separator string="Communication" colspan="2" col="2" />
  1109. <field name="phone"/>
  1110. <field name="mobile"/>
  1111. <field name="fax"/>
  1112. <field name="email" widget="email"/>
  1113. </group>
  1114. </form>
  1115. <tree string="Partner Contacts">
  1116. <field name="name"/>
  1117. <field name="zip"/>
  1118. <field name="city"/>
  1119. <field name="country_id"/>
  1120. <field name="phone"/>
  1121. <field name="email"/>
  1122. </tree>
  1123. </field>
  1124. <group groups="base.group_extended">
  1125. <separator colspan="4" string="Categories"/>
  1126. <field colspan="4" name="category_id" nolabel="1"/>
  1127. </group>
  1128. </page>
  1129. <page string="Notes">
  1130. <field colspan="4" name="comment" nolabel="1"/>
  1131. </page>
  1132. </notebook>
  1133. </form>
  1134. </field>
  1135. </record>
  1136. <record id="view_res_partner_parent_filter" model="ir.ui.view">
  1137. <field name="name">res.partner.parent.select</field>
  1138. <field name="model">res.partner</field>
  1139. <field name="type">search</field>
  1140. <field name="arch" type="xml">
  1141. <search string="Search Partner">
  1142. <group col='10' colspan='4'>
  1143. <field name="name" select="1"/>
  1144. <field name="address" select="1"/>
  1145. <field name="country" select="1"/>
  1146. </group>
  1147. </search>
  1148. </field>
  1149. </record>
  1150. <record id="view_parent_tree" model="ir.ui.view">
  1151. <field name="name">res.partner.tree</field>
  1152. <field name="model">res.partner</field>
  1153. <field name="type">tree</field>
  1154. <field eval="8" name="priority"/>
  1155. <field name="arch" type="xml">
  1156. <tree string="Partners">
  1157. <field name="name"/>
  1158. <field name="phone"/>
  1159. <field name="email"/>
  1160. <field name="city"/>
  1161. <field name="country"/>
  1162. </tree>
  1163. </field>
  1164. </record>
  1165. <!-- Parent Information Action -->
  1166. <record model="ir.actions.act_window" id="action_parent_form">
  1167. <field name="name">Parents</field>
  1168. <field name="res_model">res.partner</field>
  1169. <field name="view_type">form</field>
  1170. <field name="view_mode">tree,form,kanban</field>
  1171. <field name="search_view_id" ref="view_res_partner_parent_filter"/>
  1172. </record>
  1173. <record id="action_partner_form_view1" model="ir.actions.act_window.view">
  1174. <field eval="10" name="sequence"/>
  1175. <field name="view_mode">tree</field>
  1176. <field name="view_id" ref="view_parent_tree"/>
  1177. <field name="act_window_id" ref="action_parent_form"/>
  1178. </record>
  1179. <record id="action_parent_form_view2" model="ir.actions.act_window.view">
  1180. <field eval="20" name="sequence"/>
  1181. <field name="view_mode">form</field>
  1182. <field name="view_id" ref="view_parent_form"/>
  1183. <field name="act_window_id" ref="action_parent_form"/>
  1184. </record>
  1185. <menuitem
  1186. icon="terp-project" id="menu_ems"
  1187. name="EMS" sequence="4"
  1188. web_icon="images/icon.png"
  1189. web_icon_hover="images/hover.png"/>
  1190. <menuitem
  1191. name="Configuration" parent="menu_ems"
  1192. id="menu_configuration"
  1193. sequence="10"
  1194. groups="group_school_administration"/>
  1195. <menuitem
  1196. name="Students Profile" parent="menu_ems"
  1197. id="menu_student_profile"
  1198. sequence="2"
  1199. action="action_student_student_form_12"/>
  1200. <!-- <menuitem
  1201. name="Teachers Profile" parent="menu_configuration"
  1202. id="menu_teacher_teacher_form"
  1203. action="action_teacher_teacher_form_1"/>
  1204. -->
  1205. <menuitem
  1206. name="Parents Details" parent="menu_configuration"
  1207. id="menu_res_partner_form"
  1208. action="action_parent_form"/>
  1209. <menuitem
  1210. name="Admission Register" parent="menu_ems"
  1211. id="menu_admission_register_form"
  1212. action="action_student_student_form_2"
  1213. sequence="1"/>
  1214. <menuitem
  1215. name="School" parent="menu_configuration"
  1216. id="menu_school"
  1217. sequence="5"/>
  1218. <menuitem
  1219. name="Schools" parent="menu_school"
  1220. id="menu_school_school_form"
  1221. action="action_school_school_form"/>
  1222. <menuitem
  1223. name="Academic Year" parent="menu_configuration"
  1224. id="menu_academic_year"
  1225. sequence="1"/>
  1226. <menuitem
  1227. name="Years" parent="menu_academic_year"
  1228. id="menu_academic_year_form"
  1229. action="action_academic_year_form"
  1230. sequence="1"/>
  1231. <menuitem
  1232. name="Months" parent="menu_academic_year"
  1233. id="menu_academic_month_form"
  1234. action="action_academic_month_form"
  1235. sequence="2"/>
  1236. <menuitem
  1237. name="Standard" parent="menu_configuration"
  1238. id="menu_standards"
  1239. sequence="2"/>
  1240. <menuitem
  1241. name="Standards" parent="menu_standards"
  1242. id="menu_school_standard_form"
  1243. action="action_school_standard_form"/>
  1244. <menuitem
  1245. name="Classes" parent="menu_standards"
  1246. id="menu_standard_standard_form"
  1247. action="action_standard_standard_form"
  1248. sequence="1"/>
  1249. <menuitem
  1250. name="Mediums" parent="menu_standards"
  1251. id="menu_standard_medium_form"
  1252. action="action_standard_medium_form"
  1253. sequence="2"/>
  1254. <menuitem
  1255. name="Divisions" parent="menu_standards"
  1256. id="menu_standard_division_form"
  1257. action="action_standard_division_form"
  1258. sequence="3"/>
  1259. <menuitem
  1260. name="Subject" parent="menu_configuration"
  1261. id="menu_subjects"
  1262. sequence="3"/>
  1263. <menuitem
  1264. name="Subjects" parent="menu_subjects"
  1265. id="menu_subject_subject_form"
  1266. action="action_subject_subject_form"
  1267. sequence="1"/>
  1268. <record model="ir.ui.view" id="view_partner_add_tree1">
  1269. <field name="name">res.partner.address.tree</field>
  1270. <field name="model">res.partner.address</field>
  1271. <field name="inherit_id" ref="base.view_partner_address_tree"/>
  1272. <field name="type">tree</field>
  1273. <field name="arch" type="xml">
  1274. <tree string="Partner Addresses" position="attributes">
  1275. <attribute name="string">PARENT ADDRESS</attribute>
  1276. </tree>
  1277. <field name="partner_id" position="attributes">
  1278. <attribute name="string">Parent</attribute>
  1279. </field>
  1280. </field>
  1281. </record>
  1282. <record model="ir.ui.view" id="view_partner_add_form2">
  1283. <field name="name">res.partner.address.tree</field>
  1284. <field name="model">res.partner.address</field>
  1285. <field name="inherit_id" ref="base.view_partner_address_form1"/>
  1286. <field name="type">form</field>
  1287. <field name="arch" type="xml">
  1288. <field name="partner_id" position="attributes">
  1289. <attribute name="string">Parent Name</attribute>
  1290. </field>
  1291. </field>
  1292. </record>
  1293. <record model="ir.ui.view" id="view_company_form_inherit">
  1294. <field name="name">res.company.form</field>
  1295. <field name="model">res.company</field>
  1296. <field name="inherit_id" ref="base.view_company_form"/>
  1297. <field name="type">form</field>
  1298. <field name="arch" type="xml">
  1299. <field name="name" position="attributes">
  1300. <attribute name="string">School Name</attribute>
  1301. </field>
  1302. </field>
  1303. </record>
  1304. <record id="view_student_attachment_tree" model="ir.ui.view">
  1305. <field name="name">student.attachment.tree</field>
  1306. <field name="model">student.attachment</field>
  1307. <field name="type">tree</field>
  1308. <field name="arch" type="xml">
  1309. <tree string="Attachment">
  1310. <field name="name"/>
  1311. <field name="file_name" />
  1312. </tree>
  1313. </field>
  1314. </record>
  1315. <record id="view_student_attachment_form" model="ir.ui.view">
  1316. <field name="name">student.attachment.form</field>
  1317. <field name="model">student.attachment</field>
  1318. <field name="type">form</field>
  1319. <field name="arch" type="xml">
  1320. <form string="Attachment">
  1321. <field name="name"/>
  1322. <field name="new_datas" />
  1323. <field name="file_name" />
  1324. </form>
  1325. </field>
  1326. </record>
  1327. </data>
  1328. </openerp>