Odoo modules related to surveys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.6 KiB

2 years ago
2 years ago
2 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="survey_user_input_form" model="ir.ui.view">
  4. <field name="name">survey_input_dates survey.user_input form</field>
  5. <field name="model">survey.user_input</field>
  6. <field name="inherit_id" ref="survey.survey_user_input_form"/>
  7. <field name="priority">26</field>
  8. <field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
  9. <field name="arch" type="xml">
  10. <field name="date_create" position="after">
  11. <field name="date_start"/>
  12. <field name="date_done"/>
  13. <field name="duration" invisible="1"/>
  14. <field name="duration_txt"/>
  15. </field>
  16. </field>
  17. </record>
  18. <record id="survey_user_input_tree" model="ir.ui.view">
  19. <field name="name">survey_input_dates survey.user_input tree</field>
  20. <field name="model">survey.user_input</field>
  21. <field name="inherit_id" ref="survey.survey_user_input_tree"/>
  22. <field name="priority">26</field>
  23. <field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
  24. <field name="arch" type="xml">
  25. <field name="date_create" position="after">
  26. <field name="date_start"/>
  27. <field name="date_done"/>
  28. <field name="duration" invisible="1"/>
  29. <field name="duration_txt"/>
  30. </field>
  31. </field>
  32. </record>
  33. <record id="view_survey_user_input_kanban" model="ir.ui.view">
  34. <field name="name">survey_input_dates survey.user_input kanban</field>
  35. <field name="model">survey.user_input</field>
  36. <field name="inherit_id" ref="survey.view_survey_user_input_kanban"/>
  37. <field name="priority">26</field>
  38. <field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
  39. <field name="arch" type="xml">
  40. <field name="date_create" position="after">
  41. <field name="date_start"/>
  42. <field name="date_done"/>
  43. <field name="duration"/>
  44. <field name="duration_txt"/>
  45. </field>
  46. </field>
  47. </record>
  48. <record id="survey_user_input_search" model="ir.ui.view">
  49. <field name="name">survey_input_dates survey.user_input search</field>
  50. <field name="model">survey.user_input</field>
  51. <field name="inherit_id" ref="survey.survey_user_input_search"/>
  52. <field name="priority">26</field>
  53. <field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
  54. <field name="arch" type="xml">
  55. <filter name="group_by_partner" position="after">
  56. <filter string="Date done" name="by_date_done" domain="[]" context="{'group_by': 'date_done:week'}"/>
  57. </filter>
  58. </field>
  59. </record>
  60. </odoo>