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.

58 lines
2.2 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. <field name="color"/>
  11. <field name="background_color"/>
  12. <field name="font_style"/>
  13. <field name="font_weight"/>
  14. <field name="font_size"/>
  15. <field name="indent_level"/>
  16. </tree>
  17. </field>
  18. </record>
  19. <record id="mis_report_style_view_form" model="ir.ui.view">
  20. <field name="name">mis.report.style.view.form</field>
  21. <field name="model">mis.report.style</field>
  22. <field name="arch" type="xml">
  23. <form string="MIS Report Style" version="7.0">
  24. <sheet>
  25. <group string="Style" col="2">
  26. <field name="name" />
  27. </group>
  28. <group string="Color" col="2">
  29. <field name="color" />
  30. <field name="background_color" />
  31. </group>
  32. <group string="Font" col="2">
  33. <field name="font_style" />
  34. <field name="font_weight" />
  35. <field name="font_size" />
  36. </group>
  37. <group string="Indent">
  38. <field name="indent_level" />
  39. </group>
  40. </sheet>
  41. </form>
  42. </field>
  43. </record>
  44. <record model="ir.actions.act_window" id="mis_report_style_view_action">
  45. <field name="name">MIS Report Styles</field>
  46. <field name="view_id" ref="mis_report_style_view_tree"/>
  47. <field name="res_model">mis.report.style</field>
  48. <field name="view_type">form</field>
  49. <field name="view_mode">tree,form</field>
  50. </record>
  51. <menuitem id="mis_report_style_view_menu" parent="account.menu_account_reports" name="MIS Report Styles" action="mis_report_style_view_action" sequence="22"/>
  52. </data>
  53. </openerp>