analyse_setting.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <openerp>
  2. <data>
  3. <record model="ir.ui.view" id="archives_analyse_setting_list">
  4. <field name="name">分析设置列表</field>
  5. <field name="model">archives.analyse_setting</field>
  6. <field name="arch" type="xml">
  7. <tree>
  8. <field name="user_id" options="{'no_open':True,'no_create':True}"/>
  9. <field name="model" options="{'no_open':True,'no_create':True}"/>
  10. <field name="model_id" options="{'no_open':True,'no_create':True}"/>
  11. <field name="table" options="{'no_open':True,'no_create':True}"/>
  12. <field name="table_name" options="{'no_open':True,'no_create':True}"/>
  13. <field name="lock_column_count" options="{'no_open':True,'no_create':True}"/>
  14. <field name="count_per_page" options="{'no_open':True,'no_create':True}"/>
  15. <field name="company_id" options="{'no_open':True,'no_create':True}"/>
  16. <field name="flag" options="{'no_open':True,'no_create':True}"/>
  17. </tree>
  18. </field>
  19. </record>
  20. <record model="ir.ui.view" id="archives_analyse_setting_edit">
  21. <field name="name">分析设置新建</field>
  22. <field name="model">archives.analyse_setting</field>
  23. <field name="arch" type="xml">
  24. <form>
  25. <sheet>
  26. <notebook>
  27. <page string="分析设置明细">
  28. <field name="condition_detail" mode="tree, kanban">
  29. <form string="分析设置明细">
  30. </form>
  31. <tree string="分析设置明细" editable="bottom">
  32. <field name="field" options="{'no_open':True,'no_create':True}"/>
  33. <field name="show_name" options="{'no_open':True,'no_create':True}"/>
  34. <field name="new_show_name" options="{'no_open':True,'no_create':True}"/>
  35. <field name="sequence" options="{'no_open':True,'no_create':True}"/>
  36. <field name="remark" options="{'no_open':True,'no_create':True}"/>
  37. </tree>
  38. </field>
  39. </page>
  40. <page string="分析设置显示明细">
  41. <field name="show_field_detail" mode="tree, kanban">
  42. <form string="分析设置明细">
  43. </form>
  44. <tree string="分析设置明细" editable="bottom">
  45. <field name="field" options="{'no_open':True,'no_create':True}"/>
  46. <field name="show_name" options="{'no_open':True,'no_create':True}"/>
  47. <field name="new_show_name" options="{'no_open':True,'no_create':True}"/>
  48. <field name="sequence" options="{'no_open':True,'no_create':True}"/>
  49. <field name="is_sum" options="{'no_open':True,'no_create':True}"/>
  50. <field name="is_number" options="{'no_open':True,'no_create':True}"/>
  51. <field name="upper_limit" options="{'no_open':True,'no_create':True}"/>
  52. <field name="upper_characters_color"
  53. options="{'no_open':True,'no_create':True}"/>
  54. <field name="upper_background_color"
  55. options="{'no_open':True,'no_create':True}"/>
  56. <field name="lower_limit" options="{'no_open':True,'no_create':True}"/>
  57. <field name="lower_characters_color"
  58. options="{'no_open':True,'no_create':True}"/>
  59. <field name="lower_background_color"
  60. options="{'no_open':True,'no_create':True}"/>
  61. <field name="width" options="{'no_open':True,'no_create':True}"/>
  62. <field name="asc_desc" options="{'no_open':True,'no_create':True}"/>
  63. <field name="is_average" options="{'no_open':True,'no_create':True}"/>
  64. <field name="dividend" options="{'no_open':True,'no_create':True}"/>
  65. <field name="divisor" options="{'no_open':True,'no_create':True}"/>
  66. <field name="is_compute" options="{'no_open':True,'no_create':True}"/>
  67. <field name="is_compute_exp" options="{'no_open':True,'no_create':True}"/>
  68. <field name="digit_capacity" options="{'no_open':True,'no_create':True}"/>
  69. </tree>
  70. </field>
  71. </page>
  72. <page string="预定义查询">
  73. <field name="pre_query_detail" mode="tree, kanban">
  74. <form>
  75. <notebook>
  76. <page string="条件">
  77. <field name="pre_query_condition_detail" mode="tree">
  78. <tree editable="bottom" edit="1">
  79. <field name="field"
  80. options="{'no_open':True,'no_create':True}"/>
  81. <field name="value"
  82. options="{'no_open':True,'no_create':True}"/>
  83. </tree>
  84. </field>
  85. </page>
  86. <page string="字段">
  87. <field name="pre_query_show_field_detail" mode="tree">
  88. <tree editable="bottom">
  89. <field name="field"
  90. options="{'no_open':True,'no_create':True}"/>
  91. </tree>
  92. </field>
  93. </page>
  94. </notebook>
  95. </form>
  96. <tree string="分析设置明细">
  97. <field name="name" options="{'no_open':True,'no_create':True}"/>
  98. <field name="sequence" options="{'no_open':True,'no_create':True}"/>
  99. </tree>
  100. </field>
  101. </page>
  102. </notebook>
  103. </sheet>
  104. </form>
  105. </field>
  106. </record>
  107. <record model="ir.actions.act_window" id="archives_analyse_setting_action_window">
  108. <field name="name">分析设置</field>
  109. <field name="res_model">archives.analyse_setting</field>
  110. <field name="view_mode">tree,form</field>
  111. </record>
  112. <menuitem name="分析设置" id="archives.menu_analyse_setting1" parent="archives.menu_system"
  113. action="archives.archives_analyse_setting_action_window" sequence="1"
  114. groups="archives.group_admin_user_function_setting"/>
  115. </data>
  116. </openerp>