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.

75 lines
3.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2019 Creu Blanca
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record model="ir.ui.view" id="document_quick_access_rule_form_view">
  6. <field name="name">document.quick.access.rule.form (in document_quick_access)</field>
  7. <field name="model">document.quick.access.rule</field>
  8. <field name="arch" type="xml">
  9. <form>
  10. <header/>
  11. <sheet>
  12. <div class="oe_button_box" name="button_box">
  13. <button name="toggle_active" type="object"
  14. class="oe_stat_button" icon="fa-archive"
  15. modifiers="{}" options="{}">
  16. <field name="active" widget="boolean_button"
  17. options="{'terminology': 'archive'}"
  18. modifiers="{}"/>
  19. </button>
  20. </div>
  21. <h1>
  22. <field name="name"/>
  23. </h1>
  24. <group>
  25. <field name="barcode_format"/>
  26. <field name="model_id"/>
  27. <field name="priority"/>
  28. </group>
  29. </sheet>
  30. </form>
  31. </field>
  32. </record>
  33. <record model="ir.ui.view" id="document_quick_access_rule_search_view">
  34. <field name="name">document.quick.access.rule.search (in document_quick_access)</field>
  35. <field name="model">document.quick.access.rule</field>
  36. <field name="arch" type="xml">
  37. <search>
  38. <field name="name"/>
  39. <field name="model_id"/>
  40. <field name="barcode_format"/>
  41. </search>
  42. </field>
  43. </record>
  44. <record model="ir.ui.view" id="document_quick_access_rule_tree_view">
  45. <field name="name">document.quick.access.rule.tree (in document_quick_access)</field>
  46. <field name="model">document.quick.access.rule</field>
  47. <field name="arch" type="xml">
  48. <tree>
  49. <field name="name"/>
  50. <field name="model_id"/>
  51. <field name="barcode_format"/>
  52. </tree>
  53. </field>
  54. </record>
  55. <record model="ir.actions.act_window" id="document_quick_access_rule_act_window">
  56. <field name="name">Document Quick Access Rule</field>
  57. <field name="res_model">document.quick.access.rule</field>
  58. <field name="view_mode">tree,form</field>
  59. <field name="domain">[]</field>
  60. <field name="context">{}</field>
  61. </record>
  62. <record model="ir.ui.menu" id="document_quick_access_rule_menu">
  63. <field name="name">Document Quick Access Rule</field>
  64. <field name="parent_id" ref="base.next_id_6"/>
  65. <field name="action" ref="document_quick_access_rule_act_window"/>
  66. <field name="sequence" eval="16"/>
  67. </record>
  68. </odoo>