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.

76 lines
3.4 KiB

  1. <odoo>
  2. <record id="backend_voicent_call_line_tree_view" model="ir.ui.view">
  3. <field name="name">backend.voicent.call.line.tree.view</field>
  4. <field name="model">backend.voicent.call.line</field>
  5. <field name="arch" type="xml">
  6. <tree string="Voicent Backend Call Lines">
  7. <field name="name"/>
  8. <field name="applies_on"/>
  9. <field name="msgtype"/>
  10. <field name="msginfo"/>
  11. </tree>
  12. </field>
  13. </record>
  14. <record id="backend_voicent_call_line_form_view" model="ir.ui.view">
  15. <field name="name">backend.voicent.call.line.form.view</field>
  16. <field name="model">backend.voicent.call.line</field>
  17. <field name="arch" type="xml">
  18. <form string="Voicent Backend Call Line">
  19. <sheet>
  20. <div class="oe_title">
  21. <h1><field name="name" class="field_name" placeholder="Name of the call line..."/></h1>
  22. </div>
  23. <group>
  24. <group id="main-left">
  25. <field name="applies_on"/>
  26. <field name="msgtype"/>
  27. <field name="msginfo"/>
  28. </group>
  29. <group id="main-right">
  30. </group>
  31. </group>
  32. <notebook>
  33. <page string="Contact Info">
  34. <field name="contact_ids">
  35. <tree string="Contacts">
  36. <field name="sequence" widget="handle"/>
  37. <field name="name"/>
  38. <field name="other"/>
  39. <field name="field_domain"/>
  40. <field name="default_value"/>
  41. </tree>
  42. <form>
  43. <field name="name"/>
  44. <group>
  45. <group>
  46. <field name="other"/>
  47. <field name="field_domain"
  48. placeholder="partner_id.name or partner_id.phone"/>
  49. </group>
  50. <group>
  51. <field name="sequence"/>
  52. <field name="default_value"/>
  53. </group>
  54. </group>
  55. </form>
  56. </field>
  57. </page>
  58. <page string="Replies">
  59. <field name="reply_ids">
  60. <tree string="Replies" editable="top">
  61. <field name="name"/>
  62. <field name="reply_field" string="If"/>
  63. <field name="reply_value" string="contains"/>
  64. <field name="action_id" string="Then, execute"/>
  65. </tree>
  66. </field>
  67. </page>
  68. </notebook>
  69. </sheet>
  70. </form>
  71. </field>
  72. </record>
  73. </odoo>