workshop_data.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="1">
  4. <!-- Requests Links -->
  5. <record id="req_link_car" model="res.request.link">
  6. <field name="name">Car</field>
  7. <field name="object">car.car</field>
  8. </record>
  9. <record id="req_link_worksheet" model="res.request.link">
  10. <field name="name">Car Worksheet</field>
  11. <field name="object">car.workshop</field>
  12. </record>
  13. </data>
  14. <data>
  15. <record id="mt_task_new" model="mail.message.subtype">
  16. <field name="name">Task Opened</field>
  17. <field name="res_model">car.workshop</field>
  18. <field name="default" eval="False"/>
  19. <field name="hidden" eval="False"/>
  20. <field name="description">Task opened</field>
  21. </record>
  22. <record id="mt_task_blocked" model="mail.message.subtype">
  23. <field name="name">Task Blocked</field>
  24. <field name="res_model">car.workshop</field>
  25. <field name="default" eval="False"/>
  26. <field name="description">Task blocked</field>
  27. </record>
  28. <record id="mt_task_ready" model="mail.message.subtype">
  29. <field name="name">Task Ready</field>
  30. <field name="res_model">car.workshop</field>
  31. <field name="default" eval="False"/>
  32. <field name="description">Task ready for Next Stage</field>
  33. </record>
  34. <record id="mt_task_stage" model="mail.message.subtype">
  35. <field name="name">Stage Changed</field>
  36. <field name="res_model">car.workshop</field>
  37. <field name="default" eval="False"/>
  38. <field name="description">Stage changed</field>
  39. </record>
  40. <record id="mt_project_task_new" model="mail.message.subtype">
  41. <field name="name">Task Opened</field>
  42. <field name="sequence">10</field>
  43. <field name="res_model">car.car</field>
  44. <field name="default" eval="True"/>
  45. <field name="parent_id" eval="ref('mt_task_new')"/>
  46. <field name="relation_field">vehicle_id</field>
  47. </record>
  48. <record id="mt_project_task_blocked" model="mail.message.subtype">
  49. <field name="name">Task Blocked</field>
  50. <field name="sequence">11</field>
  51. <field name="res_model">car.car</field>
  52. <field name="default" eval="False"/>
  53. <field name="parent_id" eval="ref('mt_task_blocked')"/>
  54. <field name="relation_field">vehicle_id</field>
  55. </record>
  56. <record id="mt_project_task_ready" model="mail.message.subtype">
  57. <field name="name">Task Ready</field>
  58. <field name="sequence">12</field>
  59. <field name="res_model">car.car</field>
  60. <field name="default" eval="False"/>
  61. <field name="parent_id" eval="ref('mt_task_ready')"/>
  62. <field name="relation_field">vehicle_id</field>
  63. </record>
  64. <record id="mt_project_task_stage" model="mail.message.subtype">
  65. <field name="name">Task Stage Changed</field>
  66. <field name="sequence">13</field>
  67. <field name="res_model">car.car</field>
  68. <field name="default" eval="False"/>
  69. <field name="parent_id" eval="ref('mt_task_stage')"/>
  70. <field name="relation_field">vehicle_id</field>
  71. </record>
  72. </data>
  73. </openerp>