mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Take into accounts most remarks of @lasley
Remove <data> in views Protect import of py3o libs Remove dep on base module Other small changes
This commit is contained in:
committed by
Elmeri Niemelä
parent
46f901bbb0
commit
c3f8e1cd69
@@ -1,54 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<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 Configuration">
|
||||
<field name="name" />
|
||||
<field name="filetype" />
|
||||
<group string="Group By" name="groupby">
|
||||
<filter name="filetype_groupby" string="File Type"
|
||||
|
||||
<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>
|
||||
</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 Configuration">
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="filetype" />
|
||||
<field name="py3o_template_data" />
|
||||
</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 Configuration">
|
||||
<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" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<field name="py3o_template_data" />
|
||||
</group>
|
||||
</form>
|
||||
</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>
|
||||
<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" />
|
||||
|
||||
<menuitem id="py3o_template_configuration_menu"
|
||||
parent="py3o_config_menu"
|
||||
action="py3o_template_configuration_action" />
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user