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.

80 lines
3.9 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="mis_report_style_view_tree">
  5. <field name="name">mis.report.style.view.tree</field>
  6. <field name="model">mis.report.style</field>
  7. <field name="arch" type="xml">
  8. <tree string="MIS Report Styles">
  9. <field name="name"/>
  10. </tree>
  11. </field>
  12. </record>
  13. <record id="mis_report_style_view_form" model="ir.ui.view">
  14. <field name="name">mis.report.style.view.form</field>
  15. <field name="model">mis.report.style</field>
  16. <field name="arch" type="xml">
  17. <form string="MIS Report Style" version="7.0">
  18. <sheet>
  19. <group string="Style" col="2">
  20. <field name="name" />
  21. </group>
  22. <group string="Number" col="4">
  23. <field name="dp_inherit" string="Rounding inherit"/>
  24. <field name="dp"
  25. attrs="{'invisible': [('dp_inherit', '=', True)]}"/>
  26. <field name="divider_inherit" string="Factor inherit"/>
  27. <field name="divider"
  28. attrs="{'invisible': [('divider_inherit', '=', True)]}"/>
  29. <field name="prefix_inherit"/>
  30. <field name="prefix"
  31. attrs="{'invisible': [('prefix_inherit', '=', True)]}"/>
  32. <field name="suffix_inherit"/>
  33. <field name="suffix"
  34. attrs="{'invisible': [('suffix_inherit', '=', True)]}"/>
  35. </group>
  36. <group string="Color" col="4">
  37. <field name="color_inherit" />
  38. <field name="color"
  39. attrs="{'invisible': [('color_inherit', '=', True)]}"
  40. widget="color" />
  41. <field name="background_color_inherit" />
  42. <field name="background_color"
  43. attrs="{'invisible': [('background_color_inherit', '=', True)]}"
  44. widget="color" />
  45. </group>
  46. <group string="Font" col="4">
  47. <field name="font_style_inherit" />
  48. <field name="font_style"
  49. attrs="{'invisible': [('font_style_inherit', '=', True)]}" />
  50. <field name="font_weight_inherit" />
  51. <field name="font_weight"
  52. attrs="{'invisible': [('font_weight_inherit', '=', True)]}" />
  53. <field name="font_size_inherit" />
  54. <field name="font_size"
  55. attrs="{'invisible': [('font_size_inherit', '=', True)]}" />
  56. </group>
  57. <group string="Indent" col="4">
  58. <field name="indent_level_inherit" />
  59. <field name="indent_level"
  60. attrs="{'invisible': [('indent_level_inherit', '=', True)]}" />
  61. </group>
  62. </sheet>
  63. </form>
  64. </field>
  65. </record>
  66. <record model="ir.actions.act_window" id="mis_report_style_view_action">
  67. <field name="name">MIS Report Styles</field>
  68. <field name="view_id" ref="mis_report_style_view_tree"/>
  69. <field name="res_model">mis.report.style</field>
  70. <field name="view_type">form</field>
  71. <field name="view_mode">tree,form</field>
  72. </record>
  73. <menuitem id="mis_report_style_view_menu" parent="account.menu_account_reports" name="MIS Report Styles" action="mis_report_style_view_action" sequence="22"/>
  74. </data>
  75. </openerp>