12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <!-- Student Form View1 -->
- <record model="ir.ui.view" id="view_student_student_form_1">
- <field name="name">student.student.form.1</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <form string="Student Information">
- <sheet style="width: 10%%,height:10%%">
- <separator string="Personal Information" />
- <field name="photo" widget='image' class="oe_avatar oe_left"
- options='{"size": [110, 110]}'/>
- <div class="oe_title">
- <field name="pid" invisible="1" />
- <field name="reg_code" readonly="1" />
- <!-- <field name="grn_number" placeholder="General Reg No." / -->
- <field name="name" placeholder="First Name" nolabel="1" />
- <field name="middle" placeholder="Middle Name" nolabel="1"/>
- <field name="last" placeholder="Last Name" nolabel="1"/>
- </div>
- <div class="oe_right oe_button_box" name="buttons">
- </div>
- <group col="4">
- <group col="2">
- <separator string="Student Information" colspan="4"/>
- <field name="student_code" readonly="1"/>
- <field name="roll_no" help="Roll number of Student"/>
- <field name="year" placeholder="Year" help="Academic year of Student"/>
- <field name="school_id" widget="selection" help="School of Student"/>
- </group>
- <group col="2">
- <separator string="Standard Information" colspan="4" />
- <field name="standard_id" placeholder="Standard" widget="selection"/>
- <field name="division_id" placeholder="Division" widget="selection"/>
- <field name="medium_id" placeholder="Medium" widget="selection"/>
- </group>
- </group>
- <group col="4" colspan="4">
- <group>
- <label for="street" string="Address"/>
- <div>
- <field name="street" placeholder="Street..."/>
- <field name="street2" placeholder="Street2..."/>
- <field name="country_id" placeholder="Country" class="oe_no_button"
- options='{"no_open": true}'/>
- <field name="state_id" domain="[('country_id','=',country_id)]"
- required="1" placeholder="State" options='{"no_open": true}'/>
- <field name="city" placeholder="City" required="1"/>
- </div>
- </group>
- <group>
- <field name="phone" placeholder="Phone Number"/>
- <field name="mobile" placeholder="Mobile Number"/>
- <field name="email" placeholder="Email Address" String="Email"/>
- <field name="website" widget="url" placeholder="e.g. www.serpentcs.com"/>
- </group>
- </group>
- <notebook colspan="4">
- <page string="General">
- <group col="4">
- <group colspan="2" col="4">
- <field name="cast_id" />
- <field name="date_of_birth" widget="date" placeholder="Birthdate"/>
- <field name="gender"/>
- <field name="age"/>
- <field name="mother_tongue"/>
- <field name="admission_date" widget="date" placeholder="Admission Date"/>
- <field name="maritual_status"/>
- <newline/>
- <separator string="Emergency Contact Details"
- colspan="4"/>
- <newline />
- <group colspan="4" col="4">
- <field name="contact_phone1"/>
- <field name="contact_mobile1"/>
- </group>
- </group>
- </group>
- </page>
- <page string="References">
- <field name="reference_ids" nolabel="1" colspan="4">
- <tree string="Reference">
- <field name="name"/>
- <field name="middle"/>
- <field name="last"/>
- <field name="designation"/>
- <field name="phone"/>
- <field name="gender"/>
- </tree>
- <form string="Reference">
- <group col="4" colspan="4">
- <field name="name" placeholder="First Name"/>
- <field name="gender"/>
- <field name="middle" placeholder="Middle Name"/>
- <field name="designation" placeholder="Designation"/>
- <field name="last" placeholder="Last Name"/>
- <field name="phone" placeholder="Phone Number"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Previous School">
- <field name="previous_school_ids" nolabel="1" colspan="4">
- <tree string="Previous School Details">
- <field name="name"/>
- <field name="registration_no"/>
- <field name="admission_date"/>
- <field name="exit_date"/>
- <field name="course_id"/>
- </tree>
- <form string="Previous School Details" >
- <separator string="Previous School Details"/>
- <group col="4" colspan="4">
- <field name="name" placeholder="School Name"/>
- <field name="registration_no" placeholder="Registration No"/>
- <field name="admission_date"/>
- <field name="exit_date"/>
- <field name="course_id"/>
- <newline />
- <field name="add_sub" colspan="4"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Award Info">
- <field name="award_list" nolabel="1" colspan="4">
- <tree string="Reference">
- <field name="name"/>
- <field name="description"/>
- </tree>
- <form string="Reference">
- <group col="4" colspan="4">
- <field name="name"/>
- <field name="description"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Family Info">
- <field name="family_con_ids" nolabel="1" colspan="4">
- <form string="Family Contact Details">
- <group col="4">
- <group col="2">
- <separator colspan="2"/>
- <field name='rel_name'/>
- <field name='stu_name' placeholder="Create or Select Name"
- attrs="{'invisible':[('rel_name','!=','exist')]}"/>
- <field name='name' placeholder="Name"
- attrs="{'invisible':[('rel_name','!=','new')]}"/>
- <field name='relation' placeholder="Enter or select Relation"/>
- </group>
- <group col="2">
- <separator colspan="2" />
- <field name='phone' placeholder="Phone Number"/>
- <field name='email' placeholder="Email ID"/>
- </group>
- </group>
- </form>
- <tree string="Family Contact Details">
- <field name='stu_name' string="Existing Student"/>
- <field name='name' string="New Name"/>
- <field name="relation"/>
- <field name="phone"/>
- </tree>
- </field>
- </page>
- <page string="Medical">
- <group col="4">
- <group col="2">
- <separator string="Doctor Information" colspan="4"/>
- <field name="designation" placeholder="Doctor Designation"/>
- <field name="doctor_phone" placeholder="Doctor's Contact No"/>
- </group>
- <group col="2">
- <separator string="Physical Information" colspan="4"/>
- <field name="blood_group" placeholder="e.g.B+,Ab+"/>
- <field name="height"/>
- <field name="weight"/>
- </group>
- </group>
- <separator string="Does the applicant have any Disabilities?"
- colspan="4" />
- <group col="6" colspan="4">
- <field name="eye"/>
- <field name="ear"/>
- <field name="nose_throat"/>
- <field name="respiratory"/>
- <field name="cardiovascular"/>
- <field name="neurological"/>
- <field name="muskoskeletal"/>
- <field name="dermatological"/>
- <field name="blood_pressure"/>
- </group>
- <separator string="Notes" colspan="4"/>
- <group col="6" colspan="4">
- <field name="comment" placeholder="Notes About Medical.."
- nolabel="1"/>
- </group>
- </page>
- <page string="Certificates">
- <field name="certificate_ids" nolabel="1" colspan="4">
- <form string="Certificate">
- <group col="4">
- <field name="description" placeholder="Description About Certificate"/>
- <field name="certi"/>
- </group>
- </form>
- <tree string="Certifaicate">
- <field name="description"/>
- </tree>
- </field>
- </page>
- <page string="Remarks">
- <field name="description" nolabel="1" colspan="4">
- <form string="Extra Details">
- <group col="4" colspan="2">
- <field name="name" placeholder="Field Name"/>
- <field name="description" placeholder="Description"/>
- </group>
- </form>
- <tree string="Remarks">
- <field name="name"/>
- <field name="description"/>
- </tree>
- </field>
- </page>
- <page string="History"
- groups="school.group_school_administration,school.group_school_teacher,school.group_school_parent,school.group_school_student">
- <field name="history_ids" nolabel="1" colspan="4"
- readonly="1">
- <tree string="History">
- <field name="academice_year_id"/>
- <field name="standard_id"/>
- <field name="percentage"/>
- <field name="result"/>
- </tree>
- <form string="History">
- <group col="4" colspan="4">
- <field name="academice_year_id" placeholder="Acadamic Year"/>
- <field name="standard_id" placeholder="Select or Create Standard"/>
- <field name="percentage"/>
- <field name="result"/>
- </group>
- </form>
- </field>
- </page>
- </notebook>
- <field name="state" invisible="1"/>
- </sheet>
- </form>
- </field>
- </record>
-
- <!-- Record Rule for student profile info for Student -->
- <record id="student_rule_student_profile_record" model="ir.rule">
- <field name="name">Personal Student Profile Record</field>
- <field ref="model_student_student" name="model_id" />
- <field eval="1" name="global" />
- <field name="domain_force">[('user_id','=',user.id)]</field>
- <field name="groups" eval="[(4, ref('school.group_school_student'))]" />
- </record>
- <!-- Student Information Tree View -->
- <record model="ir.ui.view" id="view_student_student_tree_1">
- <field name="name">student.student.tree.1</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <tree string="Student Information">
- <field name="pid"/>
- <field name="name"/>
- <field name="student_name" invisible="1"/>
- <field name="year" widget="selection"/>
- <field name="admission_date"/>
- <field name="gender"/>
- <field name="state"/>
- <field name="school_id"/>
- </tree>
- </field>
- </record>
- <!-- Student Information Search View -->
- <record model="ir.ui.view" id="view_student_student_search_1">
- <field name="name">student.student.search.1</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <search string="Student Information">
- <group col="10" colspan="4">
- <field name="pid"/>
- <field name="student_name" invisible="1"/>
- <field name="year"/>
- <field name="gender"/>
- <field name="school_id"/>
- </group>
- <newline/>
- <group expand="0" string="Group By..." colspan="12" col="10">
- <filter icon="terp-project" string="Class" help="By Class" context="{'group_by':'standard_id'}"/>
- <filter icon="terp-project" string="Gender" help="By Gender" context="{'group_by':'gender'}"/>
- <filter icon="terp-project" string="Name" help="By Class" context="{'group_by':'student_name'}"/>
- <filter icon="terp-project" string="School" help="By School" context="{'group_by':'school_id'}"/>
- </group>
- </search>
- </field>
- </record>
-
-
- <!--Student Kanban view -->
- <record model="ir.ui.view" id="student_student_kanban_view">
- <field name="name">Student KANBAN</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <kanban>
- <field name="color"/>
- <field name="name"/>
- <field name="email"/>
- <templates>
- <t t-name="kanban-box">
- <t t-set="color"
- t-value="kanban_color(record.color.raw_value || record.name.raw_value)" />
- <div
- t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
- <div class="oe_kanban_box oe_kanban_color_border">
- <div
- class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
- <table class="oe_kanban_table">
- <tr>
- <td class="oe_kanban_title1" align="left" valign="middle"
- style="padding-left:10px;">
- <h4>
- <a type="open">
- <field name="name"/>
- <field name="middle"/>
- <field name="last"/>
- <field name="student_name" invisible="1"/>
- <field name="standard_id" invisible="1"/>
- <field name="school_id" invisible="1"/>
- <field name="gender" invisible="1"/>
- <field name="state" invisible="1"/>
- </a>
- </h4>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
- <table class="oe_kanban_table">
- <tr width="300">
- <td valign="top" width="64" align="left">
- <a type="open">
- <img heigh="80" width="80"
- t-att-src="kanban_image('student.student', 'photo', record.id.value)"/>
- </a>
- </td>
- <td valign="top" align="left" style="padding-left:10px;">
- <table>
- <tr>
- <td>Student ID :</td>
- <td style="padding-left:10px;">
- <b>
- <field name="pid"/>
- </b>
- </td>
- </tr>
- <tr>
- <td>Standard : </td>
- <td style="padding-left:10px;">
- <b>
- <field name="standard_id"/>
- </b>
- </td>
- </tr>
- <tr>
- <td>Admission Date : </td>
- <td style="padding-left:10px;">
- <b>
- <field name="admission_date"/>
- </b>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <center>
- <b>
- <field name="gender"/>
- </b>
- </center>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
- <div class="oe_kanban_left">
- <a string="Edit" icon="gtk-edit" type="edit" />
- <a string="Change Color" icon="color-picker" type="color"
- name="color"/>
- </div>
- <br class="oe_kanban_clear"/>
- </div>
- </div>
- </div>
- </t>
- </templates>
- </kanban>
- </field>
- </record>
- <!-- Student Reminder Form View -->
- <record model="ir.ui.view" id="view_student_reminder_form_2">
- <field name="name">student.reminder.form</field>
- <field name="model">student.reminder</field>
- <field name="arch" type="xml">
- <form string="Student Reminder" >
- <sheet>
- <separator string="Reminder"/>
- <group col="4" colspan="4">
- <field name="stu_id" widget="selection" placeholder="Student"/>
- <field name="date" placeholder="Select Date"/>
- <field name="name" placeholder="Reminder Title"/>
- <newline />
- <field name="description" colspan="4"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Student Reminder Action view -->
- <record model="ir.actions.act_window" id="action_student_reminder">
- <field name="name">Students Reminder</field>
- <field name="res_model">student.reminder</field>
- <field name="view_type">form</field>
- <field name="view_mode">kanban,form</field>
- </record>
- <!-- Kanban View For Student Reminder -->
- <record model="ir.ui.view" id="student_reminder_kanban_view">
- <field name="name">Student KANBAN</field>
- <field name="model">student.reminder</field>
- <field name="arch" type="xml">
- <kanban default_group_by="date">
- <field name="name" />
- <field name="date" />
- <field name="color" />
- <templates>
- <t t-name="kanban-box">
- <div
- t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click">
- <div class="oe_dropdown_toggle oe_dropdown_kanban">
- <span class="oe_e">í</span>
- <ul class="oe_dropdown_menu">
- <t t-if="widget.view.is_action_enabled('edit')">
- <li>
- <a type="edit">Edit...</a>
- </li>
- </t>
- <t t-if="widget.view.is_action_enabled('delete')">
- <li>
- <a type="delete">Delete</a>
- </li>
- </t>
- <li>
- <ul class="oe_kanban_colorpicker" data-field="color"/>
- </li>
- </ul>
- </div>
- <div
- class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
- <table class="oe_kanban_table">
- <tr>
- <td class="oe_kanban_title1" align="left" valign="middle"
- style="padding-left:10px;">
- <h4>
- <a type="open">
- <field name="date"/>
- <field name="name"/>
- </a>
- </h4>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
- <table class="oe_kanban_table">
- <tr width="300">
- <td valign="top" align="left" style="padding-left:10px;">
- <table>
- <tr>
- <td>Name :</td>
- <td style="padding-left:10px;">
- <b>
- <field name="name"/>
- </b>
- </td>
- </tr>
- <tr>
- <td>Date : </td>
- <td style="padding-left:10px;">
- <b>
- <field name="date"/>
- </b>
- </td>
- </tr>
- <tr>
- <td>Description : </td>
- <td style="padding-left:10px;">
- <b>
- <field name="description"/>
- </b>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
- <div class="oe_kanban_left">
- <a string="Edit" icon="gtk-edit" type="edit" />
- <a string="Change Color" icon="color-picker" type="color"
- name="color"/>
- </div>
- <br class="oe_kanban_clear"/>
- </div>
- </div>
- </t>
- </templates>
- </kanban>
- </field>
- </record>
- <!-- Admission Register Information Form View -->
- <record model="ir.ui.view" id="view_student_student_form_2">
- <field name="name">student.student.form.2</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <form string="Admission Register" >
- <header>
- <button name="set_terminate" string="Terminate" type="object"
- states="done" icon="gtk-cancel" class="oe_highlight"
- groups="school.group_school_administration,school.group_school_teacher"/>
- <button name="set_alumni" string="Alumni" type="object"
- icon="gtk-execute" states="done"
- groups="school.group_school_administration,school.group_school_teacher"/>
- <button name="admission_done" type="object" string="Done"
- states="draft,terminate" icon="gtk-jump-to"/>
- <field name="state" widget="statusbar" nolabel="1"/>
- </header>
- <sheet style="width: 10%%,height:10%%">
- <newline />
- <separator string="Personal Information"/>
- <field name="photo" widget='image' class="oe_avatar oe_left"
- options='{"size":[110, 110]}'/>
- <div class="oe_title">
- <field name="pid" />
- <!-- <field name="reg_code"/ -->
- <field name="name" placeholder="First Name" nolabel="1"/>
- <field name="middle" placeholder="Middle Name" nolabel="1"/>
- <field name="last" placeholder="Last Name" nolabel="1"/>
- </div>
- <group col="4">
- <group col="2">
- <separator string="School Information" colspan="4"/>
- <field name="school_id" placeholder="School Name"
- required="1"/>
- <field name="year" widget="selection" placeholder="Academic Year"/>
- </group>
- <group col="2">
- <separator string="Class Information" colspan="4" />
- <field name="standard_id" placeholder="Standard" widget="selection"/>
- <field name="division_id" placeholder="Division" widget="selection"/>
- <field name="medium_id" placeholder="Medium" widget="selection"/>
- </group>
- </group>
- <group col="4" colspan="4">
- <group>
- <label for="street" string="Address"/>
- <div>
- <field name="street" placeholder="Street..."/>
- <field name="street2" placeholder="Street2..."/>
- <field name="country_id" placeholder="Country" class="oe_no_button"
- options='{"no_open": true}'/>
- <field name="state_id" domain="[('country_id','=',country_id)]"
- placeholder="State" options='{"no_open": true}'/>
- <field name="city" placeholder="City"/>
- <field name="zip" placeholder="ZIP"/>
- </div>
- </group>
- <group>
- <field name="phone" placeholder="Phone Number"/>
- <field name="mobile" placeholder="Mobile Number"/>
- <field name="email" placeholder="Email Address" String="Email"/>
- <field name="website" widget="url" placeholder="e.g. www.serpentcs.com"/>
- </group>
- </group>
- <notebook colspan="4">
- <page string="General">
- <form string="General" >
- <sheet>
- <separator string="General Information" />
- <group col="4" colspan="4">
- <div>
- <table width="100%%">
- <tr>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="gender"/>
- :
- </b>
- </td>
- <td width="35%%">
- <field name="gender" placeholder="Gender"/>
- </td>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="mother_tongue"/>
- :
- </b>
- </td>
- <td width="35%%" style="padding-left:10px;">
- <field name="mother_tongue" placeholder="Mother Tongue"/>
- </td>
- </tr>
- <tr>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="date_of_birth"/>
- :
- </b>
- </td>
- <td width="35%%" style="padding-left:10px;">
- <field name="date_of_birth" placeholder="Birthdate" />
- </td>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="admission_date"/>
- :
- </b>
- </td>
- <td width="35%%" style="padding-left:10px;">
- <field name="admission_date" placeholder="Admission Date"/>
- </td>
- </tr>
- <tr>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="age"/>
- :
- </b>
- </td>
- <td width="35%%" style="padding-left:10px;">
- <field name="age"/>
- </td>
- <td width="15%%" style="text-align:right;vertical-align:middle;">
- <b>
- <label for="maritual_status"/>
- :
- </b>
- </td>
- <td width="35%%" style="padding-left:10px;">
- <field name="maritual_status" placeholder="Select Maritual Status"/>
- </td>
- </tr>
- </table>
- </div>
- <newline/>
- <separator string="Emergency Contact Details"
- colspan="4"/>
- <newline />
- <group colspan="4" col="4">
- <field name="contact_phone1"/>
- <field name="contact_mobile1"/>
- </group>
- </group>
- </sheet>
- </form>
- </page>
- <page string="References">
- <field name="reference_ids" nolabel="1" colspan="4">
- <tree string="Reference">
- <field name="name"/>
- <field name="middle"/>
- <field name="last"/>
- <field name="designation"/>
- <field name="phone"/>
- <field name="gender"/>
- </tree>
- <form string="Reference">
- <group col="4" colspan="4">
- <field name="name" placeholder="First Name"/>
- <field name="middle" placeholder="Middle Name"/>
- <field name="last" placeholder="Last Name"/>
- <field name="designation" placeholder="Designation"/>
- <field name="phone" placeholder="Phone Number"/>
- <field name="gender"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Previous School">
- <field name="previous_school_ids" nolabel="1" colspan="4">
- <tree string="Previous School Details">
- <field name="name"/>
- <field name="registration_no"/>
- <field name="admission_date"/>
- <field name="exit_date"/>
- <field name="course_id"/>
- </tree>
- <form string="Previous School Details" >
- <separator string="Previous School Details"/>
- <group col="4" colspan="4">
- <field name="name" placeholder="School Name"/>
- <field name="registration_no" placeholder="Registration No"/>
- <field name="admission_date"/>
- <field name="exit_date"/>
- <field name="course_id"/>
- <newline/>
- <field name="add_sub" colspan="4"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Family Details">
- <field name="family_con_ids" nolabel="1" colspan="4">
- <tree string="Family Contact Details">
- <field name='stu_name' attrs="{'invisible':[('rel_name','!=','exist')]}"
- string="Existing Student" />
- <field name='name' attrs="{'invisible':[('rel_name','!=','new')]}"
- string="New Name"/>
- <field name="relation"/>
- <field name="phone"/>
- </tree>
- <form string="Family Contact Details">
- <group col="4">
- <group col="2">
- <separator colspan="2"/>
- <field name='rel_name' placeholder="Name"/>
- <field name='stu_name' placeholder="Create or Select Name"
- attrs="{'invisible':[('rel_name','!=','exist')]}"/>
- <field name='name' placeholder="Name"
- attrs="{'invisible':[('rel_name','!=','new')]}"/>
- <field name='relation' placeholder="Enter or select Relation"/>
- </group>
- <group col="2">
- <separator colspan="2" />
- <field name='phone' placeholder="Phone Number"/>
- <field name='email' placeholder="Email Address"/>
- </group>
- </group>
- </form>
- </field>
- </page>
- <page string="Remarks">
- <form string="Remarks">
- <field name="remark" nolabel="1" colspan="4"/>
- </form>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Student GRN Tree View -->
- <record model="ir.ui.view" id="view_student_GRN_tree">
- <field name="name">student.grn.tree</field>
- <field name="model">student.grn</field>
- <field name="arch" type="xml">
- <tree string="Student GRN format">
- <field name="grn"/>
- <field name="name"/>
- </tree>
- </field>
- </record>
- <!-- Student GRN Form View -->
- <record model="ir.ui.view" id="view_student_GRN_form">
- <field name="name">student.grn.form</field>
- <field name="model">student.grn</field>
- <field name="arch" type="xml">
- <form string="Student GRN format" >
- <sheet>
- <group col="4" colspan="4">
- <field name="grn" />
- <newline/>
- <field name="name"/>
- <newline/>
- <field name="prefix" placeholder="Prefix" />
- <field name="static_prefix" attrs="{'invisible':[('prefix','!=','static')],'required':[('prefix','=','static')]}"/>
- <newline/>
- <field name="schoolprefix_id" attrs="{'invisible':[('prefix','!=','school')],'required':[('prefix','=','school')]}"/>
- <newline/>
- <field name="postfix" placeholder="Suffix" />
- <field name="schoolpostfix_id" attrs="{'invisible':[('postfix','!=','school')],'required':[('postfix','=','school')]}"/>
- <newline/>
- <field name="static_postfix" attrs="{'invisible':[('postfix','!=','static')],'required':[('postfix','=','static')]}"/>
- <newline/>
- <field name="grn_no" />
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record model="ir.actions.act_window" id="action_student_grn_form">
- <field name="name">GR No.</field>
- <field name="res_model">student.grn</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Admission Register Information Tree View -->
- <record model="ir.ui.view" id="view_student_student_tree_2">
- <field name="name">student.student.tree.2</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <tree string="Admission Register">
- <field name="pid"/>
- <field name="name"/>
- <field name="student_name" invisible="1"/>
- <field name="year" widget="selection"/>
- <field name="standard_id" widget="selection"/>
- <field name="school_id"/>
- <field name="admission_date"/>
- <field name="gender"/>
- <field name="state"/>
- </tree>
- </field>
- </record>
- <!-- Admission Register Information Search View -->
- <record model="ir.ui.view" id="view_student_student_search_2">
- <field name="name">student.student.search.2</field>
- <field name="model">student.student</field>
- <field name="arch" type="xml">
- <search string="Admission Register">
- <filter icon="terp-project" string="Draft" domain="[('state','=', 'draft')]" help="Admission In Draft State"/>
- <filter icon="terp-project" string="Alumni" domain="[('state','=', 'alumni')]" help="Admission In Confirm State"/>
- <filter icon="terp-project" string="Terminated" domain="[('state','=', 'terminate')]" help="Admission In Pending State"/>
- <filter icon="terp-project" string="Done" domain="[('state','=', 'done')]" help="Admission In Done State"/>
- <separator orientation="vertical"/>
- <field name="student_name" invisible="1"/>
- <field name="year"/>
- <field name="standard_id"/>
- <field name="gender"/>
- <field name="school_id"/>
- <newline/>
- <group expand="0" string="Group By..." colspan="12" col="10">
- <filter icon="terp-project" string="Class" domain="[]" help="By Class" context="{'group_by':'standard_id'}"/>
- <filter icon="terp-project" string="Gender" domain="[]" help="By Gender" context="{'group_by':'gender'}"/>
- <filter icon="terp-project" string="Name" domain="[]" help="By Class" context="{'group_by':'student_name'}"/>
- <filter icon="terp-project" string="School" help="By School"
- context="{'group_by':'school_id'}" />
- </group>
- </search>
- </field>
- </record>
- <!-- School Information Form View -->
- <record model="ir.ui.view" id="view_school_school_form">
- <field name="name">school.school.form</field>
- <field name="model">school.school</field>
- <field name="arch" type="xml">
- <form string="School Information" >
- <sheet>
- <separator string="School Configuration"/>
- <group col="6" colspan="4">
- <field name="name" string="School Name" placeholder="School Name"/>
- <field name="code" placeholder="Code"/>
- </group>
- <group>
- <label for="street" string="Address"/>
- <div>
- <field name="street" placeholder="Street..."/>
- <field name="street2" placeholder="Street2..."/>
- <field name="country_id" placeholder="Country" class="oe_no_button"
- options='{"no_open": true}'/>
- <field name="state_id" domain="[('country_id','=',country_id)]"
- required="1" placeholder="State" options='{"no_open": true}'/>
- <field name="city" placeholder="City" required="1"/>
- <field name="zip" placeholder="ZIP"/>
- </div>
- </group>
- <group col="4" colspan="2">
- <field name="currency_id" placeholder="Select Or Create Currency"/>
- <field name="lang"/>
- </group>
- <notebook colspan="4">
- <page string="Standards">
- <field name="standards" nolabel="1" colspan="4"/>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <!-- School Information Tree View -->
- <record model="ir.ui.view" id="view_school_school_tree">
- <field name="name">school.school.tree</field>
- <field name="model">school.school</field>
- <field name="arch" type="xml">
- <tree string="School Information">
- <field name="name" string="School Name"/>
- <field name="code"/>
- </tree>
- </field>
- </record>
- <!-- School Attendace Type view -->
- <record model="ir.ui.view" id="view_school_attendance_form">
- <field name="name">school.attendance.form</field>
- <field name="model">attendance.type</field>
- <field name="arch" type="xml">
- <form string="Standard Information" >
- <separator string="Attendance Type"/>
- <group col="4" colspan="2">
- <field name="name"/>
- <field name="code"/>
- </group>
- </form>
- </field>
- </record>
- <!-- School Standard Information Form View -->
- <record model="ir.ui.view" id="view_school_standard_form">
- <field name="name">school.standard.form</field>
- <field name="model">school.standard</field>
- <field name="arch" type="xml">
- <form string="Standard Information" >
- <sheet>
- <separator string="Standard Information" />
- <group col="4" colspan="4">
- <field name="standard_id" widget="selection"/>
- <field name="division_id" widget="selection"/>
- <field name="medium_id" widget="selection"/>
- <field name="school_id" widget="selection"/>
- <field name="user_id" placeholder="Create Or Select Faculty Name"/>
- <field name="passing" placeholder="No Of ATKT Allowed"/>
- </group>
- <notebook colspan="4">
- <page string="Students">
- <field name="student_ids" nolabel="1" colspan="4">
- <tree string="Student Information">
- <field name="roll_no"/>
- <field name="name"/>
- <field name="year"/>
- <field name="state" invisible="1"/>
- </tree>
- <form string="Student Information">
- <group col="4" colspan="4">
- <field name="roll_no"/>
- <field name="name" placeholder="Name"/>
- <field name="year" placeholder="Year"/>
- <field name="state" invisible="1"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Subjects">
- <button name="import_subject" string="Import Previous Standard subject"
- type="object" class="oe_highlight"/>
- <field name="subject_ids" nolabel="1" colspan="4"
- string="Add Subjects"/>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <!-- School Standard Information Kanban View -->
- <record model="ir.ui.view" id="school_standard_kanban_view">
- <field name="name">school.standard.kanban</field>
- <field name="model">school.standard</field>
- <field name="arch" type="xml">
- <kanban default_group_by="standard_id">
- <field name="school_id" />
- <field name="standard_id" />
- <field name="division_id" />
- <field name="medium_id" />
- <field name="user_id" />
- <field name="color" />
- <templates>
- <t t-name="kanban-box">
- <t t-set="color"
- t-value="kanban_color(record.color.raw_value || record.school_id.value)" />
- <div
- t-att-class="color + (record.color.raw_value == 1 ? ' oe_kanban_color_alert' : '')">
- <div class="oe_kanban_box oe_kanban_color_border">
- <div
- class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
- <table class="oe_kanban_table">
- <tr>
- <td class="oe_kanban_title1" align="left" valign="middle">
- <div>
- School :-
- <field name="school_id"/>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
- <table class="oe_kanban_table">
- <tr>
- <td valign="top" align="left">
- <div class="oe_kanban_title2">
- <div>
- Class Teacher :-
- <field name="user_id"/>
- </div>
- </div>
- <div class="oe_kanban_title3">
- <div>
- Standard :-
- <field name="standard_id"/>
- </div>
- <div>
- Division :-
- <field name="division_id"/>
- </div>
- <div>
- Medium :-
- <field name="medium_id"/>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
- <div class="oe_kanban_left">
- <a string="Edit" icon="gtk-edit" type="edit"/>
- <a string="Delete" icon="gtk-delete" type="delete"/>
- <a string="Change Color" icon="color-picker" type="color"
- name="color"/>
- </div>
- <br class="oe_kanban_clear"/>
- </div>
- </div>
- </div>
- </t>
- </templates>
- </kanban>
- </field>
- </record>
- <!-- School Standard Information Tree View -->
- <record model="ir.ui.view" id="view_school_standard_tree">
- <field name="name">school.standard.tree</field>
- <field name="model">school.standard</field>
- <field name="arch" type="xml">
- <tree string="Standard Information">
- <field name="standard_id"/>
- <field name="user_id"/>
- <field name="division_id"/>
- <field name="medium_id"/>
- </tree>
- </field>
- </record>
- <!-- School Standard Information Search View -->
- <record model="ir.ui.view" id="view_student_student_search">
- <field name="name">school.standard.search</field>
- <field name="model">school.standard</field>
- <field name="arch" type="xml">
- <search string="Standard Information">
- <group col="10" colspan="4">
- <field name="standard_id"/>
- <field name="user_id"/>
- <field name="division_id"/>
- <field name="medium_id"/>
- </group>
- <newline/>
- <group expand="0" string="Group By..." colspan="12" col="10">
- <filter icon="terp-project" string="School" help="By School"
- context="{'group_by':'school_id'}"/>
- <filter icon="terp-project" string="Class" help="By Class"
- context="{'group_by':'standard_id'}"/>
- <filter icon="terp-project" string="Division" help="By Division"
- context="{'group_by':'division_id'}"/>
- <filter icon="terp-project" string="Medium" help="By Medium"
- context="{'group_by':'medium_id'}"/>
- </group>
- </search>
- </field>
- </record>
- <!-- Student Cast Tree View -->
- <record model="ir.ui.view" id="view_student_cast_tree">
- <field name="name">student.cast.tree</field>
- <field name="model">student.cast</field>
- <field name="arch" type="xml">
- <tree string="Cast Information">
- <field name="name"/>
- </tree>
- </field>
- </record>
- <!-- Student Form Tree View -->
- <record model="ir.ui.view" id="view_student_cast_form">
- <field name="name">student.cast.form</field>
- <field name="model">student.cast</field>
- <field name="arch" type="xml">
- <form string="Cast Information" >
- <sheet>
- <group>
- <field name="name" placeholder="Religion"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record model="ir.actions.act_window" id="action_student_cast_form_7">
- <field name="name">Cast</field>
- <field name="res_model">student.cast</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Grade System From View -->
- <record model="ir.ui.view" id="view_grade_form">
- <field name="name">grade.master.form</field>
- <field name="model">grade.master</field>
- <field name="arch" type="xml">
- <form string="Grade" >
- <sheet>
- <group col="4" string="Grade" colspan="4">
- <field name="name" string="Grade Names" />
- <newline />
- <field name="grade_ids" nolabel="1" colspan="4">
- <tree>
- <field name="sequence"/>
- <field name="name"/>
- <field name="grade"/>
- </tree>
- <form>
- <group>
- <field name="sequence" colspan="2"/>
- <newline />
- <field name='grade'/>
- <newline />
- <field name="from_mark"/>
- <field name="to_mark"/>
- <field name="fail"/>
- </group>
- </form>
- </field>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Grade System From View -->
- <record model="ir.ui.view" id="view_grade_tree">
- <field name="name">grade.master.tree</field>
- <field name="model">grade.master</field>
- <field name="arch" type="xml">
- <tree string="Grade">
- <field name="name" />
- </tree>
- </field>
- </record>
- <!-- Academic Years Information From View -->
- <record model="ir.ui.view" id="view_academic_year_form">
- <field name="name">acdemic.year.form</field>
- <field name="model">academic.year</field>
- <field name="arch" type="xml">
- <form string="Academic Years" >
- <sheet>
- <group col="4" colspan="4">
- <field name="sequence"/>
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <field name="date_start" placeholder="Start Date"/>
- <field name="date_stop" placeholder="Stop Date"/>
- <field name="grade_id" placeholder="Grade System"/>
- </group>
- <notebook colspan="4">
- <page string="Months">
- <field name="month_ids" nolabel="1" colspan="4">
- <tree string="Months">
- <field name="name"/>
- <field name="code"/>
- <field name="date_start"/>
- <field name="date_stop"/>
- </tree>
- <form string="Months">
- <group col="4" colspan="4">
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <field name="date_start" placeholder="Start Date"/>
- <field name="date_stop" placeholder="Stop Date"/>
- <field name="description" colspan="4"/>
- </group>
- </form>
- </field>
- </page>
- </notebook>
- <newline/>
- <separator string="Description" colspan="4"/>
- <field name="description" colspan="4"/>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Academic Years Information Tree View -->
- <record model="ir.ui.view" id="view_academic_year_tree">
- <field name="name">academic.year.tree</field>
- <field name="model">academic.year</field>
- <field name="arch" type="xml">
- <tree string="Academic Years">
- <field name="sequence"/>
- <field name="name"/>
- <field name="code"/>
- <field name="date_start"/>
- <field name="date_stop"/>
- </tree>
- </field>
- </record>
- <!-- Academic Months Information From View -->
- <record model="ir.ui.view" id="view_academic_month_form">
- <field name="name">academic.month.form</field>
- <field name="model">academic.month</field>
- <field name="arch" type="xml">
- <form string="Months" >
- <sheet>
- <group col="4" colspan="4">
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <field name="date_start" placeholder="Start Date"/>
- <field name="date_stop" placeholder="Stop Date"/>
- <field name="year_id" colspan="4"/>
- <field name="description" colspan="4"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Academic Months Information Tree View -->
- <record model="ir.ui.view" id="view_academic_month_tree">
- <field name="name">academic.month.tree</field>
- <field name="model">academic.month</field>
- <field name="arch" type="xml">
- <tree string="Months">
- <field name="name"/>
- <field name="code"/>
- <field name="date_start"/>
- <field name="date_stop"/>
- <field name="year_id"/>
- </tree>
- </field>
- </record>
- <!-- Standard Medium Information From View -->
- <record model="ir.ui.view" id="view_standard_medium_form">
- <field name="name">standard.medium.form</field>
- <field name="model">standard.medium</field>
- <field name="arch" type="xml">
- <form string="Mediums" >
- <sheet>
- <group col="4" colspan="4">
- <field name="sequence"/>
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <newline />
- <field name="description" colspan="4"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Standard Medium Information Tree View -->
- <record model="ir.ui.view" id="view_standard_medium_tree">
- <field name="name">standard.medium.tree</field>
- <field name="model">standard.medium</field>
- <field name="arch" type="xml">
- <tree string="Mediums">
- <field name="sequence"/>
- <field name="name"/>
- <field name="code"/>
- </tree>
- </field>
- </record>
- <!-- Student Document Type From View -->
- <record model="ir.ui.view" id="view_document_type_form">
- <field name="name">document.type.form</field>
- <field name="model">document.type</field>
- <field name="arch" type="xml">
- <form string="Document Type" >
- <sheet>
- <group col="4" colspan="4">
- <field name="seq_no"/>
- <field name="doc_type" placeholder="Document Type"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Student Document Type Tree View -->
- <record model="ir.ui.view" id="view_standard_document_tree">
- <field name="name">document.type.tree</field>
- <field name="model">document.type</field>
- <field name="arch" type="xml">
- <tree string="Document Type">
- <field name="seq_no"/>
- <field name="doc_type"/>
- </tree>
- </field>
- </record>
- <!-- Student Document Type Action -->
- <record model="ir.actions.act_window" id="action_document_type_form">
- <field name="name">Document Types</field>
- <field name="res_model">document.type</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Standard Division Information From View -->
- <record model="ir.ui.view" id="view_standard_division_form">
- <field name="name">standard.division.form</field>
- <field name="model">standard.division</field>
- <field name="arch" type="xml">
- <form string="Divisions" >
- <sheet>
- <group col="4" colspan="4">
- <field name="sequence"/>
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <newline />
- <field name="description" colspan="4"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Standard Division Information Tree View -->
- <record model="ir.ui.view" id="view_standard_division_tree">
- <field name="name">standard.division.tree</field>
- <field name="model">standard.division</field>
- <field name="arch" type="xml">
- <tree string="Divisions">
- <field name="sequence"/>
- <field name="name"/>
- <field name="code"/>
- </tree>
- </field>
- </record>
- <!-- Elective Subject Group Form View -->
- <record model="ir.ui.view" id="view_elective_group_form">
- <field name="name">elective.subject.form</field>
- <field name="model">subject.elective</field>
- <field name="arch" type="xml">
- <form string="Elective Group" >
- <sheet>
- <group col="4" colspan="4">
- <field name="name" colspan="4" required="1"/>
- <separator String="Subjects" col="4" colspan="4"/>
- <field name="subject_ids" nolabel="1" colspan="4">
- <form>
- <group col="4" colspan="4">
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <field name="maximum_marks"/>
- <field name="minimum_marks"/>
- <field name="weightage" />
- <field name="is_practical"/>
- <field name="no_exam"/>
- <field name="elective_id" string="Elective Group"
- invisible="1"/>
- </group>
- <notebook colspan="4">
- <page string="Standards">
- <field name="standard_ids" nolabel="1" colspan="4">
- <tree string="Standards">
- <field name="standard_id"/>
- <field name="division_id"/>
- <field name="medium_id"/>
- </tree>
- <form string="Standards">
- <group col="4" colspan="4">
- <field name="standard_id" placeholder="Standard"/>
- <field name="division_id" placeholder="Division"/>
- <field name="medium_id" placeholder="Medium"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Teachers">
- <field name="teacher_ids" nolabel="1" colspan="4"/>
- </page>
- <page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
- <field name="student_ids" nolabel="1"/>
- </page>
- <page string="Syllabus">
- <group>
- <field name="syllabus_ids" nolabel="1" colspan="4">
- <tree editable="top" string="Syllabs">
- <field name="duration"/>
- <field name="topic"/>
- </tree>
- <form string="Syllabs">
- <field name="duration"/>
- <newline/>
- <field name="topic" colspan="4"/>
- </form>
- </field>
- </group>
- </page>
- </notebook>
- </form>
- </field>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Subject Information Form View -->
- <record model="ir.ui.view" id="view_subject_subject_form">
- <field name="name">subject.subject.form</field>
- <field name="model">subject.subject</field>
- <field name="arch" type="xml">
- <form string="Subjects" >
- <sheet>
- <group col="4" colspan="4">
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <field name="maximum_marks"/>
- <field name="minimum_marks"/>
- <field name="weightage"/>
- <field name="is_practical"/>
- <field name="no_exam"/>
- <field name="elective_id" string="Elective Group" readonly="1"/>
- </group>
- <notebook colspan="4">
- <page string="Standards">
- <field name="standard_ids" nolabel="1" colspan="4">
- <tree string="Standards">
- <field name="standard_id"/>
- <field name="division_id"/>
- <field name="medium_id"/>
- </tree>
- <form string="Standards">
- <group col="4" colspan="4">
- <field name="standard_id" placeholder="Standard"/>
- <field name="division_id" placeholder="Division"/>
- <field name="medium_id" placeholder="Medium"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Teachers">
- <field name="teacher_ids" nolabel="1" colspan="4"/>
- </page>
- <page string="Students" attrs="{'invisible':[('elective_id','!=',True)]}">
- <field name="student_ids" nolabel="1"/>
- </page>
- <page string="Syllabus">
- <group>
- <field name="syllabus_ids" nolabel="1" colspan="4">
- <tree editable="top" string="Syllabs">
- <field name="duration" />
- <field name="topic"/>
- </tree>
- <form string="Syllabs">
- <field name="duration"/>
- <newline />
- <field name="topic" colspan="4"/>
- </form>
- </field>
- </group>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Subject Information Tree View -->
- <record model="ir.ui.view" id="view_subject_subject_tree">
- <field name="name">subject.subject.tree</field>
- <field name="model">subject.subject</field>
- <field name="arch" type="xml">
- <tree string="Subjects">
- <field name="name"/>
- <field name="code"/>
- <field name="maximum_marks"/>
- <field name="minimum_marks"/>
- <field name="weightage"/>
- <field name="no_exam"/>
- </tree>
- </field>
- </record>
- <!-- Standard Information Form View -->
- <record model="ir.ui.view" id="view_standard_standard_form">
- <field name="name">standard.standard.form</field>
- <field name="model">standard.standard</field>
- <field name="arch" type="xml">
- <form string="Standard Information" >
- <sheet>
- <group col="4" colspan="4">
- <field name="sequence"/>
- <newline />
- <field name="name" placeholder="Name"/>
- <field name="code" placeholder="Code"/>
- <newline />
- <field name="description" colspan="4"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Standard Information Tree View -->
- <record model="ir.ui.view" id="view_standard_standard_tree">
- <field name="name">standard.standard.tree</field>
- <field name="model">standard.standard</field>
- <field name="arch" type="xml">
- <tree string="Standard Information">
- <field name="sequence" />
- <field name="name"/>
- <field name="code"/>
- </tree>
- </field>
- </record>
- <!-- Teacher Information Form View -->
- <record model="ir.ui.view" id="view_teacher_teacher_form">
- <field name="name">hr.employee.form</field>
- <field name="model">hr.employee</field>
- <field name="inherit_id" ref="hr.view_employee_form" />
- <field name="arch" type="xml">
- <data>
- <xpath expr="//page[@string = 'Public Information']"
- position="after">
- <page string="Subjects">
- <field name="subject_ids" nolabel="1"/>
- </page>
- </xpath>
- </data>
- </field>
- </record>
- <!-- Student Information Form Action -->
- <record model="ir.actions.act_window" id="action_student_student_form_12">
- <field name="name">Students</field>
- <field name="domain">[('state', '!=', 'draft')]</field>
- <field name="res_model">student.student</field>
- <field name="view_type">form</field>
- <field name="view_id" ref="view_student_student_form_1"/>
- <field name="search_view_id" ref="view_student_student_search_1"/>
- <field name="view_mode">tree,form,kanban</field>
- </record>
- <!-- Student Information Tree Action View -->
- <record id="action_view_student_student_tree_1" model="ir.actions.act_window.view">
- <field name="view_mode">tree</field>
- <field eval="20" name="sequence"/>
- <field name="view_id" ref="view_student_student_tree_1"/>
- <field name="act_window_id" ref="action_student_student_form_12"/>
- </record>
- <record id="action_view_student_student_form_1" model="ir.actions.act_window.view">
- <field name="view_mode">form</field>
- <field eval="30" name="sequence"/>
- <field name="view_id" ref="view_student_student_form_1"/>
- <field name="act_window_id" ref="action_student_student_form_12"/>
- </record>
- <record id="action_view_student_student_kanban_1" model="ir.actions.act_window.view">
- <field name="view_mode">kanban</field>
- <field eval="31" name="sequence"/>
- <field name="view_id" ref="student_student_kanban_view"/>
- <field name="act_window_id" ref="action_student_student_form_12"/>
- </record>
- <!-- Action view for Student Reminders -->
- <record id="action_view_student_reminder_kanban" model="ir.actions.act_window.view">
- <field name="view_mode">kanban</field>
- <field eval="0" name="sequence"/>
- <field name="view_id" ref="student_reminder_kanban_view"/>
- <field name="act_window_id" ref="action_student_reminder"/>
- </record>
- <!-- Admission Register Information Form Action -->
- <record model="ir.actions.act_window" id="action_student_student_form_2">
- <field name="name">Admission Register</field>
- <field name="res_model">student.student</field>
- <field name="view_type">form</field>
- <field name="view_id" ref="view_student_student_form_2" />
- <field name="search_view_id" ref="view_student_student_search_2"/>
- <field name="view_mode">tree,form,kanban</field>
- </record>
- <!-- Admission Register Information Tree Action -->
- <record id="action_student_student_tree_2" model="ir.actions.act_window.view">
- <field name="view_mode">tree</field>
- <field eval="20" name="sequence"/>
- <field name="view_id" ref="view_student_student_tree_2" />
- <field name="act_window_id" ref="action_student_student_form_2"/>
- </record>
-
- <record id="action_view_student_student_kanban_2" model="ir.actions.act_window.view">
- <field name="view_mode">kanban</field>
- <field eval="21" name="sequence" />
- <field name="view_id" ref="student_student_kanban_view" />
- <field name="act_window_id" ref="action_student_student_form_2"/>
- </record>
- <!-- Teacher Information Action -->
- <record model="ir.actions.act_window" id="action_teacher_teacher_form_1">
- <field name="name">Teachers</field>
- <field name="res_model">hr.employee</field>
- <field name="view_type">form</field>
- <field name="view_mode">kanban,tree,form</field>
- </record>
- <!-- School Information Action -->
- <record model="ir.actions.act_window" id="action_school_school_form">
- <field name="name">Schools</field>
- <field name="res_model">school.school</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
-
- <!-- Standard Information Action -->
- <record model="ir.actions.act_window" id="action_school_standard_form">
- <field name="name">Standards</field>
- <field name="res_model">school.standard</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form,kanban</field>
- </record>
- <!-- Elective Subject -->
- <record model="ir.actions.act_window" id="action_elective_subject_form">
- <field name="name">Elective Group</field>
- <field name="res_model">subject.elective</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Grade System Action -->
- <record model="ir.actions.act_window" id="action_grade_master_form">
- <field name="name">Grade</field>
- <field name="res_model">grade.master</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Academic Year Information Action -->
- <record model="ir.actions.act_window" id="action_academic_year_form">
- <field name="name">Academic Years</field>
- <field name="res_model">academic.year</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Academic Month Information Action -->
- <record model="ir.actions.act_window" id="action_academic_month_form">
- <field name="name">Months</field>
- <field name="res_model">academic.month</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Standard Medium Information Action -->
- <record model="ir.actions.act_window" id="action_standard_medium_form">
- <field name="name">Mediums</field>
- <field name="res_model">standard.medium</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Standard Division Information Action -->
- <record model="ir.actions.act_window" id="action_standard_division_form">
- <field name="name">Divisions</field>
- <field name="res_model">standard.division</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Subject Information Action -->
- <record model="ir.actions.act_window" id="action_subject_subject_form">
- <field name="name">Subjects</field>
- <field name="res_model">subject.subject</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Standard Information Action -->
- <record model="ir.actions.act_window" id="action_standard_standard_form">
- <field name="name">Classes</field>
- <field name="res_model">standard.standard</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <!-- Student News Form View -->
- <record model="ir.ui.view" id="edit_student_news_form">
- <field name="name">student.news.form</field>
- <field name="model">student.news</field>
- <field name="arch" type="xml">
- <form string="News" >
- <header>
- <button string="Send Mail" type="object" name="news_update"
- icon="gtk-ok" colspan="2"/>
- </header>
- <sheet>
- <group col="4" colspan="4" string="News / Updates">
- <field name="subject"/>
- <newline/>
- <field name="date"/>
- <notebook colspan="4">
- <page string="Description">
- <field name="description" nolabel="1" colspan="4"/>
- </page>
- <page string="Users">
- <field name="user_ids" nolabel="1" colspan="4"/>
- </page>
- </notebook>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Student News Tree View -->
- <record model="ir.ui.view" id="view_student_news_tree">
- <field name="name">student.news.tree</field>
- <field name="model">student.news</field>
- <field name="arch" type="xml">
- <tree string="News">
- <field name="subject"/>
- <field name="date"/>
- </tree>
- </field>
- </record>
- <!-- Student News Search View -->
- <record id="view_hr_student_news_search" model="ir.ui.view">
- <field name="name">student.news.search</field>
- <field name="model">student.news</field>
- <field name="arch" type="xml">
- <search string="News">
- <field name="subject"/>
- <field name="date"/>
- </search>
- </field>
- </record>
- <!-- Dashboard Event Kanban View -->
- <record model="ir.ui.view" id="student_student_news_kanban_view">
- <field name="name">Student News</field>
- <field name="model">student.news</field>
- <field name="arch" type="xml">
- <kanban default_group_by="date">
- <field name="date"/>
- <field name="subject"/>
- <field name="color"/>
- <templates>
- <t t-name="kanban-box">
- <!-- <div class="oe_kanban_box oe_kanban_color_border"> -->
- <div
- t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click">
- <div class="oe_dropdown_toggle oe_dropdown_kanban">
- <span class="oe_e">í</span>
- <ul class="oe_dropdown_menu">
- <t t-if="widget.view.is_action_enabled('edit')">
- <li>
- <a type="edit">Edit...</a>
- </li>
- </t>
- <t t-if="widget.view.is_action_enabled('delete')">
- <li>
- <a type="delete">Delete</a>
- </li>
- </t>
- <li>
- <ul class="oe_kanban_colorpicker" data-field="color"/>
- </li>
- </ul>
- </div>
- <div
- class="oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle">
- <table class="oe_kanban_table">
- <tr>
- <td class="oe_kanban_title1" align="left" valign="middle"
- style="padding-left:10px;">
- <h4>
- <a type="open">
- <field name="date"/>
- <field name="subject"/>
- </a>
- </h4>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger oe_kanban_color_border">
- <table class="oe_kanban_table">
- <tr width="300">
- <td valign="top" align="left" style="padding-left:10px;">
- <table>
- <tr>
- <t
- t-if="record.date.raw_value and record.date.raw_value lt (new Date())"
- t-set="red">oe_kanban_text_red</t>
- <span t-attf-class="#{red || ''}">
- <td>Date :</td>
- <td style="padding-left:10px;">
- <b>
- <field name="date"/>
- </b>
- </td>
- </span>
- </tr>
- <tr>
- <td>Subject : </td>
- <td style="padding-left:10px;">
- <b>
- <field name="subject"/>
- </b>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- <div
- class="oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick">
- <div class="oe_kanban_left">
- <a string="Edit" icon="gtk-edit" type="edit" />
- <a string="Change Color" icon="color-picker" type="color"
- name="color" />
- </div>
- <br class="oe_kanban_clear"/>
- </div>
- </div>
- </t>
- </templates>
- </kanban>
- </field>
- </record>
- <!-- Student News Action -->
- <record id="view_student_news" model="ir.actions.act_window">
- <field name="name">News</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">student.news</field>
- <field name="view_type">form</field>
- <field name="view_mode">kanban,tree,form</field>
- </record>
- <record id="view_parent_form" model="ir.ui.view">
- <field name="name">res.partner.parent.form</field>
- <field name="model">res.partner</field>
- <field name="arch" type="xml">
- <form string="Partners" col='1' >
- <sheet>
- <form string="Partner Contacts">
- <newline />
- <group colspan="2" col="4">
- <separator string="Postal Address" colspan="4" col="4"/>
- <field name="name" placeholder="Name"/>
- <field name="type" string="Type" colspan="2" placeholder="Address Type"/>
- <field name="street" placeholder="Street"/>
- <field name="street2" placeholder="Street2"/>
- <field name="zip" placeholder="Zip"/>
- <field name="city" placeholder="City"/>
- <field name="country_id" completion="1" placeholder="Country"/>
- <field name="state_id" placeholder="State"/>
- </group>
- <group colspan="2" col="2">
- <separator string="Communication" colspan="2" col="2"/>
- <group colspan="4" col="4">
- <field name="phone" placeholder="Phone Number"/>
- <field name="mobile" placeholder="Mobile Number"/>
- <field name="fax" placeholder="Fax"/>
- <field name="email" widget="email"/>
- </group>
- </group>
- </form>
- <group groups="base.group_extended">
- <separator colspan="4" string="Categories"/>
- </group>
- <group colspan="4" col="4">
- <separator string="Notes" colspan="4" col="4"/>
- <field colspan="4" name="comment" nolabel="1"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record id="view_res_partner_parent_filter" model="ir.ui.view">
- <field name="name">res.partner.parent.select</field>
- <field name="model">res.partner</field>
- <field name="arch" type="xml">
- <search string="Search Partner">
- <group col='10' colspan='4'>
- <field name="name" select="1"/>
- <field name="country_id" select="1"/>
- </group>
- </search>
- </field>
- </record>
- <record id="view_parent_tree" model="ir.ui.view">
- <field name="name">res.partner.tree</field>
- <field name="model">res.partner</field>
- <field eval="8" name="priority" />
- <field name="arch" type="xml">
- <tree string="Partners">
- <field name="name"/>
- <field name="phone"/>
- <field name="email"/>
- <field name="city"/>
- <field name="country_id"/>
- </tree>
- </field>
- </record>
- <!-- Parent Information Action -->
- <record model="ir.actions.act_window" id="action_parent_form">
- <field name="name">Parents</field>
- <field name="res_model">res.partner</field>
- <field name="view_type">form</field>
- <field name="view_mode">form,tree,kanban</field>
- <field name="search_view_id" ref="view_res_partner_parent_filter"/>
- </record>
- <record id="action_partner_form_view1" model="ir.actions.act_window.view">
- <field eval="10" name="sequence"/>
- <field name="view_mode">tree</field>
- <field name="view_id" ref="view_parent_tree"/>
- <field name="act_window_id" ref="action_parent_form"/>
- </record>
- <record id="action_parent_form_view2" model="ir.actions.act_window.view">
- <field eval="20" name="sequence"/>
- <field name="view_mode">form</field>
- <field name="view_id" ref="view_parent_form"/>
- <field name="act_window_id" ref="action_parent_form"/>
- </record>
- <!--My Dashboard -->
- <record model="ir.ui.view" id="board_my_dash_view">
- <field name="name">My Dashboard</field>
- <field name="model">board.board</field>
- <field name="arch" type="xml">
- <form string="My Dashboard" >
- <board style="2-1">
- <column>
- <action name="%(view_student_news)d" string="News Update"
- creatable="true"
- groups="school.group_school_student,school.group_school_administration, school.group_school_teacher,school.group_school_parent" />
- </column>
- <column>
- <action name="%(action_student_reminder)d" string="Reminder"
- creatable="true"
- groups="school.group_school_administration,school.group_school_student,school.group_school_teacher"/>
- </column>
- </board>
- </form>
- </field>
- </record>
- <!--My Dashboard Action -->
- <record model="ir.actions.act_window" id="open_board_my_dash_action">
- <field name="name">My Dashboard</field>
- <field name="res_model">board.board</field>
- <field name="view_type">form</field>
- <field name="view_mode">form</field>
- <field name="usage">menu</field>
- <field name="view_id" ref="board_my_dash_view"/>
- <field name="help" type="html">
- <div class="oe_empty_custom_dashboard">
- <p>
- <b>Your personal dashboard is empty.</b>
- </p>
- <p>
- To add your first report into this dashboard, go to any
- menu,
- switch to list or graph view, and click
- <i>'Add to
- Dashboard'
- </i>
- in the extended search options.
- </p>
- <p>
- You can filter and group data before inserting into the
- dashboard using the search options.
- </p>
- </div>
- </field>
- </record>
- <!-- School's Menu -->
- <menuitem icon="terp-project" id="menu_ems" name="EMS"
- sequence="4" web_icon="images/icon.png" web_icon_hover="images/hover.png"
- action="open_board_my_dash_action"/>
- <menuitem name="Configuration" parent="menu_ems" id="menu_configuration"
- sequence="10" groups="group_school_administration"/>
- <menuitem name="Students Profile" parent="menu_ems"
- id="menu_student_profile" sequence="2"/>
- <menuitem name="School Config" parent="menu_configuration"
- id="menu_school_config_form1" sequence="1"/>
- <menuitem name="GR No." parent="menu_school_config_form1" id="grn_menuid"
- action="action_student_grn_form" sequence="10"/>
- <menuitem name="Reminders" parent="menu_ems" id="menu_reminders"
- sequence="8" />
- <menuitem name="Reminder" parent="menu_reminders" id="menu_reminder"
- action="action_student_reminder"/>
- <menuitem name="Casts" parent="menu_ems" id="menu_casts"
- sequence="7"/>
- <menuitem name="Cast" parent="menu_casts" id="menu_cast"
- action="action_student_cast_form_7"/>
- <!-- new cast menu added in configure menu -->
- <menuitem name="Cast" parent="menu_school_config_form1" id="menu_cast"
- action="action_student_cast_form_7"/>
- <menuitem name="Student Profiles" parent="menu_student_profile"
- id="menu_sub_sub_student" action="action_student_student_form_12"/>
- <menuitem name="Document Type" parent="menu_school_config_form1"
- id="menu_sub_doc_type_sub_form" action="action_document_type_form"/>
- <!-- new -->
- <menuitem name="Grade" parent="menu_school_config_form1" id="submenu_sub_grade"
- action="action_grade_master_form"/>
- <!-- new -->
- <menuitem name="Parents Details" parent="menu_student_profile"
- id="menu_res_partner_form" action="action_parent_form"
- groups="school.group_school_administration,school.group_school_student,school.group_school_teacher,school.group_school_parent"/>
- <menuitem name="Admission Register" parent="menu_ems"
- id="menu_admission_form" sequence="1"/>
- <!-- new -->
- <menuitem name="News / Update" parent="menu_school_config_form1"
- id="submenu_sub_news" action="view_student_news"/>
- <menuitem name="Admission Registers" parent="menu_admission_form"
- id="menu_admission_register_sub_sub_form" action="action_student_student_form_2"/>
- <!-- new -->
- <menuitem name="School" parent="menu_school_config_form1" id="menu_school_school_sub_form"
- action="action_school_school_form" sequence="1"/>
- <menuitem name="Academic Years" parent="menu_configuration"
- id="menu_academic_year_form"/>
- <menuitem name="Years" parent="menu_academic_year_form" id="menu_academic_year_sub_form"
- action="action_academic_year_form"/>
- <menuitem name="Months" parent="menu_academic_year_form" id="menu_academic_month_form"
- action="action_academic_month_form"/>
- <menuitem name="Standards" parent="menu_configuration" id="menu_school_standard_form"/>
- <menuitem name="Standard" parent="menu_school_standard_form"
- id="menu_sub_school_standard_form" action="action_school_standard_form"/>
- <menuitem name="Classes" parent="menu_school_standard_form"
- id="menu_standard_standard_form" action="action_standard_standard_form"/>
- <menuitem name="Divisions" parent="menu_school_standard_form"
- id="menu_standard_division_form" action="action_standard_division_form"/>
- <menuitem name="Mediums" parent="menu_school_standard_form"
- id="menu_standard_medium_form" action="action_standard_medium_form"/>
- <menuitem name="Subject" parent="menu_configuration" id="menu_subject_subject_form"
- sequence="10"/>
- <menuitem name="Elective Subject" parent="menu_subject_subject_form"
- id="menu_subject_elective_form" action="action_elective_subject_form"
- sequence="2"/>
- <menuitem name="Subjects" parent="menu_subject_subject_form"
- id="menu_subject_subject_sub_form" action="action_subject_subject_form"
- sequence="1"/>
- <!-- Inherit Company form view -->
- <record model="ir.ui.view" id="view_company_form_inherit">
- <field name="name">res.company.form</field>
- <field name="model">res.company</field>
- <field name="inherit_id" ref="base.view_company_form" />
- <field name="arch" type="xml">
- <field name="name" position="attributes">
- <attribute name="string">School Name</attribute>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|