student_sequence.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="1">
  4. <record id="sequence_type_grn" model='ir.sequence.type'>
  5. <field name="name">General Reg Number</field>
  6. <field name="code">student.grn</field>
  7. </record>
  8. <record id="sequence_grn" model="ir.sequence">
  9. <field name="name">GRN</field>
  10. <field name="code">student.grn</field>
  11. <field name="padding">4</field>
  12. <field name="prefix"></field>
  13. <field name="suffix"></field>
  14. <field name="number_next">1</field>
  15. <field name="number_increment">1</field>
  16. </record>
  17. <!-- Sequences for student.code (student code) -->
  18. <record id="seq_student_code_type" model="ir.sequence.type">
  19. <field name="name">Student code</field>
  20. <field name="code">student.code</field>
  21. </record>
  22. <record id="seq_student_code" model="ir.sequence">
  23. <field name="name">Student code</field>
  24. <field name="code">student.code</field>
  25. <field name="padding">3</field>
  26. </record>
  27. <!-- Sequences for student.registration (Registration code) -->
  28. <record id="seq_student_reg_type" model="ir.sequence.type">
  29. <field name="name">Registration code</field>
  30. <field name="code">student.registration</field>
  31. </record>
  32. <record id="seq_student_reg" model="ir.sequence">
  33. <field name="name">Student registration code</field>
  34. <field name="code">student.registration</field>
  35. <field name="padding">3</field>
  36. </record>
  37. <!-- Sequences for student.student (Personal Identification Number) -->
  38. <record id="seq_student_student_type" model="ir.sequence.type">
  39. <field name="name">Personal Identification Number</field>
  40. <field name="code">student.student</field>
  41. </record>
  42. <record id="seq_student_student" model="ir.sequence">
  43. <field name="name">Student</field>
  44. <field name="code">student.student</field>
  45. <field name="prefix">%(year)s/%(month)s/</field>
  46. <field name="padding">3</field>
  47. </record>
  48. <record id="seq_student_document_type" model="ir.sequence.type">
  49. <field name="name">File Number</field>
  50. <field name="code">student.document</field>
  51. </record>
  52. <record id="seq_student_document" model="ir.sequence">
  53. <field name="name">Document</field>
  54. <field name="code">student.document</field>
  55. <field name="prefix">F</field>
  56. <field name="padding">3</field>
  57. </record>
  58. <record id="seq_student_seq_no" model="ir.sequence.type">
  59. <field name="name">Sequence Number</field>
  60. <field name="code">document.type</field>
  61. </record>
  62. <record id="seq_student_sequence" model="ir.sequence">
  63. <field name="name">sequence</field>
  64. <field name="code">document.type</field>
  65. <field name="padding">1</field>
  66. </record>
  67. </data>
  68. </openerp>