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.

58 lines
2.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="survey_user_input_view_form" model="ir.ui.view">
  4. <field name="name">survey_input_duration survey.user_input form</field>
  5. <field name="model">survey.user_input</field>
  6. <field name="inherit_id" ref="survey.survey_user_input_view_form" />
  7. <field name="priority">26</field>
  8. <field name="arch" type="xml">
  9. <field name="deadline" position="after">
  10. <field name="start_datetime" />
  11. <field name="end_datetime" />
  12. <field name="duration" widget="float_time" />
  13. </field>
  14. </field>
  15. </record>
  16. <record id="survey_user_input_view_tree" model="ir.ui.view">
  17. <field name="name">survey_input_duration survey.user_input tree</field>
  18. <field name="model">survey.user_input</field>
  19. <field name="inherit_id" ref="survey.survey_user_input_view_tree" />
  20. <field name="priority">26</field>
  21. <field name="arch" type="xml">
  22. <field name="deadline" position="after">
  23. <field name="start_datetime" optional="hide" />
  24. <field name="end_datetime" optional="hide" />
  25. <field name="duration" widget="float_time" optional="show" />
  26. </field>
  27. </field>
  28. </record>
  29. <record id="survey_user_input_viuew_kanban" model="ir.ui.view">
  30. <field name="name">survey_input_duration survey.user_input kanban</field>
  31. <field name="model">survey.user_input</field>
  32. <field name="inherit_id" ref="survey.survey_user_input_viuew_kanban" />
  33. <field name="priority">26</field>
  34. <field name="arch" type="xml">
  35. <field name="create_date" position="after">
  36. <field name="start_datetime" />
  37. <field name="end_datetime" />
  38. <field name="duration" />
  39. </field>
  40. </field>
  41. </record>
  42. <record id="survey_user_input_view_search" model="ir.ui.view">
  43. <field name="name">survey_input_duration survey.user_input search</field>
  44. <field name="model">survey.user_input</field>
  45. <field name="inherit_id" ref="survey.survey_user_input_view_search" />
  46. <field name="priority">26</field>
  47. <field name="arch" type="xml">
  48. <filter name="group_by_partner" position="after">
  49. <filter string="Date done" name="by_end_datetime" domain="[]" context="{'group_by': 'end_datetime'}" />
  50. </filter>
  51. </field>
  52. </record>
  53. </odoo>