school_view.xml 115 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Student Form View1 -->
  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="arch" type="xml">
  9. <form string="Student Information">
  10. <sheet style="width: 10%%,height:10%%">
  11. <separator string="Personal Information" />
  12. <field name="photo" widget='image' class="oe_avatar oe_left"
  13. options='{"size": [110, 110]}'/>
  14. <div class="oe_title">
  15. <field name="pid" invisible="1" />
  16. <field name="reg_code" readonly="1" />
  17. <!-- <field name="grn_number" placeholder="General Reg No." / -->
  18. <field name="name" placeholder="First Name" nolabel="1" />
  19. <field name="middle" placeholder="Middle Name" nolabel="1"/>
  20. <field name="last" placeholder="Last Name" nolabel="1"/>
  21. </div>
  22. <div class="oe_right oe_button_box" name="buttons">
  23. </div>
  24. <group col="4">
  25. <group col="2">
  26. <separator string="Student Information" colspan="4"/>
  27. <field name="student_code" readonly="1"/>
  28. <field name="roll_no" help="Roll number of Student"/>
  29. <field name="year" placeholder="Year" help="Academic year of Student"/>
  30. <field name="school_id" widget="selection" help="School of Student"/>
  31. </group>
  32. <group col="2">
  33. <separator string="Standard Information" colspan="4" />
  34. <field name="standard_id" placeholder="Standard" widget="selection"/>
  35. <field name="division_id" placeholder="Division" widget="selection"/>
  36. <field name="medium_id" placeholder="Medium" widget="selection"/>
  37. </group>
  38. </group>
  39. <group col="4" colspan="4">
  40. <group>
  41. <label for="street" string="Address"/>
  42. <div>
  43. <field name="street" placeholder="Street..."/>
  44. <field name="street2" placeholder="Street2..."/>
  45. <field name="country_id" placeholder="Country" class="oe_no_button"
  46. options='{"no_open": true}'/>
  47. <field name="state_id" domain="[('country_id','=',country_id)]"
  48. required="1" placeholder="State" options='{"no_open": true}'/>
  49. <field name="city" placeholder="City" required="1"/>
  50. </div>
  51. </group>
  52. <group>
  53. <field name="phone" placeholder="Phone Number"/>
  54. <field name="mobile" placeholder="Mobile Number"/>
  55. <field name="email" placeholder="Email Address" String="Email"/>
  56. <field name="website" widget="url" placeholder="e.g. www.serpentcs.com"/>
  57. </group>
  58. </group>
  59. <notebook colspan="4">
  60. <page string="General">
  61. <group col="4">
  62. <group colspan="2" col="4">
  63. <field name="cast_id" />
  64. <field name="date_of_birth" widget="date" placeholder="Birthdate"/>
  65. <field name="gender"/>
  66. <field name="age"/>
  67. <field name="mother_tongue"/>
  68. <field name="admission_date" widget="date" placeholder="Admission Date"/>
  69. <field name="maritual_status"/>
  70. <newline/>
  71. <separator string="Emergency Contact Details"
  72. colspan="4"/>
  73. <newline />
  74. <group colspan="4" col="4">
  75. <field name="contact_phone1"/>
  76. <field name="contact_mobile1"/>
  77. </group>
  78. </group>
  79. </group>
  80. </page>
  81. <page string="References">
  82. <field name="reference_ids" nolabel="1" colspan="4">
  83. <tree string="Reference">
  84. <field name="name"/>
  85. <field name="middle"/>
  86. <field name="last"/>
  87. <field name="designation"/>
  88. <field name="phone"/>
  89. <field name="gender"/>
  90. </tree>
  91. <form string="Reference">
  92. <group col="4" colspan="4">
  93. <field name="name" placeholder="First Name"/>
  94. <field name="gender"/>
  95. <field name="middle" placeholder="Middle Name"/>
  96. <field name="designation" placeholder="Designation"/>
  97. <field name="last" placeholder="Last Name"/>
  98. <field name="phone" placeholder="Phone Number"/>
  99. </group>
  100. </form>
  101. </field>
  102. </page>
  103. <page string="Previous School">
  104. <field name="previous_school_ids" nolabel="1" colspan="4">
  105. <tree string="Previous School Details">
  106. <field name="name"/>
  107. <field name="registration_no"/>
  108. <field name="admission_date"/>
  109. <field name="exit_date"/>
  110. <field name="course_id"/>
  111. </tree>
  112. <form string="Previous School Details" >
  113. <separator string="Previous School Details"/>
  114. <group col="4" colspan="4">
  115. <field name="name" placeholder="School Name"/>
  116. <field name="registration_no" placeholder="Registration No"/>
  117. <field name="admission_date"/>
  118. <field name="exit_date"/>
  119. <field name="course_id"/>
  120. <newline />
  121. <field name="add_sub" colspan="4"/>
  122. </group>
  123. </form>
  124. </field>
  125. </page>
  126. <page string="Award Info">
  127. <field name="award_list" nolabel="1" colspan="4">
  128. <tree string="Reference">
  129. <field name="name"/>
  130. <field name="description"/>
  131. </tree>
  132. <form string="Reference">
  133. <group col="4" colspan="4">
  134. <field name="name"/>
  135. <field name="description"/>
  136. </group>
  137. </form>
  138. </field>
  139. </page>
  140. <page string="Family Info">
  141. <field name="family_con_ids" nolabel="1" colspan="4">
  142. <form string="Family Contact Details">
  143. <group col="4">
  144. <group col="2">
  145. <separator colspan="2"/>
  146. <field name='rel_name'/>
  147. <field name='stu_name' placeholder="Create or Select Name"
  148. attrs="{'invisible':[('rel_name','!=','exist')]}"/>
  149. <field name='name' placeholder="Name"
  150. attrs="{'invisible':[('rel_name','!=','new')]}"/>
  151. <field name='relation' placeholder="Enter or select Relation"/>
  152. </group>
  153. <group col="2">
  154. <separator colspan="2" />
  155. <field name='phone' placeholder="Phone Number"/>
  156. <field name='email' placeholder="Email ID"/>
  157. </group>
  158. </group>
  159. </form>
  160. <tree string="Family Contact Details">
  161. <field name='stu_name' string="Existing Student"/>
  162. <field name='name' string="New Name"/>
  163. <field name="relation"/>
  164. <field name="phone"/>
  165. </tree>
  166. </field>
  167. </page>
  168. <page string="Medical">
  169. <group col="4">
  170. <group col="2">
  171. <separator string="Doctor Information" colspan="4"/>
  172. <field name="designation" placeholder="Doctor Designation"/>
  173. <field name="doctor_phone" placeholder="Doctor's Contact No"/>
  174. </group>
  175. <group col="2">
  176. <separator string="Physical Information" colspan="4"/>
  177. <field name="blood_group" placeholder="e.g.B+,Ab+"/>
  178. <field name="height"/>
  179. <field name="weight"/>
  180. </group>
  181. </group>
  182. <separator string="Does the applicant have any Disabilities?"
  183. colspan="4" />
  184. <group col="6" colspan="4">
  185. <field name="eye"/>
  186. <field name="ear"/>
  187. <field name="nose_throat"/>
  188. <field name="respiratory"/>
  189. <field name="cardiovascular"/>
  190. <field name="neurological"/>
  191. <field name="muskoskeletal"/>
  192. <field name="dermatological"/>
  193. <field name="blood_pressure"/>
  194. </group>
  195. <separator string="Notes" colspan="4"/>
  196. <group col="6" colspan="4">
  197. <field name="comment" placeholder="Notes About Medical.."
  198. nolabel="1"/>
  199. </group>
  200. </page>
  201. <page string="Certificates">
  202. <field name="certificate_ids" nolabel="1" colspan="4">
  203. <form string="Certificate">
  204. <group col="4">
  205. <field name="description" placeholder="Description About Certificate"/>
  206. <field name="certi"/>
  207. </group>
  208. </form>
  209. <tree string="Certifaicate">
  210. <field name="description"/>
  211. </tree>
  212. </field>
  213. </page>
  214. <page string="Remarks">
  215. <field name="description" nolabel="1" colspan="4">
  216. <form string="Extra Details">
  217. <group col="4" colspan="2">
  218. <field name="name" placeholder="Field Name"/>
  219. <field name="description" placeholder="Description"/>
  220. </group>
  221. </form>
  222. <tree string="Remarks">
  223. <field name="name"/>
  224. <field name="description"/>
  225. </tree>
  226. </field>
  227. </page>
  228. <page string="History"
  229. groups="school.group_school_administration,school.group_school_teacher,school.group_school_parent,school.group_school_student">
  230. <field name="history_ids" nolabel="1" colspan="4"
  231. readonly="1">
  232. <tree string="History">
  233. <field name="academice_year_id"/>
  234. <field name="standard_id"/>
  235. <field name="percentage"/>
  236. <field name="result"/>
  237. </tree>
  238. <form string="History">
  239. <group col="4" colspan="4">
  240. <field name="academice_year_id" placeholder="Acadamic Year"/>
  241. <field name="standard_id" placeholder="Select or Create Standard"/>
  242. <field name="percentage"/>
  243. <field name="result"/>
  244. </group>
  245. </form>
  246. </field>
  247. </page>
  248. </notebook>
  249. <field name="state" invisible="1"/>
  250. </sheet>
  251. </form>
  252. </field>
  253. </record>
  254. <!-- Record Rule for student profile info for Student -->
  255. <record id="student_rule_student_profile_record" model="ir.rule">
  256. <field name="name">Personal Student Profile Record</field>
  257. <field ref="model_student_student" name="model_id" />
  258. <field eval="1" name="global" />
  259. <field name="domain_force">[('user_id','=',user.id)]</field>
  260. <field name="groups" eval="[(4, ref('school.group_school_student'))]" />
  261. </record>
  262. <!-- Student Information Tree View -->
  263. <record model="ir.ui.view" id="view_student_student_tree_1">
  264. <field name="name">student.student.tree.1</field>
  265. <field name="model">student.student</field>
  266. <field name="arch" type="xml">
  267. <tree string="Student Information">
  268. <field name="pid"/>
  269. <field name="name"/>
  270. <field name="student_name" invisible="1"/>
  271. <field name="year" widget="selection"/>
  272. <field name="admission_date"/>
  273. <field name="gender"/>
  274. <field name="state"/>
  275. <field name="school_id"/>
  276. </tree>
  277. </field>
  278. </record>
  279. <!-- Student Information Search View -->
  280. <record model="ir.ui.view" id="view_student_student_search_1">
  281. <field name="name">student.student.search.1</field>
  282. <field name="model">student.student</field>
  283. <field name="arch" type="xml">
  284. <search string="Student Information">
  285. <group col="10" colspan="4">
  286. <field name="pid"/>
  287. <field name="student_name" invisible="1"/>
  288. <field name="year"/>
  289. <field name="gender"/>
  290. <field name="school_id"/>
  291. </group>
  292. <newline/>
  293. <group expand="0" string="Group By..." colspan="12" col="10">
  294. <filter icon="terp-project" string="Class" help="By Class" context="{'group_by':'standard_id'}"/>
  295. <filter icon="terp-project" string="Gender" help="By Gender" context="{'group_by':'gender'}"/>
  296. <filter icon="terp-project" string="Name" help="By Class" context="{'group_by':'student_name'}"/>
  297. <filter icon="terp-project" string="School" help="By School" context="{'group_by':'school_id'}"/>
  298. </group>
  299. </search>
  300. </field>
  301. </record>
  302. <!--Student Kanban view -->
  303. <record model="ir.ui.view" id="student_student_kanban_view">
  304. <field name="name">Student KANBAN</field>
  305. <field name="model">student.student</field>
  306. <field name="arch" type="xml">
  307. <kanban>
  308. <field name="color"/>
  309. <field name="name"/>
  310. <field name="email"/>
  311. <templates>
  312. <t t-name="kanban-box">
  313. <t t-set="color"
  314. t-value="kanban_color(record.color.raw_value || record.name.raw_value)" />
  315. <div
  316. t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
  317. <div class="oe_kanban_box oe_kanban_color_border">
  318. <div
  319. class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  320. <table class="oe_kanban_table">
  321. <tr>
  322. <td class="oe_kanban_title1" align="left" valign="middle"
  323. style="padding-left:10px;">
  324. <h4>
  325. <a type="open">
  326. <field name="name"/>
  327. <field name="middle"/>
  328. <field name="last"/>
  329. <field name="student_name" invisible="1"/>
  330. <field name="standard_id" invisible="1"/>
  331. <field name="school_id" invisible="1"/>
  332. <field name="gender" invisible="1"/>
  333. <field name="state" invisible="1"/>
  334. </a>
  335. </h4>
  336. </td>
  337. </tr>
  338. </table>
  339. </div>
  340. <div
  341. class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  342. <table class="oe_kanban_table">
  343. <tr width="300">
  344. <td valign="top" width="64" align="left">
  345. <a type="open">
  346. <img heigh="80" width="80"
  347. t-att-src="kanban_image('student.student', 'photo', record.id.value)"/>
  348. </a>
  349. </td>
  350. <td valign="top" align="left" style="padding-left:10px;">
  351. <table>
  352. <tr>
  353. <td>Student ID :</td>
  354. <td style="padding-left:10px;">
  355. <b>
  356. <field name="pid"/>
  357. </b>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td>Standard : </td>
  362. <td style="padding-left:10px;">
  363. <b>
  364. <field name="standard_id"/>
  365. </b>
  366. </td>
  367. </tr>
  368. <tr>
  369. <td>Admission Date : </td>
  370. <td style="padding-left:10px;">
  371. <b>
  372. <field name="admission_date"/>
  373. </b>
  374. </td>
  375. </tr>
  376. </table>
  377. </td>
  378. </tr>
  379. <tr>
  380. <td>
  381. <center>
  382. <b>
  383. <field name="gender"/>
  384. </b>
  385. </center>
  386. </td>
  387. </tr>
  388. </table>
  389. </div>
  390. <div
  391. class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  392. <div class="oe_kanban_left">
  393. <a string="Edit" icon="gtk-edit" type="edit" />
  394. <a string="Change Color" icon="color-picker" type="color"
  395. name="color"/>
  396. </div>
  397. <br class="oe_kanban_clear"/>
  398. </div>
  399. </div>
  400. </div>
  401. </t>
  402. </templates>
  403. </kanban>
  404. </field>
  405. </record>
  406. <!-- Student Reminder Form View -->
  407. <record model="ir.ui.view" id="view_student_reminder_form_2">
  408. <field name="name">student.reminder.form</field>
  409. <field name="model">student.reminder</field>
  410. <field name="arch" type="xml">
  411. <form string="Student Reminder" >
  412. <sheet>
  413. <separator string="Reminder"/>
  414. <group col="4" colspan="4">
  415. <field name="stu_id" widget="selection" placeholder="Student"/>
  416. <field name="date" placeholder="Select Date"/>
  417. <field name="name" placeholder="Reminder Title"/>
  418. <newline />
  419. <field name="description" colspan="4"/>
  420. </group>
  421. </sheet>
  422. </form>
  423. </field>
  424. </record>
  425. <!-- Student Reminder Action view -->
  426. <record model="ir.actions.act_window" id="action_student_reminder">
  427. <field name="name">Students Reminder</field>
  428. <field name="res_model">student.reminder</field>
  429. <field name="view_type">form</field>
  430. <field name="view_mode">kanban,form</field>
  431. </record>
  432. <!-- Kanban View For Student Reminder -->
  433. <record model="ir.ui.view" id="student_reminder_kanban_view">
  434. <field name="name">Student KANBAN</field>
  435. <field name="model">student.reminder</field>
  436. <field name="arch" type="xml">
  437. <kanban default_group_by="date">
  438. <field name="name" />
  439. <field name="date" />
  440. <field name="color" />
  441. <templates>
  442. <t t-name="kanban-box">
  443. <div
  444. t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click">
  445. <div class="oe_dropdown_toggle oe_dropdown_kanban">
  446. <span class="oe_e">í</span>
  447. <ul class="oe_dropdown_menu">
  448. <t t-if="widget.view.is_action_enabled('edit')">
  449. <li>
  450. <a type="edit">Edit...</a>
  451. </li>
  452. </t>
  453. <t t-if="widget.view.is_action_enabled('delete')">
  454. <li>
  455. <a type="delete">Delete</a>
  456. </li>
  457. </t>
  458. <li>
  459. <ul class="oe_kanban_colorpicker" data-field="color"/>
  460. </li>
  461. </ul>
  462. </div>
  463. <div
  464. class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  465. <table class="oe_kanban_table">
  466. <tr>
  467. <td class="oe_kanban_title1" align="left" valign="middle"
  468. style="padding-left:10px;">
  469. <h4>
  470. <a type="open">
  471. <field name="date"/>
  472. <field name="name"/>
  473. </a>
  474. </h4>
  475. </td>
  476. </tr>
  477. </table>
  478. </div>
  479. <div
  480. class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  481. <table class="oe_kanban_table">
  482. <tr width="300">
  483. <td valign="top" align="left" style="padding-left:10px;">
  484. <table>
  485. <tr>
  486. <td>Name :</td>
  487. <td style="padding-left:10px;">
  488. <b>
  489. <field name="name"/>
  490. </b>
  491. </td>
  492. </tr>
  493. <tr>
  494. <td>Date : </td>
  495. <td style="padding-left:10px;">
  496. <b>
  497. <field name="date"/>
  498. </b>
  499. </td>
  500. </tr>
  501. <tr>
  502. <td>Description : </td>
  503. <td style="padding-left:10px;">
  504. <b>
  505. <field name="description"/>
  506. </b>
  507. </td>
  508. </tr>
  509. </table>
  510. </td>
  511. </tr>
  512. </table>
  513. </div>
  514. <div
  515. class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  516. <div class="oe_kanban_left">
  517. <a string="Edit" icon="gtk-edit" type="edit" />
  518. <a string="Change Color" icon="color-picker" type="color"
  519. name="color"/>
  520. </div>
  521. <br class="oe_kanban_clear"/>
  522. </div>
  523. </div>
  524. </t>
  525. </templates>
  526. </kanban>
  527. </field>
  528. </record>
  529. <!-- Admission Register Information Form View -->
  530. <record model="ir.ui.view" id="view_student_student_form_2">
  531. <field name="name">student.student.form.2</field>
  532. <field name="model">student.student</field>
  533. <field name="arch" type="xml">
  534. <form string="Admission Register" >
  535. <header>
  536. <button name="set_terminate" string="Terminate" type="object"
  537. states="done" icon="gtk-cancel" class="oe_highlight"
  538. groups="school.group_school_administration,school.group_school_teacher"/>
  539. <button name="set_alumni" string="Alumni" type="object"
  540. icon="gtk-execute" states="done"
  541. groups="school.group_school_administration,school.group_school_teacher"/>
  542. <button name="admission_done" type="object" string="Done"
  543. states="draft,terminate" icon="gtk-jump-to"/>
  544. <field name="state" widget="statusbar" nolabel="1"/>
  545. </header>
  546. <sheet style="width: 10%%,height:10%%">
  547. <newline />
  548. <separator string="Personal Information"/>
  549. <field name="photo" widget='image' class="oe_avatar oe_left"
  550. options='{"size":[110, 110]}'/>
  551. <div class="oe_title">
  552. <field name="pid" />
  553. <!-- <field name="reg_code"/ -->
  554. <field name="name" placeholder="First Name" nolabel="1"/>
  555. <field name="middle" placeholder="Middle Name" nolabel="1"/>
  556. <field name="last" placeholder="Last Name" nolabel="1"/>
  557. </div>
  558. <group col="4">
  559. <group col="2">
  560. <separator string="School Information" colspan="4"/>
  561. <field name="school_id" placeholder="School Name"
  562. required="1"/>
  563. <field name="year" widget="selection" placeholder="Academic Year"/>
  564. </group>
  565. <group col="2">
  566. <separator string="Class Information" colspan="4" />
  567. <field name="standard_id" placeholder="Standard" widget="selection"/>
  568. <field name="division_id" placeholder="Division" widget="selection"/>
  569. <field name="medium_id" placeholder="Medium" widget="selection"/>
  570. </group>
  571. </group>
  572. <group col="4" colspan="4">
  573. <group>
  574. <label for="street" string="Address"/>
  575. <div>
  576. <field name="street" placeholder="Street..."/>
  577. <field name="street2" placeholder="Street2..."/>
  578. <field name="country_id" placeholder="Country" class="oe_no_button"
  579. options='{"no_open": true}'/>
  580. <field name="state_id" domain="[('country_id','=',country_id)]"
  581. placeholder="State" options='{"no_open": true}'/>
  582. <field name="city" placeholder="City"/>
  583. <field name="zip" placeholder="ZIP"/>
  584. </div>
  585. </group>
  586. <group>
  587. <field name="phone" placeholder="Phone Number"/>
  588. <field name="mobile" placeholder="Mobile Number"/>
  589. <field name="email" placeholder="Email Address" String="Email"/>
  590. <field name="website" widget="url" placeholder="e.g. www.serpentcs.com"/>
  591. </group>
  592. </group>
  593. <notebook colspan="4">
  594. <page string="General">
  595. <form string="General" >
  596. <sheet>
  597. <separator string="General Information" />
  598. <group col="4" colspan="4">
  599. <div>
  600. <table width="100%%">
  601. <tr>
  602. <td width="15%%" style="text-align:right;vertical-align:middle;">
  603. <b>
  604. <label for="gender"/>
  605. :
  606. </b>
  607. </td>
  608. <td width="35%%">
  609. <field name="gender" placeholder="Gender"/>
  610. </td>
  611. <td width="15%%" style="text-align:right;vertical-align:middle;">
  612. <b>
  613. <label for="mother_tongue"/>
  614. :
  615. </b>
  616. </td>
  617. <td width="35%%" style="padding-left:10px;">
  618. <field name="mother_tongue" placeholder="Mother Tongue"/>
  619. </td>
  620. </tr>
  621. <tr>
  622. <td width="15%%" style="text-align:right;vertical-align:middle;">
  623. <b>
  624. <label for="date_of_birth"/>
  625. :
  626. </b>
  627. </td>
  628. <td width="35%%" style="padding-left:10px;">
  629. <field name="date_of_birth" placeholder="Birthdate" />
  630. </td>
  631. <td width="15%%" style="text-align:right;vertical-align:middle;">
  632. <b>
  633. <label for="admission_date"/>
  634. :
  635. </b>
  636. </td>
  637. <td width="35%%" style="padding-left:10px;">
  638. <field name="admission_date" placeholder="Admission Date"/>
  639. </td>
  640. </tr>
  641. <tr>
  642. <td width="15%%" style="text-align:right;vertical-align:middle;">
  643. <b>
  644. <label for="age"/>
  645. :
  646. </b>
  647. </td>
  648. <td width="35%%" style="padding-left:10px;">
  649. <field name="age"/>
  650. </td>
  651. <td width="15%%" style="text-align:right;vertical-align:middle;">
  652. <b>
  653. <label for="maritual_status"/>
  654. :
  655. </b>
  656. </td>
  657. <td width="35%%" style="padding-left:10px;">
  658. <field name="maritual_status" placeholder="Select Maritual Status"/>
  659. </td>
  660. </tr>
  661. </table>
  662. </div>
  663. <newline/>
  664. <separator string="Emergency Contact Details"
  665. colspan="4"/>
  666. <newline />
  667. <group colspan="4" col="4">
  668. <field name="contact_phone1"/>
  669. <field name="contact_mobile1"/>
  670. </group>
  671. </group>
  672. </sheet>
  673. </form>
  674. </page>
  675. <page string="References">
  676. <field name="reference_ids" nolabel="1" colspan="4">
  677. <tree string="Reference">
  678. <field name="name"/>
  679. <field name="middle"/>
  680. <field name="last"/>
  681. <field name="designation"/>
  682. <field name="phone"/>
  683. <field name="gender"/>
  684. </tree>
  685. <form string="Reference">
  686. <group col="4" colspan="4">
  687. <field name="name" placeholder="First Name"/>
  688. <field name="middle" placeholder="Middle Name"/>
  689. <field name="last" placeholder="Last Name"/>
  690. <field name="designation" placeholder="Designation"/>
  691. <field name="phone" placeholder="Phone Number"/>
  692. <field name="gender"/>
  693. </group>
  694. </form>
  695. </field>
  696. </page>
  697. <page string="Previous School">
  698. <field name="previous_school_ids" nolabel="1" colspan="4">
  699. <tree string="Previous School Details">
  700. <field name="name"/>
  701. <field name="registration_no"/>
  702. <field name="admission_date"/>
  703. <field name="exit_date"/>
  704. <field name="course_id"/>
  705. </tree>
  706. <form string="Previous School Details" >
  707. <separator string="Previous School Details"/>
  708. <group col="4" colspan="4">
  709. <field name="name" placeholder="School Name"/>
  710. <field name="registration_no" placeholder="Registration No"/>
  711. <field name="admission_date"/>
  712. <field name="exit_date"/>
  713. <field name="course_id"/>
  714. <newline/>
  715. <field name="add_sub" colspan="4"/>
  716. </group>
  717. </form>
  718. </field>
  719. </page>
  720. <page string="Family Details">
  721. <field name="family_con_ids" nolabel="1" colspan="4">
  722. <tree string="Family Contact Details">
  723. <field name='stu_name' attrs="{'invisible':[('rel_name','!=','exist')]}"
  724. string="Existing Student" />
  725. <field name='name' attrs="{'invisible':[('rel_name','!=','new')]}"
  726. string="New Name"/>
  727. <field name="relation"/>
  728. <field name="phone"/>
  729. </tree>
  730. <form string="Family Contact Details">
  731. <group col="4">
  732. <group col="2">
  733. <separator colspan="2"/>
  734. <field name='rel_name' placeholder="Name"/>
  735. <field name='stu_name' placeholder="Create or Select Name"
  736. attrs="{'invisible':[('rel_name','!=','exist')]}"/>
  737. <field name='name' placeholder="Name"
  738. attrs="{'invisible':[('rel_name','!=','new')]}"/>
  739. <field name='relation' placeholder="Enter or select Relation"/>
  740. </group>
  741. <group col="2">
  742. <separator colspan="2" />
  743. <field name='phone' placeholder="Phone Number"/>
  744. <field name='email' placeholder="Email Address"/>
  745. </group>
  746. </group>
  747. </form>
  748. </field>
  749. </page>
  750. <page string="Remarks">
  751. <form string="Remarks">
  752. <field name="remark" nolabel="1" colspan="4"/>
  753. </form>
  754. </page>
  755. </notebook>
  756. </sheet>
  757. </form>
  758. </field>
  759. </record>
  760. <!-- Student GRN Tree View -->
  761. <record model="ir.ui.view" id="view_student_GRN_tree">
  762. <field name="name">student.grn.tree</field>
  763. <field name="model">student.grn</field>
  764. <field name="arch" type="xml">
  765. <tree string="Student GRN format">
  766. <field name="grn"/>
  767. <field name="name"/>
  768. </tree>
  769. </field>
  770. </record>
  771. <!-- Student GRN Form View -->
  772. <record model="ir.ui.view" id="view_student_GRN_form">
  773. <field name="name">student.grn.form</field>
  774. <field name="model">student.grn</field>
  775. <field name="arch" type="xml">
  776. <form string="Student GRN format" >
  777. <sheet>
  778. <group col="4" colspan="4">
  779. <field name="grn" />
  780. <newline/>
  781. <field name="name"/>
  782. <newline/>
  783. <field name="prefix" placeholder="Prefix" />
  784. <field name="static_prefix" attrs="{'invisible':[('prefix','!=','static')],'required':[('prefix','=','static')]}"/>
  785. <newline/>
  786. <field name="schoolprefix_id" attrs="{'invisible':[('prefix','!=','school')],'required':[('prefix','=','school')]}"/>
  787. <newline/>
  788. <field name="postfix" placeholder="Suffix" />
  789. <field name="schoolpostfix_id" attrs="{'invisible':[('postfix','!=','school')],'required':[('postfix','=','school')]}"/>
  790. <newline/>
  791. <field name="static_postfix" attrs="{'invisible':[('postfix','!=','static')],'required':[('postfix','=','static')]}"/>
  792. <newline/>
  793. <field name="grn_no" />
  794. </group>
  795. </sheet>
  796. </form>
  797. </field>
  798. </record>
  799. <record model="ir.actions.act_window" id="action_student_grn_form">
  800. <field name="name">GR No.</field>
  801. <field name="res_model">student.grn</field>
  802. <field name="view_type">form</field>
  803. <field name="view_mode">tree,form</field>
  804. </record>
  805. <!-- Admission Register Information Tree View -->
  806. <record model="ir.ui.view" id="view_student_student_tree_2">
  807. <field name="name">student.student.tree.2</field>
  808. <field name="model">student.student</field>
  809. <field name="arch" type="xml">
  810. <tree string="Admission Register">
  811. <field name="pid"/>
  812. <field name="name"/>
  813. <field name="student_name" invisible="1"/>
  814. <field name="year" widget="selection"/>
  815. <field name="standard_id" widget="selection"/>
  816. <field name="school_id"/>
  817. <field name="admission_date"/>
  818. <field name="gender"/>
  819. <field name="state"/>
  820. </tree>
  821. </field>
  822. </record>
  823. <!-- Admission Register Information Search View -->
  824. <record model="ir.ui.view" id="view_student_student_search_2">
  825. <field name="name">student.student.search.2</field>
  826. <field name="model">student.student</field>
  827. <field name="arch" type="xml">
  828. <search string="Admission Register">
  829. <filter icon="terp-project" string="Draft" domain="[('state','=', 'draft')]" help="Admission In Draft State"/>
  830. <filter icon="terp-project" string="Alumni" domain="[('state','=', 'alumni')]" help="Admission In Confirm State"/>
  831. <filter icon="terp-project" string="Terminated" domain="[('state','=', 'terminate')]" help="Admission In Pending State"/>
  832. <filter icon="terp-project" string="Done" domain="[('state','=', 'done')]" help="Admission In Done State"/>
  833. <separator orientation="vertical"/>
  834. <field name="student_name" invisible="1"/>
  835. <field name="year"/>
  836. <field name="standard_id"/>
  837. <field name="gender"/>
  838. <field name="school_id"/>
  839. <newline/>
  840. <group expand="0" string="Group By..." colspan="12" col="10">
  841. <filter icon="terp-project" string="Class" domain="[]" help="By Class" context="{'group_by':'standard_id'}"/>
  842. <filter icon="terp-project" string="Gender" domain="[]" help="By Gender" context="{'group_by':'gender'}"/>
  843. <filter icon="terp-project" string="Name" domain="[]" help="By Class" context="{'group_by':'student_name'}"/>
  844. <filter icon="terp-project" string="School" help="By School"
  845. context="{'group_by':'school_id'}" />
  846. </group>
  847. </search>
  848. </field>
  849. </record>
  850. <!-- School Information Form View -->
  851. <record model="ir.ui.view" id="view_school_school_form">
  852. <field name="name">school.school.form</field>
  853. <field name="model">school.school</field>
  854. <field name="arch" type="xml">
  855. <form string="School Information" >
  856. <sheet>
  857. <separator string="School Configuration"/>
  858. <group col="6" colspan="4">
  859. <field name="name" string="School Name" placeholder="School Name"/>
  860. <field name="code" placeholder="Code"/>
  861. </group>
  862. <group>
  863. <label for="street" string="Address"/>
  864. <div>
  865. <field name="street" placeholder="Street..."/>
  866. <field name="street2" placeholder="Street2..."/>
  867. <field name="country_id" placeholder="Country" class="oe_no_button"
  868. options='{"no_open": true}'/>
  869. <field name="state_id" domain="[('country_id','=',country_id)]"
  870. required="1" placeholder="State" options='{"no_open": true}'/>
  871. <field name="city" placeholder="City" required="1"/>
  872. <field name="zip" placeholder="ZIP"/>
  873. </div>
  874. </group>
  875. <group col="4" colspan="2">
  876. <field name="currency_id" placeholder="Select Or Create Currency"/>
  877. <field name="lang"/>
  878. </group>
  879. <notebook colspan="4">
  880. <page string="Standards">
  881. <field name="standards" nolabel="1" colspan="4"/>
  882. </page>
  883. </notebook>
  884. </sheet>
  885. </form>
  886. </field>
  887. </record>
  888. <!-- School Information Tree View -->
  889. <record model="ir.ui.view" id="view_school_school_tree">
  890. <field name="name">school.school.tree</field>
  891. <field name="model">school.school</field>
  892. <field name="arch" type="xml">
  893. <tree string="School Information">
  894. <field name="name" string="School Name"/>
  895. <field name="code"/>
  896. </tree>
  897. </field>
  898. </record>
  899. <!-- School Attendace Type view -->
  900. <record model="ir.ui.view" id="view_school_attendance_form">
  901. <field name="name">school.attendance.form</field>
  902. <field name="model">attendance.type</field>
  903. <field name="arch" type="xml">
  904. <form string="Standard Information" >
  905. <separator string="Attendance Type"/>
  906. <group col="4" colspan="2">
  907. <field name="name"/>
  908. <field name="code"/>
  909. </group>
  910. </form>
  911. </field>
  912. </record>
  913. <!-- School Standard Information Form View -->
  914. <record model="ir.ui.view" id="view_school_standard_form">
  915. <field name="name">school.standard.form</field>
  916. <field name="model">school.standard</field>
  917. <field name="arch" type="xml">
  918. <form string="Standard Information" >
  919. <sheet>
  920. <separator string="Standard Information" />
  921. <group col="4" colspan="4">
  922. <field name="standard_id" widget="selection"/>
  923. <field name="division_id" widget="selection"/>
  924. <field name="medium_id" widget="selection"/>
  925. <field name="school_id" widget="selection"/>
  926. <field name="user_id" placeholder="Create Or Select Faculty Name"/>
  927. <field name="passing" placeholder="No Of ATKT Allowed"/>
  928. </group>
  929. <notebook colspan="4">
  930. <page string="Students">
  931. <field name="student_ids" nolabel="1" colspan="4">
  932. <tree string="Student Information">
  933. <field name="roll_no"/>
  934. <field name="name"/>
  935. <field name="year"/>
  936. <field name="state" invisible="1"/>
  937. </tree>
  938. <form string="Student Information">
  939. <group col="4" colspan="4">
  940. <field name="roll_no"/>
  941. <field name="name" placeholder="Name"/>
  942. <field name="year" placeholder="Year"/>
  943. <field name="state" invisible="1"/>
  944. </group>
  945. </form>
  946. </field>
  947. </page>
  948. <page string="Subjects">
  949. <button name="import_subject" string="Import Previous Standard subject"
  950. type="object" class="oe_highlight"/>
  951. <field name="subject_ids" nolabel="1" colspan="4"
  952. string="Add Subjects"/>
  953. </page>
  954. </notebook>
  955. </sheet>
  956. </form>
  957. </field>
  958. </record>
  959. <!-- School Standard Information Kanban View -->
  960. <record model="ir.ui.view" id="school_standard_kanban_view">
  961. <field name="name">school.standard.kanban</field>
  962. <field name="model">school.standard</field>
  963. <field name="arch" type="xml">
  964. <kanban default_group_by="standard_id">
  965. <field name="school_id" />
  966. <field name="standard_id" />
  967. <field name="division_id" />
  968. <field name="medium_id" />
  969. <field name="user_id" />
  970. <field name="color" />
  971. <templates>
  972. <t t-name="kanban-box">
  973. <t t-set="color"
  974. t-value="kanban_color(record.color.raw_value || record.school_id.value)" />
  975. <div
  976. t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
  977. <div class="oe_kanban_box oe_kanban_color_border">
  978. <div
  979. class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  980. <table class="oe_kanban_table">
  981. <tr>
  982. <td class="oe_kanban_title1" align="left" valign="middle">
  983. <div>
  984. School :-
  985. <field name="school_id"/>
  986. </div>
  987. </td>
  988. </tr>
  989. </table>
  990. </div>
  991. <div
  992. class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  993. <table class="oe_kanban_table">
  994. <tr>
  995. <td valign="top" align="left">
  996. <div class="oe_kanban_title2">
  997. <div>
  998. Class Teacher :-
  999. <field name="user_id"/>
  1000. </div>
  1001. </div>
  1002. <div class="oe_kanban_title3">
  1003. <div>
  1004. Standard :-
  1005. <field name="standard_id"/>
  1006. </div>
  1007. <div>
  1008. Division :-
  1009. <field name="division_id"/>
  1010. </div>
  1011. <div>
  1012. Medium :-
  1013. <field name="medium_id"/>
  1014. </div>
  1015. </div>
  1016. </td>
  1017. </tr>
  1018. </table>
  1019. </div>
  1020. <div
  1021. class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  1022. <div class="oe_kanban_left">
  1023. <a string="Edit" icon="gtk-edit" type="edit"/>
  1024. <a string="Delete" icon="gtk-delete" type="delete"/>
  1025. <a string="Change Color" icon="color-picker" type="color"
  1026. name="color"/>
  1027. </div>
  1028. <br class="oe_kanban_clear"/>
  1029. </div>
  1030. </div>
  1031. </div>
  1032. </t>
  1033. </templates>
  1034. </kanban>
  1035. </field>
  1036. </record>
  1037. <!-- School Standard Information Tree View -->
  1038. <record model="ir.ui.view" id="view_school_standard_tree">
  1039. <field name="name">school.standard.tree</field>
  1040. <field name="model">school.standard</field>
  1041. <field name="arch" type="xml">
  1042. <tree string="Standard Information">
  1043. <field name="standard_id"/>
  1044. <field name="user_id"/>
  1045. <field name="division_id"/>
  1046. <field name="medium_id"/>
  1047. </tree>
  1048. </field>
  1049. </record>
  1050. <!-- School Standard Information Search View -->
  1051. <record model="ir.ui.view" id="view_student_student_search">
  1052. <field name="name">school.standard.search</field>
  1053. <field name="model">school.standard</field>
  1054. <field name="arch" type="xml">
  1055. <search string="Standard Information">
  1056. <group col="10" colspan="4">
  1057. <field name="standard_id"/>
  1058. <field name="user_id"/>
  1059. <field name="division_id"/>
  1060. <field name="medium_id"/>
  1061. </group>
  1062. <newline/>
  1063. <group expand="0" string="Group By..." colspan="12" col="10">
  1064. <filter icon="terp-project" string="School" help="By School"
  1065. context="{'group_by':'school_id'}"/>
  1066. <filter icon="terp-project" string="Class" help="By Class"
  1067. context="{'group_by':'standard_id'}"/>
  1068. <filter icon="terp-project" string="Division" help="By Division"
  1069. context="{'group_by':'division_id'}"/>
  1070. <filter icon="terp-project" string="Medium" help="By Medium"
  1071. context="{'group_by':'medium_id'}"/>
  1072. </group>
  1073. </search>
  1074. </field>
  1075. </record>
  1076. <!-- Student Cast Tree View -->
  1077. <record model="ir.ui.view" id="view_student_cast_tree">
  1078. <field name="name">student.cast.tree</field>
  1079. <field name="model">student.cast</field>
  1080. <field name="arch" type="xml">
  1081. <tree string="Cast Information">
  1082. <field name="name"/>
  1083. </tree>
  1084. </field>
  1085. </record>
  1086. <!-- Student Form Tree View -->
  1087. <record model="ir.ui.view" id="view_student_cast_form">
  1088. <field name="name">student.cast.form</field>
  1089. <field name="model">student.cast</field>
  1090. <field name="arch" type="xml">
  1091. <form string="Cast Information" >
  1092. <sheet>
  1093. <group>
  1094. <field name="name" placeholder="Religion"/>
  1095. </group>
  1096. </sheet>
  1097. </form>
  1098. </field>
  1099. </record>
  1100. <record model="ir.actions.act_window" id="action_student_cast_form_7">
  1101. <field name="name">Cast</field>
  1102. <field name="res_model">student.cast</field>
  1103. <field name="view_type">form</field>
  1104. <field name="view_mode">tree,form</field>
  1105. </record>
  1106. <!-- Grade System From View -->
  1107. <record model="ir.ui.view" id="view_grade_form">
  1108. <field name="name">grade.master.form</field>
  1109. <field name="model">grade.master</field>
  1110. <field name="arch" type="xml">
  1111. <form string="Grade" >
  1112. <sheet>
  1113. <group col="4" string="Grade" colspan="4">
  1114. <field name="name" string="Grade Names" />
  1115. <newline />
  1116. <field name="grade_ids" nolabel="1" colspan="4">
  1117. <tree>
  1118. <field name="sequence"/>
  1119. <field name="name"/>
  1120. <field name="grade"/>
  1121. </tree>
  1122. <form>
  1123. <group>
  1124. <field name="sequence" colspan="2"/>
  1125. <newline />
  1126. <field name='grade'/>
  1127. <newline />
  1128. <field name="from_mark"/>
  1129. <field name="to_mark"/>
  1130. <field name="fail"/>
  1131. </group>
  1132. </form>
  1133. </field>
  1134. </group>
  1135. </sheet>
  1136. </form>
  1137. </field>
  1138. </record>
  1139. <!-- Grade System From View -->
  1140. <record model="ir.ui.view" id="view_grade_tree">
  1141. <field name="name">grade.master.tree</field>
  1142. <field name="model">grade.master</field>
  1143. <field name="arch" type="xml">
  1144. <tree string="Grade">
  1145. <field name="name" />
  1146. </tree>
  1147. </field>
  1148. </record>
  1149. <!-- Academic Years Information From View -->
  1150. <record model="ir.ui.view" id="view_academic_year_form">
  1151. <field name="name">acdemic.year.form</field>
  1152. <field name="model">academic.year</field>
  1153. <field name="arch" type="xml">
  1154. <form string="Academic Years" >
  1155. <sheet>
  1156. <group col="4" colspan="4">
  1157. <field name="sequence"/>
  1158. <field name="name" placeholder="Name"/>
  1159. <field name="code" placeholder="Code"/>
  1160. <field name="date_start" placeholder="Start Date"/>
  1161. <field name="date_stop" placeholder="Stop Date"/>
  1162. <field name="grade_id" placeholder="Grade System"/>
  1163. </group>
  1164. <notebook colspan="4">
  1165. <page string="Months">
  1166. <field name="month_ids" nolabel="1" colspan="4">
  1167. <tree string="Months">
  1168. <field name="name"/>
  1169. <field name="code"/>
  1170. <field name="date_start"/>
  1171. <field name="date_stop"/>
  1172. </tree>
  1173. <form string="Months">
  1174. <group col="4" colspan="4">
  1175. <field name="name" placeholder="Name"/>
  1176. <field name="code" placeholder="Code"/>
  1177. <field name="date_start" placeholder="Start Date"/>
  1178. <field name="date_stop" placeholder="Stop Date"/>
  1179. <field name="description" colspan="4"/>
  1180. </group>
  1181. </form>
  1182. </field>
  1183. </page>
  1184. </notebook>
  1185. <newline/>
  1186. <separator string="Description" colspan="4"/>
  1187. <field name="description" colspan="4"/>
  1188. </sheet>
  1189. </form>
  1190. </field>
  1191. </record>
  1192. <!-- Academic Years Information Tree View -->
  1193. <record model="ir.ui.view" id="view_academic_year_tree">
  1194. <field name="name">academic.year.tree</field>
  1195. <field name="model">academic.year</field>
  1196. <field name="arch" type="xml">
  1197. <tree string="Academic Years">
  1198. <field name="sequence"/>
  1199. <field name="name"/>
  1200. <field name="code"/>
  1201. <field name="date_start"/>
  1202. <field name="date_stop"/>
  1203. </tree>
  1204. </field>
  1205. </record>
  1206. <!-- Academic Months Information From View -->
  1207. <record model="ir.ui.view" id="view_academic_month_form">
  1208. <field name="name">academic.month.form</field>
  1209. <field name="model">academic.month</field>
  1210. <field name="arch" type="xml">
  1211. <form string="Months" >
  1212. <sheet>
  1213. <group col="4" colspan="4">
  1214. <field name="name" placeholder="Name"/>
  1215. <field name="code" placeholder="Code"/>
  1216. <field name="date_start" placeholder="Start Date"/>
  1217. <field name="date_stop" placeholder="Stop Date"/>
  1218. <field name="year_id" colspan="4"/>
  1219. <field name="description" colspan="4"/>
  1220. </group>
  1221. </sheet>
  1222. </form>
  1223. </field>
  1224. </record>
  1225. <!-- Academic Months Information Tree View -->
  1226. <record model="ir.ui.view" id="view_academic_month_tree">
  1227. <field name="name">academic.month.tree</field>
  1228. <field name="model">academic.month</field>
  1229. <field name="arch" type="xml">
  1230. <tree string="Months">
  1231. <field name="name"/>
  1232. <field name="code"/>
  1233. <field name="date_start"/>
  1234. <field name="date_stop"/>
  1235. <field name="year_id"/>
  1236. </tree>
  1237. </field>
  1238. </record>
  1239. <!-- Standard Medium Information From View -->
  1240. <record model="ir.ui.view" id="view_standard_medium_form">
  1241. <field name="name">standard.medium.form</field>
  1242. <field name="model">standard.medium</field>
  1243. <field name="arch" type="xml">
  1244. <form string="Mediums" >
  1245. <sheet>
  1246. <group col="4" colspan="4">
  1247. <field name="sequence"/>
  1248. <field name="name" placeholder="Name"/>
  1249. <field name="code" placeholder="Code"/>
  1250. <newline />
  1251. <field name="description" colspan="4"/>
  1252. </group>
  1253. </sheet>
  1254. </form>
  1255. </field>
  1256. </record>
  1257. <!-- Standard Medium Information Tree View -->
  1258. <record model="ir.ui.view" id="view_standard_medium_tree">
  1259. <field name="name">standard.medium.tree</field>
  1260. <field name="model">standard.medium</field>
  1261. <field name="arch" type="xml">
  1262. <tree string="Mediums">
  1263. <field name="sequence"/>
  1264. <field name="name"/>
  1265. <field name="code"/>
  1266. </tree>
  1267. </field>
  1268. </record>
  1269. <!-- Student Document Type From View -->
  1270. <record model="ir.ui.view" id="view_document_type_form">
  1271. <field name="name">document.type.form</field>
  1272. <field name="model">document.type</field>
  1273. <field name="arch" type="xml">
  1274. <form string="Document Type" >
  1275. <sheet>
  1276. <group col="4" colspan="4">
  1277. <field name="seq_no"/>
  1278. <field name="doc_type" placeholder="Document Type"/>
  1279. </group>
  1280. </sheet>
  1281. </form>
  1282. </field>
  1283. </record>
  1284. <!-- Student Document Type Tree View -->
  1285. <record model="ir.ui.view" id="view_standard_document_tree">
  1286. <field name="name">document.type.tree</field>
  1287. <field name="model">document.type</field>
  1288. <field name="arch" type="xml">
  1289. <tree string="Document Type">
  1290. <field name="seq_no"/>
  1291. <field name="doc_type"/>
  1292. </tree>
  1293. </field>
  1294. </record>
  1295. <!-- Student Document Type Action -->
  1296. <record model="ir.actions.act_window" id="action_document_type_form">
  1297. <field name="name">Document Types</field>
  1298. <field name="res_model">document.type</field>
  1299. <field name="view_type">form</field>
  1300. <field name="view_mode">tree,form</field>
  1301. </record>
  1302. <!-- Standard Division Information From View -->
  1303. <record model="ir.ui.view" id="view_standard_division_form">
  1304. <field name="name">standard.division.form</field>
  1305. <field name="model">standard.division</field>
  1306. <field name="arch" type="xml">
  1307. <form string="Divisions" >
  1308. <sheet>
  1309. <group col="4" colspan="4">
  1310. <field name="sequence"/>
  1311. <field name="name" placeholder="Name"/>
  1312. <field name="code" placeholder="Code"/>
  1313. <newline />
  1314. <field name="description" colspan="4"/>
  1315. </group>
  1316. </sheet>
  1317. </form>
  1318. </field>
  1319. </record>
  1320. <!-- Standard Division Information Tree View -->
  1321. <record model="ir.ui.view" id="view_standard_division_tree">
  1322. <field name="name">standard.division.tree</field>
  1323. <field name="model">standard.division</field>
  1324. <field name="arch" type="xml">
  1325. <tree string="Divisions">
  1326. <field name="sequence"/>
  1327. <field name="name"/>
  1328. <field name="code"/>
  1329. </tree>
  1330. </field>
  1331. </record>
  1332. <!-- Elective Subject Group Form View -->
  1333. <record model="ir.ui.view" id="view_elective_group_form">
  1334. <field name="name">elective.subject.form</field>
  1335. <field name="model">subject.elective</field>
  1336. <field name="arch" type="xml">
  1337. <form string="Elective Group" >
  1338. <sheet>
  1339. <group col="4" colspan="4">
  1340. <field name="name" colspan="4" required="1"/>
  1341. <separator String="Subjects" col="4" colspan="4"/>
  1342. <field name="subject_ids" nolabel="1" colspan="4">
  1343. <form>
  1344. <group col="4" colspan="4">
  1345. <field name="name" placeholder="Name"/>
  1346. <field name="code" placeholder="Code"/>
  1347. <field name="maximum_marks"/>
  1348. <field name="minimum_marks"/>
  1349. <field name="weightage" />
  1350. <field name="is_practical"/>
  1351. <field name="no_exam"/>
  1352. <field name="elective_id" string="Elective Group"
  1353. invisible="1"/>
  1354. </group>
  1355. <notebook colspan="4">
  1356. <page string="Standards">
  1357. <field name="standard_ids" nolabel="1" colspan="4">
  1358. <tree string="Standards">
  1359. <field name="standard_id"/>
  1360. <field name="division_id"/>
  1361. <field name="medium_id"/>
  1362. </tree>
  1363. <form string="Standards">
  1364. <group col="4" colspan="4">
  1365. <field name="standard_id" placeholder="Standard"/>
  1366. <field name="division_id" placeholder="Division"/>
  1367. <field name="medium_id" placeholder="Medium"/>
  1368. </group>
  1369. </form>
  1370. </field>
  1371. </page>
  1372. <page string="Teachers">
  1373. <field name="teacher_ids" nolabel="1" colspan="4"/>
  1374. </page>
  1375. <page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
  1376. <field name="student_ids" nolabel="1"/>
  1377. </page>
  1378. <page string="Syllabus">
  1379. <group>
  1380. <field name="syllabus_ids" nolabel="1" colspan="4">
  1381. <tree editable="top" string="Syllabs">
  1382. <field name="duration"/>
  1383. <field name="topic"/>
  1384. </tree>
  1385. <form string="Syllabs">
  1386. <field name="duration"/>
  1387. <newline/>
  1388. <field name="topic" colspan="4"/>
  1389. </form>
  1390. </field>
  1391. </group>
  1392. </page>
  1393. </notebook>
  1394. </form>
  1395. </field>
  1396. </group>
  1397. </sheet>
  1398. </form>
  1399. </field>
  1400. </record>
  1401. <!-- Subject Information Form View -->
  1402. <record model="ir.ui.view" id="view_subject_subject_form">
  1403. <field name="name">subject.subject.form</field>
  1404. <field name="model">subject.subject</field>
  1405. <field name="arch" type="xml">
  1406. <form string="Subjects" >
  1407. <sheet>
  1408. <group col="4" colspan="4">
  1409. <field name="name" placeholder="Name"/>
  1410. <field name="code" placeholder="Code"/>
  1411. <field name="maximum_marks"/>
  1412. <field name="minimum_marks"/>
  1413. <field name="weightage"/>
  1414. <field name="is_practical"/>
  1415. <field name="no_exam"/>
  1416. <field name="elective_id" string="Elective Group" readonly="1"/>
  1417. </group>
  1418. <notebook colspan="4">
  1419. <page string="Standards">
  1420. <field name="standard_ids" nolabel="1" colspan="4">
  1421. <tree string="Standards">
  1422. <field name="standard_id"/>
  1423. <field name="division_id"/>
  1424. <field name="medium_id"/>
  1425. </tree>
  1426. <form string="Standards">
  1427. <group col="4" colspan="4">
  1428. <field name="standard_id" placeholder="Standard"/>
  1429. <field name="division_id" placeholder="Division"/>
  1430. <field name="medium_id" placeholder="Medium"/>
  1431. </group>
  1432. </form>
  1433. </field>
  1434. </page>
  1435. <page string="Teachers">
  1436. <field name="teacher_ids" nolabel="1" colspan="4"/>
  1437. </page>
  1438. <page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
  1439. <field name="student_ids" nolabel="1"/>
  1440. </page>
  1441. <page string="Syllabus">
  1442. <group>
  1443. <field name="syllabus_ids" nolabel="1" colspan="4">
  1444. <tree editable="top" string="Syllabs">
  1445. <field name="duration" />
  1446. <field name="topic"/>
  1447. </tree>
  1448. <form string="Syllabs">
  1449. <field name="duration"/>
  1450. <newline />
  1451. <field name="topic" colspan="4"/>
  1452. </form>
  1453. </field>
  1454. </group>
  1455. </page>
  1456. </notebook>
  1457. </sheet>
  1458. </form>
  1459. </field>
  1460. </record>
  1461. <!-- Subject Information Tree View -->
  1462. <record model="ir.ui.view" id="view_subject_subject_tree">
  1463. <field name="name">subject.subject.tree</field>
  1464. <field name="model">subject.subject</field>
  1465. <field name="arch" type="xml">
  1466. <tree string="Subjects">
  1467. <field name="name"/>
  1468. <field name="code"/>
  1469. <field name="maximum_marks"/>
  1470. <field name="minimum_marks"/>
  1471. <field name="weightage"/>
  1472. <field name="no_exam"/>
  1473. </tree>
  1474. </field>
  1475. </record>
  1476. <!-- Standard Information Form View -->
  1477. <record model="ir.ui.view" id="view_standard_standard_form">
  1478. <field name="name">standard.standard.form</field>
  1479. <field name="model">standard.standard</field>
  1480. <field name="arch" type="xml">
  1481. <form string="Standard Information" >
  1482. <sheet>
  1483. <group col="4" colspan="4">
  1484. <field name="sequence"/>
  1485. <newline />
  1486. <field name="name" placeholder="Name"/>
  1487. <field name="code" placeholder="Code"/>
  1488. <newline />
  1489. <field name="description" colspan="4"/>
  1490. </group>
  1491. </sheet>
  1492. </form>
  1493. </field>
  1494. </record>
  1495. <!-- Standard Information Tree View -->
  1496. <record model="ir.ui.view" id="view_standard_standard_tree">
  1497. <field name="name">standard.standard.tree</field>
  1498. <field name="model">standard.standard</field>
  1499. <field name="arch" type="xml">
  1500. <tree string="Standard Information">
  1501. <field name="sequence" />
  1502. <field name="name"/>
  1503. <field name="code"/>
  1504. </tree>
  1505. </field>
  1506. </record>
  1507. <!-- Teacher Information Form View -->
  1508. <record model="ir.ui.view" id="view_teacher_teacher_form">
  1509. <field name="name">hr.employee.form</field>
  1510. <field name="model">hr.employee</field>
  1511. <field name="inherit_id" ref="hr.view_employee_form" />
  1512. <field name="arch" type="xml">
  1513. <data>
  1514. <xpath expr="//page[@string = 'Public Information']"
  1515. position="after">
  1516. <page string="Subjects">
  1517. <field name="subject_ids" nolabel="1"/>
  1518. </page>
  1519. </xpath>
  1520. </data>
  1521. </field>
  1522. </record>
  1523. <!-- Student Information Form Action -->
  1524. <record model="ir.actions.act_window" id="action_student_student_form_12">
  1525. <field name="name">Students</field>
  1526. <field name="domain">[('state', '!=', 'draft')]</field>
  1527. <field name="res_model">student.student</field>
  1528. <field name="view_type">form</field>
  1529. <field name="view_id" ref="view_student_student_form_1"/>
  1530. <field name="search_view_id" ref="view_student_student_search_1"/>
  1531. <field name="view_mode">tree,form,kanban</field>
  1532. </record>
  1533. <!-- Student Information Tree Action View -->
  1534. <record id="action_view_student_student_tree_1" model="ir.actions.act_window.view">
  1535. <field name="view_mode">tree</field>
  1536. <field eval="20" name="sequence"/>
  1537. <field name="view_id" ref="view_student_student_tree_1"/>
  1538. <field name="act_window_id" ref="action_student_student_form_12"/>
  1539. </record>
  1540. <record id="action_view_student_student_form_1" model="ir.actions.act_window.view">
  1541. <field name="view_mode">form</field>
  1542. <field eval="30" name="sequence"/>
  1543. <field name="view_id" ref="view_student_student_form_1"/>
  1544. <field name="act_window_id" ref="action_student_student_form_12"/>
  1545. </record>
  1546. <record id="action_view_student_student_kanban_1" model="ir.actions.act_window.view">
  1547. <field name="view_mode">kanban</field>
  1548. <field eval="31" name="sequence"/>
  1549. <field name="view_id" ref="student_student_kanban_view"/>
  1550. <field name="act_window_id" ref="action_student_student_form_12"/>
  1551. </record>
  1552. <!-- Action view for Student Reminders -->
  1553. <record id="action_view_student_reminder_kanban" model="ir.actions.act_window.view">
  1554. <field name="view_mode">kanban</field>
  1555. <field eval="0" name="sequence"/>
  1556. <field name="view_id" ref="student_reminder_kanban_view"/>
  1557. <field name="act_window_id" ref="action_student_reminder"/>
  1558. </record>
  1559. <!-- Admission Register Information Form Action -->
  1560. <record model="ir.actions.act_window" id="action_student_student_form_2">
  1561. <field name="name">Admission Register</field>
  1562. <field name="res_model">student.student</field>
  1563. <field name="view_type">form</field>
  1564. <field name="view_id" ref="view_student_student_form_2" />
  1565. <field name="search_view_id" ref="view_student_student_search_2"/>
  1566. <field name="view_mode">tree,form,kanban</field>
  1567. </record>
  1568. <!-- Admission Register Information Tree Action -->
  1569. <record id="action_student_student_tree_2" model="ir.actions.act_window.view">
  1570. <field name="view_mode">tree</field>
  1571. <field eval="20" name="sequence"/>
  1572. <field name="view_id" ref="view_student_student_tree_2" />
  1573. <field name="act_window_id" ref="action_student_student_form_2"/>
  1574. </record>
  1575. <record id="action_view_student_student_kanban_2" model="ir.actions.act_window.view">
  1576. <field name="view_mode">kanban</field>
  1577. <field eval="21" name="sequence" />
  1578. <field name="view_id" ref="student_student_kanban_view" />
  1579. <field name="act_window_id" ref="action_student_student_form_2"/>
  1580. </record>
  1581. <!-- Teacher Information Action -->
  1582. <record model="ir.actions.act_window" id="action_teacher_teacher_form_1">
  1583. <field name="name">Teachers</field>
  1584. <field name="res_model">hr.employee</field>
  1585. <field name="view_type">form</field>
  1586. <field name="view_mode">kanban,tree,form</field>
  1587. </record>
  1588. <!-- School Information Action -->
  1589. <record model="ir.actions.act_window" id="action_school_school_form">
  1590. <field name="name">Schools</field>
  1591. <field name="res_model">school.school</field>
  1592. <field name="view_type">form</field>
  1593. <field name="view_mode">tree,form</field>
  1594. </record>
  1595. <!-- Standard Information Action -->
  1596. <record model="ir.actions.act_window" id="action_school_standard_form">
  1597. <field name="name">Standards</field>
  1598. <field name="res_model">school.standard</field>
  1599. <field name="view_type">form</field>
  1600. <field name="view_mode">tree,form,kanban</field>
  1601. </record>
  1602. <!-- Elective Subject -->
  1603. <record model="ir.actions.act_window" id="action_elective_subject_form">
  1604. <field name="name">Elective Group</field>
  1605. <field name="res_model">subject.elective</field>
  1606. <field name="view_type">form</field>
  1607. <field name="view_mode">tree,form</field>
  1608. </record>
  1609. <!-- Grade System Action -->
  1610. <record model="ir.actions.act_window" id="action_grade_master_form">
  1611. <field name="name">Grade</field>
  1612. <field name="res_model">grade.master</field>
  1613. <field name="view_mode">tree,form</field>
  1614. </record>
  1615. <!-- Academic Year Information Action -->
  1616. <record model="ir.actions.act_window" id="action_academic_year_form">
  1617. <field name="name">Academic Years</field>
  1618. <field name="res_model">academic.year</field>
  1619. <field name="view_type">form</field>
  1620. <field name="view_mode">tree,form</field>
  1621. </record>
  1622. <!-- Academic Month Information Action -->
  1623. <record model="ir.actions.act_window" id="action_academic_month_form">
  1624. <field name="name">Months</field>
  1625. <field name="res_model">academic.month</field>
  1626. <field name="view_type">form</field>
  1627. <field name="view_mode">tree,form</field>
  1628. </record>
  1629. <!-- Standard Medium Information Action -->
  1630. <record model="ir.actions.act_window" id="action_standard_medium_form">
  1631. <field name="name">Mediums</field>
  1632. <field name="res_model">standard.medium</field>
  1633. <field name="view_type">form</field>
  1634. <field name="view_mode">tree,form</field>
  1635. </record>
  1636. <!-- Standard Division Information Action -->
  1637. <record model="ir.actions.act_window" id="action_standard_division_form">
  1638. <field name="name">Divisions</field>
  1639. <field name="res_model">standard.division</field>
  1640. <field name="view_type">form</field>
  1641. <field name="view_mode">tree,form</field>
  1642. </record>
  1643. <!-- Subject Information Action -->
  1644. <record model="ir.actions.act_window" id="action_subject_subject_form">
  1645. <field name="name">Subjects</field>
  1646. <field name="res_model">subject.subject</field>
  1647. <field name="view_type">form</field>
  1648. <field name="view_mode">tree,form</field>
  1649. </record>
  1650. <!-- Standard Information Action -->
  1651. <record model="ir.actions.act_window" id="action_standard_standard_form">
  1652. <field name="name">Classes</field>
  1653. <field name="res_model">standard.standard</field>
  1654. <field name="view_type">form</field>
  1655. <field name="view_mode">tree,form</field>
  1656. </record>
  1657. <!-- Student News Form View -->
  1658. <record model="ir.ui.view" id="edit_student_news_form">
  1659. <field name="name">student.news.form</field>
  1660. <field name="model">student.news</field>
  1661. <field name="arch" type="xml">
  1662. <form string="News" >
  1663. <header>
  1664. <button string="Send Mail" type="object" name="news_update"
  1665. icon="gtk-ok" colspan="2"/>
  1666. </header>
  1667. <sheet>
  1668. <group col="4" colspan="4" string="News / Updates">
  1669. <field name="subject"/>
  1670. <newline/>
  1671. <field name="date"/>
  1672. <notebook colspan="4">
  1673. <page string="Description">
  1674. <field name="description" nolabel="1" colspan="4"/>
  1675. </page>
  1676. <page string="Users">
  1677. <field name="user_ids" nolabel="1" colspan="4"/>
  1678. </page>
  1679. </notebook>
  1680. </group>
  1681. </sheet>
  1682. </form>
  1683. </field>
  1684. </record>
  1685. <!-- Student News Tree View -->
  1686. <record model="ir.ui.view" id="view_student_news_tree">
  1687. <field name="name">student.news.tree</field>
  1688. <field name="model">student.news</field>
  1689. <field name="arch" type="xml">
  1690. <tree string="News">
  1691. <field name="subject"/>
  1692. <field name="date"/>
  1693. </tree>
  1694. </field>
  1695. </record>
  1696. <!-- Student News Search View -->
  1697. <record id="view_hr_student_news_search" model="ir.ui.view">
  1698. <field name="name">student.news.search</field>
  1699. <field name="model">student.news</field>
  1700. <field name="arch" type="xml">
  1701. <search string="News">
  1702. <field name="subject"/>
  1703. <field name="date"/>
  1704. </search>
  1705. </field>
  1706. </record>
  1707. <!-- Dashboard Event Kanban View -->
  1708. <record model="ir.ui.view" id="student_student_news_kanban_view">
  1709. <field name="name">Student News</field>
  1710. <field name="model">student.news</field>
  1711. <field name="arch" type="xml">
  1712. <kanban default_group_by="date">
  1713. <field name="date"/>
  1714. <field name="subject"/>
  1715. <field name="color"/>
  1716. <templates>
  1717. <t t-name="kanban-box">
  1718. <!-- <div class="oe_kanban_box oe_kanban_color_border"> -->
  1719. <div
  1720. t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click">
  1721. <div class="oe_dropdown_toggle oe_dropdown_kanban">
  1722. <span class="oe_e">í</span>
  1723. <ul class="oe_dropdown_menu">
  1724. <t t-if="widget.view.is_action_enabled('edit')">
  1725. <li>
  1726. <a type="edit">Edit...</a>
  1727. </li>
  1728. </t>
  1729. <t t-if="widget.view.is_action_enabled('delete')">
  1730. <li>
  1731. <a type="delete">Delete</a>
  1732. </li>
  1733. </t>
  1734. <li>
  1735. <ul class="oe_kanban_colorpicker" data-field="color"/>
  1736. </li>
  1737. </ul>
  1738. </div>
  1739. <div
  1740. class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
  1741. <table class="oe_kanban_table">
  1742. <tr>
  1743. <td class="oe_kanban_title1" align="left" valign="middle"
  1744. style="padding-left:10px;">
  1745. <h4>
  1746. <a type="open">
  1747. <field name="date"/>
  1748. <field name="subject"/>
  1749. </a>
  1750. </h4>
  1751. </td>
  1752. </tr>
  1753. </table>
  1754. </div>
  1755. <div
  1756. class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
  1757. <table class="oe_kanban_table">
  1758. <tr width="300">
  1759. <td valign="top" align="left" style="padding-left:10px;">
  1760. <table>
  1761. <tr>
  1762. <t
  1763. t-if="record.date.raw_value and record.date.raw_value lt (new Date())"
  1764. t-set="red">oe_kanban_text_red</t>
  1765. <span t-attf-class="#{red || ''}">
  1766. <td>Date :</td>
  1767. <td style="padding-left:10px;">
  1768. <b>
  1769. <field name="date"/>
  1770. </b>
  1771. </td>
  1772. </span>
  1773. </tr>
  1774. <tr>
  1775. <td>Subject : </td>
  1776. <td style="padding-left:10px;">
  1777. <b>
  1778. <field name="subject"/>
  1779. </b>
  1780. </td>
  1781. </tr>
  1782. </table>
  1783. </td>
  1784. </tr>
  1785. </table>
  1786. </div>
  1787. <div
  1788. class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
  1789. <div class="oe_kanban_left">
  1790. <a string="Edit" icon="gtk-edit" type="edit" />
  1791. <a string="Change Color" icon="color-picker" type="color"
  1792. name="color" />
  1793. </div>
  1794. <br class="oe_kanban_clear"/>
  1795. </div>
  1796. </div>
  1797. </t>
  1798. </templates>
  1799. </kanban>
  1800. </field>
  1801. </record>
  1802. <!-- Student News Action -->
  1803. <record id="view_student_news" model="ir.actions.act_window">
  1804. <field name="name">News</field>
  1805. <field name="type">ir.actions.act_window</field>
  1806. <field name="res_model">student.news</field>
  1807. <field name="view_type">form</field>
  1808. <field name="view_mode">kanban,tree,form</field>
  1809. </record>
  1810. <record id="view_parent_form" model="ir.ui.view">
  1811. <field name="name">res.partner.parent.form</field>
  1812. <field name="model">res.partner</field>
  1813. <field name="arch" type="xml">
  1814. <form string="Partners" col='1' >
  1815. <sheet>
  1816. <form string="Partner Contacts">
  1817. <newline />
  1818. <group colspan="2" col="4">
  1819. <separator string="Postal Address" colspan="4" col="4"/>
  1820. <field name="name" placeholder="Name"/>
  1821. <field name="type" string="Type" colspan="2" placeholder="Address Type"/>
  1822. <field name="street" placeholder="Street"/>
  1823. <field name="street2" placeholder="Street2"/>
  1824. <field name="zip" placeholder="Zip"/>
  1825. <field name="city" placeholder="City"/>
  1826. <field name="country_id" completion="1" placeholder="Country"/>
  1827. <field name="state_id" placeholder="State"/>
  1828. </group>
  1829. <group colspan="2" col="2">
  1830. <separator string="Communication" colspan="2" col="2"/>
  1831. <group colspan="4" col="4">
  1832. <field name="phone" placeholder="Phone Number"/>
  1833. <field name="mobile" placeholder="Mobile Number"/>
  1834. <field name="fax" placeholder="Fax"/>
  1835. <field name="email" widget="email"/>
  1836. </group>
  1837. </group>
  1838. </form>
  1839. <group groups="base.group_extended">
  1840. <separator colspan="4" string="Categories"/>
  1841. </group>
  1842. <group colspan="4" col="4">
  1843. <separator string="Notes" colspan="4" col="4"/>
  1844. <field colspan="4" name="comment" nolabel="1"/>
  1845. </group>
  1846. </sheet>
  1847. </form>
  1848. </field>
  1849. </record>
  1850. <record id="view_res_partner_parent_filter" model="ir.ui.view">
  1851. <field name="name">res.partner.parent.select</field>
  1852. <field name="model">res.partner</field>
  1853. <field name="arch" type="xml">
  1854. <search string="Search Partner">
  1855. <group col='10' colspan='4'>
  1856. <field name="name" select="1"/>
  1857. <field name="country_id" select="1"/>
  1858. </group>
  1859. </search>
  1860. </field>
  1861. </record>
  1862. <record id="view_parent_tree" model="ir.ui.view">
  1863. <field name="name">res.partner.tree</field>
  1864. <field name="model">res.partner</field>
  1865. <field eval="8" name="priority" />
  1866. <field name="arch" type="xml">
  1867. <tree string="Partners">
  1868. <field name="name"/>
  1869. <field name="phone"/>
  1870. <field name="email"/>
  1871. <field name="city"/>
  1872. <field name="country_id"/>
  1873. </tree>
  1874. </field>
  1875. </record>
  1876. <!-- Parent Information Action -->
  1877. <record model="ir.actions.act_window" id="action_parent_form">
  1878. <field name="name">Parents</field>
  1879. <field name="res_model">res.partner</field>
  1880. <field name="view_type">form</field>
  1881. <field name="view_mode">form,tree,kanban</field>
  1882. <field name="search_view_id" ref="view_res_partner_parent_filter"/>
  1883. </record>
  1884. <record id="action_partner_form_view1" model="ir.actions.act_window.view">
  1885. <field eval="10" name="sequence"/>
  1886. <field name="view_mode">tree</field>
  1887. <field name="view_id" ref="view_parent_tree"/>
  1888. <field name="act_window_id" ref="action_parent_form"/>
  1889. </record>
  1890. <record id="action_parent_form_view2" model="ir.actions.act_window.view">
  1891. <field eval="20" name="sequence"/>
  1892. <field name="view_mode">form</field>
  1893. <field name="view_id" ref="view_parent_form"/>
  1894. <field name="act_window_id" ref="action_parent_form"/>
  1895. </record>
  1896. <!--My Dashboard -->
  1897. <record model="ir.ui.view" id="board_my_dash_view">
  1898. <field name="name">My Dashboard</field>
  1899. <field name="model">board.board</field>
  1900. <field name="arch" type="xml">
  1901. <form string="My Dashboard" >
  1902. <board style="2-1">
  1903. <column>
  1904. <action name="%(view_student_news)d" string="News Update"
  1905. creatable="true"
  1906. groups="school.group_school_student,school.group_school_administration, school.group_school_teacher,school.group_school_parent" />
  1907. </column>
  1908. <column>
  1909. <action name="%(action_student_reminder)d" string="Reminder"
  1910. creatable="true"
  1911. groups="school.group_school_administration,school.group_school_student,school.group_school_teacher"/>
  1912. </column>
  1913. </board>
  1914. </form>
  1915. </field>
  1916. </record>
  1917. <!--My Dashboard Action -->
  1918. <record model="ir.actions.act_window" id="open_board_my_dash_action">
  1919. <field name="name">My Dashboard</field>
  1920. <field name="res_model">board.board</field>
  1921. <field name="view_type">form</field>
  1922. <field name="view_mode">form</field>
  1923. <field name="usage">menu</field>
  1924. <field name="view_id" ref="board_my_dash_view"/>
  1925. <field name="help" type="html">
  1926. <div class="oe_empty_custom_dashboard">
  1927. <p>
  1928. <b>Your personal dashboard is empty.</b>
  1929. </p>
  1930. <p>
  1931. To add your first report into this dashboard, go to any
  1932. menu,
  1933. switch to list or graph view, and click
  1934. <i>'Add to
  1935. Dashboard'
  1936. </i>
  1937. in the extended search options.
  1938. </p>
  1939. <p>
  1940. You can filter and group data before inserting into the
  1941. dashboard using the search options.
  1942. </p>
  1943. </div>
  1944. </field>
  1945. </record>
  1946. <!-- School's Menu -->
  1947. <menuitem icon="terp-project" id="menu_ems" name="EMS"
  1948. sequence="4" web_icon="images/icon.png" web_icon_hover="images/hover.png"
  1949. action="open_board_my_dash_action"/>
  1950. <menuitem name="Configuration" parent="menu_ems" id="menu_configuration"
  1951. sequence="10" groups="group_school_administration"/>
  1952. <menuitem name="Students Profile" parent="menu_ems"
  1953. id="menu_student_profile" sequence="2"/>
  1954. <menuitem name="School Config" parent="menu_configuration"
  1955. id="menu_school_config_form1" sequence="1"/>
  1956. <menuitem name="GR No." parent="menu_school_config_form1" id="grn_menuid"
  1957. action="action_student_grn_form" sequence="10"/>
  1958. <menuitem name="Reminders" parent="menu_ems" id="menu_reminders"
  1959. sequence="8" />
  1960. <menuitem name="Reminder" parent="menu_reminders" id="menu_reminder"
  1961. action="action_student_reminder"/>
  1962. <menuitem name="Casts" parent="menu_ems" id="menu_casts"
  1963. sequence="7"/>
  1964. <menuitem name="Cast" parent="menu_casts" id="menu_cast"
  1965. action="action_student_cast_form_7"/>
  1966. <!-- new cast menu added in configure menu -->
  1967. <menuitem name="Cast" parent="menu_school_config_form1" id="menu_cast"
  1968. action="action_student_cast_form_7"/>
  1969. <menuitem name="Student Profiles" parent="menu_student_profile"
  1970. id="menu_sub_sub_student" action="action_student_student_form_12"/>
  1971. <menuitem name="Document Type" parent="menu_school_config_form1"
  1972. id="menu_sub_doc_type_sub_form" action="action_document_type_form"/>
  1973. <!-- new -->
  1974. <menuitem name="Grade" parent="menu_school_config_form1" id="submenu_sub_grade"
  1975. action="action_grade_master_form"/>
  1976. <!-- new -->
  1977. <menuitem name="Parents Details" parent="menu_student_profile"
  1978. id="menu_res_partner_form" action="action_parent_form"
  1979. groups="school.group_school_administration,school.group_school_student,school.group_school_teacher,school.group_school_parent"/>
  1980. <menuitem name="Admission Register" parent="menu_ems"
  1981. id="menu_admission_form" sequence="1"/>
  1982. <!-- new -->
  1983. <menuitem name="News / Update" parent="menu_school_config_form1"
  1984. id="submenu_sub_news" action="view_student_news"/>
  1985. <menuitem name="Admission Registers" parent="menu_admission_form"
  1986. id="menu_admission_register_sub_sub_form" action="action_student_student_form_2"/>
  1987. <!-- new -->
  1988. <menuitem name="School" parent="menu_school_config_form1" id="menu_school_school_sub_form"
  1989. action="action_school_school_form" sequence="1"/>
  1990. <menuitem name="Academic Years" parent="menu_configuration"
  1991. id="menu_academic_year_form"/>
  1992. <menuitem name="Years" parent="menu_academic_year_form" id="menu_academic_year_sub_form"
  1993. action="action_academic_year_form"/>
  1994. <menuitem name="Months" parent="menu_academic_year_form" id="menu_academic_month_form"
  1995. action="action_academic_month_form"/>
  1996. <menuitem name="Standards" parent="menu_configuration" id="menu_school_standard_form"/>
  1997. <menuitem name="Standard" parent="menu_school_standard_form"
  1998. id="menu_sub_school_standard_form" action="action_school_standard_form"/>
  1999. <menuitem name="Classes" parent="menu_school_standard_form"
  2000. id="menu_standard_standard_form" action="action_standard_standard_form"/>
  2001. <menuitem name="Divisions" parent="menu_school_standard_form"
  2002. id="menu_standard_division_form" action="action_standard_division_form"/>
  2003. <menuitem name="Mediums" parent="menu_school_standard_form"
  2004. id="menu_standard_medium_form" action="action_standard_medium_form"/>
  2005. <menuitem name="Subject" parent="menu_configuration" id="menu_subject_subject_form"
  2006. sequence="10"/>
  2007. <menuitem name="Elective Subject" parent="menu_subject_subject_form"
  2008. id="menu_subject_elective_form" action="action_elective_subject_form"
  2009. sequence="2"/>
  2010. <menuitem name="Subjects" parent="menu_subject_subject_form"
  2011. id="menu_subject_subject_sub_form" action="action_subject_subject_form"
  2012. sequence="1"/>
  2013. <!-- Inherit Company form view -->
  2014. <record model="ir.ui.view" id="view_company_form_inherit">
  2015. <field name="name">res.company.form</field>
  2016. <field name="model">res.company</field>
  2017. <field name="inherit_id" ref="base.view_company_form" />
  2018. <field name="arch" type="xml">
  2019. <field name="name" position="attributes">
  2020. <attribute name="string">School Name</attribute>
  2021. </field>
  2022. </field>
  2023. </record>
  2024. </data>
  2025. </openerp>