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.

87 lines
3.8 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2016 SYLEAM
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="view_oauth_provider_scope_tree" model="ir.ui.view">
  8. <field name="name">oauth.provider.scope.tree</field>
  9. <field name="model">oauth.provider.scope</field>
  10. <field name="arch" type="xml">
  11. <tree string="OAuth Provider Scopes">
  12. <field name="name"/>
  13. <field name="code"/>
  14. <field name="description"/>
  15. <field name="model_id"/>
  16. </tree>
  17. </field>
  18. </record>
  19. <record id="view_oauth_provider_scope_form" model="ir.ui.view">
  20. <field name="name">oauth.provider.scope.form</field>
  21. <field name="model">oauth.provider.scope</field>
  22. <field name="arch" type="xml">
  23. <form string="OAuth Provider Scopes">
  24. <sheet>
  25. <h1>
  26. <field name="name"/>
  27. </h1>
  28. <group>
  29. <group>
  30. <field name="code"/>
  31. <field name="description"/>
  32. <separator string="Filter settings" colspan="2"/>
  33. <field name="model_id"/>
  34. <field name="filter_id"/>
  35. <field name="model" invisible="1"/>
  36. </group>
  37. <group>
  38. <separator string="Fields" colspan="2"/>
  39. <field name="field_ids" nolabel="1">
  40. <tree string="Fields">
  41. <field name="name"/>
  42. <field name="field_description"/>
  43. <field name="ttype"/>
  44. </tree>
  45. </field>
  46. </group>
  47. </group>
  48. </sheet>
  49. </form>
  50. </field>
  51. </record>
  52. <record id="view_oauth_provider_scope_search" model="ir.ui.view">
  53. <field name="name">oauth.provider.scope.search</field>
  54. <field name="model">oauth.provider.scope</field>
  55. <field name="arch" type="xml">
  56. <search string="OAuth Provider Scopes">
  57. <field name="name"/>
  58. <field name="code"/>
  59. <field name="description"/>
  60. <field name="model_id"/>
  61. </search>
  62. </field>
  63. </record>
  64. <record model="ir.actions.act_window" id="act_open_oauth_provider_scope_view">
  65. <field name="name">OAuth Provider Scopes</field>
  66. <field name="type">ir.actions.act_window</field>
  67. <field name="res_model">oauth.provider.scope</field>
  68. <field name="view_type">form</field>
  69. <field name="view_mode">tree,form</field>
  70. <field name="search_view_id" ref="view_oauth_provider_scope_search"/>
  71. <field name="domain">[]</field>
  72. <field name="context">{}</field>
  73. </record>
  74. <record model="ir.actions.act_window.view" id="act_open_oauth_provider_scope_view_form">
  75. <field name="act_window_id" ref="act_open_oauth_provider_scope_view"/>
  76. <field name="sequence" eval="20"/>
  77. <field name="view_mode">form</field>
  78. <field name="view_id" ref="view_oauth_provider_scope_form"/>
  79. </record>
  80. <record model="ir.actions.act_window.view" id="act_open_oauth_provider_scope_view_tree">
  81. <field name="act_window_id" ref="act_open_oauth_provider_scope_view"/>
  82. <field name="sequence" eval="10"/>
  83. <field name="view_mode">tree</field>
  84. <field name="view_id" ref="view_oauth_provider_scope_tree"/>
  85. </record>
  86. <menuitem id="menu_oauth_provider_scope" parent="base.menu_users" sequence="40" action="act_open_oauth_provider_scope_view"/>
  87. </odoo>