mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-11-22 22:22:05 +00:00
54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<flectra>
|
||
|
<record id="py3o_template_configuration_search_view" model="ir.ui.view">
|
||
|
<field name="name">py3o.template.configuration.search.view</field>
|
||
|
<field name="model">py3o.template</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<search string="Py3o Templates">
|
||
|
<field name="name" />
|
||
|
<field name="filetype" />
|
||
|
<group string="Group By" name="groupby">
|
||
|
<filter
|
||
|
name="filetype_groupby"
|
||
|
string="File Type"
|
||
|
context="{'group_by': 'filetype'}"
|
||
|
/>
|
||
|
</group>
|
||
|
</search>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="py3o_template_configuration_form_view" model="ir.ui.view">
|
||
|
<field name="name">py3o.template.configuration.form.view</field>
|
||
|
<field name="model">py3o.template</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Py3o Templates">
|
||
|
<group name="main">
|
||
|
<field name="name" />
|
||
|
<field name="filetype" />
|
||
|
<field name="py3o_template_data" filename="name" />
|
||
|
</group>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="py3o_template_configuration_tree_view" model="ir.ui.view">
|
||
|
<field name="name">py3o.template.configuration.tree.view</field>
|
||
|
<field name="model">py3o.template</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree string="Py3o Templates">
|
||
|
<field name="name" />
|
||
|
<field name="filetype" />
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="py3o_template_configuration_action" model="ir.actions.act_window">
|
||
|
<field name="name">Py3o Templates</field>
|
||
|
<field name="res_model">py3o.template</field>
|
||
|
<field name="view_mode">tree,form</field>
|
||
|
</record>
|
||
|
<menuitem
|
||
|
id="py3o_template_configuration_menu"
|
||
|
parent="py3o_config_menu"
|
||
|
action="py3o_template_configuration_action"
|
||
|
/>
|
||
|
</flectra>
|