mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] base_comment_template, invoice_comment_template: Migration to 10.0
Port modules base_comment_template and invoice_comment_template to V10
This commit is contained in:
committed by
Pierre Verkest
parent
0e95b7b6bc
commit
4495bd9e1e
50
base_comment_template/views/comment_view.xml
Normal file
50
base_comment_template/views/comment_view.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="view_base_comment_template_search">
|
||||
<field name="name">base.comment.template.search</field>
|
||||
<field name="model">base.comment.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Comment Templates">
|
||||
<field name="name"/>
|
||||
<field name="position"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_base_comment_template_form">
|
||||
<field name="name">base.comment.template.form</field>
|
||||
<field name="model">base.comment.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Comment Templates">
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="position"/>
|
||||
<field name="text" colspan="4"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_base_comment_template_tree">
|
||||
<field name="name">account.comment.template.list</field>
|
||||
<field name="model">base.comment.template</field>
|
||||
<field name="priority" eval="6"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Comment Templates">
|
||||
<field name="name"/>
|
||||
<field name="position"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_base_comment_template">
|
||||
<field name="name">Comment Templates</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">base.comment.template</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="view_base_comment_template_tree"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user