123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?xml version="1.0" encoding="utf-8"?>
- <odoo>
- <data>
- <!-- report.paperformat -->
- <record id="paperformat_view_tree" model="ir.ui.view">
- <field name="name">paper_format_view_tree</field>
- <field name="model">report.paperformat</field>
- <field name="arch" type="xml">
- <tree string="Paper format configuration">
- <field name="name" />
- </tree>
- </field>
- </record>
- <record id="paperformat_view_form" model="ir.ui.view">
- <field name="name">paper_format_view_form</field>
- <field name="model">report.paperformat</field>
- <field name="arch" type="xml">
- <form string="Paper format configuration">
- <sheet>
- <group>
- <field name="name" />
- <field name="format" />
- <field name="page_height" attrs="{'invisible': [('format','!=','custom')]}" />
- <field name="page_width" attrs="{'invisible': [('format','!=','custom')]}" />
- <field name="orientation" />
- <field name="margin_top" />
- <field name="margin_bottom" />
- <field name="margin_left" />
- <field name="margin_right" />
- <field name="header_line" />
- <field name="header_spacing" />
- <field name="disable_shrinking" />
- <field name="dpi" />
- <field name="report_ids" widget="many2many_tags" options="{'not_delete': True}"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record id="paper_format_action" model="ir.actions.act_window">
- <field name="name">Paper Format General Configuration</field>
- <field name="res_model">report.paperformat</field>
- <field name="view_mode">tree,form</field>
- </record>
- <record id='reports_action' model='ir.actions.act_window'>
- <field name="name">Reports</field>
- <field name="res_model">ir.actions.report</field>
- <field name="view_mode">tree,form</field>
- </record>
- <menuitem
- id="reporting_menuitem"
- name="Reporting"
- parent="base.menu_custom"
- sequence="15"
- groups="base.group_no_one"
- />
- <menuitem
- id="paper_format_menuitem"
- name="Paper Format"
- parent="reporting_menuitem"
- action="paper_format_action"
- sequence="2"
- groups="base.group_no_one"
- />
- <menuitem
- id="reports_menuitem"
- name="Reports"
- parent="reporting_menuitem"
- action="reports_action"
- sequence="3"
- groups="base.group_no_one"
- />
- </data>
- </odoo>
|